Source: infnoise
Version: 0.2.6+dfsg-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
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
`. `'` [email protected] / chris-lamb.co.uk
`-
--- 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: