[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rebuilds with unexpected timestamps



On Sun, Oct 30, 2016 at 04:02:48PM +0000, Ian Jackson wrote:
>...
> Most of our packages use `make' or something like it.  make relies on
> timestamps to decide what to rebuild.  It seems that sometimes our
> source packages contain combinations of timestamps (and perhaps stamp
> files) which, in practice, exempt certain parts of the build from
> taking place (if one just does "apt-get source" and then
> "dpkg-buildpackage -uc -b").
>...
> What do people think ?
>...

Debian uses upstream tarballs, upstream tarballs often contain files 
generated based on the contents of the upstream VCS.

The "hello" package still builds after you autoreconf the package,
but the program no longer knows what version it is (automake tries to 
run build-aux/git-version-gen which is not in the source tarball).

"you autoreconf the package" means that you actually call "autoreconf".
"touch configure.ac" breaks the build of the hello package due to 
missing aclocal-1.14

Be prepared to see a lot of such issues when you touch random files.

If you want this to work properly, Debian has to move from using the 
generated release tarballs to the actual source in the upstream VCS.

> Ian.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


Reply to: