Bug#909568: infnoise: please make the build reproducible
Chris Lamb
lamby at debian.org
Tue Sep 25 12:38:18 BST 2018
Source: infnoise
Version: 0.2.6+dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that infnoise could not be built reproducibly.
Whilst you do set GIT_DATE using SOURCE_DATE_EPOCH, you forgot to pass
--utc to date(1) so it varies on the build timezone.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2018-09-25 12:33:21.570039395 +0100
--- b/debian/rules 2018-09-25 12:36:53.775372736 +0100
@@ -13,7 +13,7 @@
dh_auto_clean -Dsoftware/tools
override_dh_auto_build:
- dh_auto_build -Dsoftware -- CFLAGS="$(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -IKeccak -DGIT_VERSION=\\\"$(DEB_VERSION_UPSTREAM)\\\" -DGIT_COMMIT=\\\"Debian\\\" -DGIT_DATE=\\\"$(shell date +%FT%T%:z -d @$(SOURCE_DATE_EPOCH))\\\""
+ dh_auto_build -Dsoftware -- CFLAGS="$(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -IKeccak -DGIT_VERSION=\\\"$(DEB_VERSION_UPSTREAM)\\\" -DGIT_COMMIT=\\\"Debian\\\" -DGIT_DATE=\\\"$(shell date --utc +%FT%T%:z -d @$(SOURCE_DATE_EPOCH))\\\""
dh_auto_build -Dsoftware/tools -- CFLAGS="$(CPPFLAGS) $(CFLAGS) $(LDFLAGS)"
override_dh_auto_configure:
More information about the Reproducible-bugs
mailing list