Comment 2 for bug 13458

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 3 Mar 2005 00:15:06 +0100
From: Kurt Roeckx <email address hidden>
To: <email address hidden>
Subject: Re: emacs21: FTBFS: timestamp skew issues.

Package: emacs21
Version: 21.3+1-9
Severity: serious

Hi,

Your package is failing to build on a few arches because of
timestamp skew issues.

An extract from the buildd logs:
applying patch remote-files-permissions to ./ ... ok.
applying patch fix-x-vs-no-x-diffs to ./ ... ok.
dpatch cat-all >>patch-stampT
mv -f patch-stampT patch-stamp
make[1]: Leaving directory `/build/buildd/emacs21-21.3+1'
mkdir debian/autodiff-old
cp -a `ls | grep -vE 'debian|{arch}'` debian/autodiff-old
cp -a debian/autodiff-old debian/autodiff-new
# rm aclocal.m4 so it doesn't confuse newer autoconfs, but touch it
# so ./Makefile won't be upset if it's not recreated (b/c not needed).
cd debian/autodiff-new && rm -f aclocal.m4 && touch aclocal.m4
cd debian/autodiff-new && aclocal
/bin/bash: aclocal: command not found
make: *** [debian/autofiles.diff] Error 127

The problem is this line in your rules file:
debian/autofiles.diff: debian/patches/*.dpatch
        ${update_debian_autofiles_diff}

This causes timestamp skew issues because the
debian/autofiles.diff file is in the
emacs21_21.3+1-9.diff.gz before the debian/patches/*
so it thinks it needs to rebuild those.

In the emacs21_21.3+1-8.diff.gz file the order of the
files was different so it did not show that problem.

Kurt