Bug#846365: debrepro: warn about faketime and allow alternative values

Ximin Luo infinity0 at debian.org
Thu Dec 8 23:02:00 UTC 2016


Ximin Luo:
> 
> Thank you! The behaviour specifically for glibc_2.24-5 is like this:
> 
> make[2]: Warning: File 'o-iterator.mk' has modification time 18411205 s in the future
> running CONFIG_SHELL=/bin/bash /bin/bash /tmp/debrepro.afKzxbwOYw/build/source/configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --enable-add-ons=libidn, --without-selinux --enable-stackguard-randomization --enable-obsolete-rpc --with-pkgversio
> n=Debian GLIBC 2.24-5.1 --with-bugurl=http://www.debian.org/Bugs/ --with-headers=/tmp/debrepro.afKzxbwOYw/build/source/debian/include --enable-kernel=2.6.32 --with-selinux --enable-multi-arch --enable-lock-elision build_alias=x86_64-linux-gnu host_alias=x86_64-linux-
> gnu CC=x86_64-linux-gnu-gcc-6 CPPFLAGS=-isystem /tmp/debrepro.afKzxbwOYw/build/source/debian/include CXX=: --no-create --no-recursion
> 
> [... runs some tests ...]
> 
> make[2]: Warning: File 'o-iterator.mk' has modification time 18411180 s in the future
> running CONFIG_SHELL=/bin/bash /bin/bash /tmp/debrepro.afKzxbwOYw/build/source/configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --enable-add-ons=libidn, --without-selinux --enable-stackguard-randomization --enable-obsolete-rpc --with-pkgversio
> n=Debian GLIBC 2.24-5.1 --with-bugurl=http://www.debian.org/Bugs/ --with-headers=/tmp/debrepro.afKzxbwOYw/build/source/debian/include --enable-kernel=2.6.32 --with-selinux --enable-multi-arch --enable-lock-elision build_alias=x86_64-linux-gnu host_alias=x86_64-linux-
> gnu CC=x86_64-linux-gnu-gcc-6 CPPFLAGS=-isystem /tmp/debrepro.afKzxbwOYw/build/source/debian/include CXX=: --no-create --no-recursion
> 
> [... runs the same tests again ...]
> 
> [... etc ...]
> 
> It would probably be theoretically possible to reduce this to a minimal test case, but based on previous things I was told about make, I'm not sure if it's worth the effort. You might also try increasing the timestamps of all the source files in the second build by the same amount, but again I'm not sure it's worth the effort.
> 

BTW, I just found out that faketime also intercepts and fakes stat(2) calls by default. This is not documented in the manpage, only in README.gz. That might explain the errors above. You can set NO_FAKE_STAT=1 to leave out this behaviour. I think when we're systematically varying different things, we want to do this. I have done this for reprotest, in the git repo.

I will also test this to see if it fixes the glibc build issue that I described, and report back with more details.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the devscripts-devel mailing list