[Reproducible-builds] Bug#831405: xserver-xorg-video-openchrome: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Jul 15 16:27:13 UTC 2016
Source: xserver-xorg-video-openchrome
Version: 1:0.3.3+git20160310-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Hi,
Whilst working on the "reproducible builds" effort [0], we noticed
that xserver-xorg-video-openchrome could not be built reproducibly.
Patch attached. Please send it upstream if possible.
[0] https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/src/Makefile.am 2016-07-15 17:56:15.066700891 +0200
--- b/src/Makefile.am 2016-07-15 18:22:08.362042386 +0200
@@ -113,6 +113,9 @@
if [ -d .svn ]; then \
echo '#define BUILDCOMMENT "(development build, at revision '\
"`svnversion -nc .. | sed -e s/^[^:]*://`"')"' > $@.tmp; \
+ elif [ "$$SOURCE_DATE_EPOCH" ]; then \
+ printf '#define BUILDCOMMENT "(compiled with SOURCE_DATE_EPOCH: %s)"' $$SOURCE_DATE_EPOCH \
+ > $@.tmp; \
else \
date +'#define BUILDCOMMENT "(development build, compiled on %c)"' \
> $@.tmp; \
More information about the Reproducible-builds
mailing list