Bug#932302: calendar: please make the build reproducible
Source: calendar
Version: 2.04-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed
that calendar could not be built reproducibly.
Whilst you do accommodate SOURCE_DATE_EPOCH [1], unfortunately your
call to date(1) is currently missing the switch to make it timezone
agnostic, thus it can vary depending on "where" you build it from.
Patch attached.
[0] https://reproducible-builds.org/
[1] https://reproducible-builds.org/docs/source-date-epoch/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
--- a/debian/rules 2019-07-17 09:50:20.599066174 -0300
--- b/debian/rules 2019-07-17 10:01:13.302028995 -0300
@@ -17,7 +17,7 @@
./configure
override_dh_auto_build:
- make BUILD_DATE="$(shell date -R -d @$(SOURCE_DATE_EPOCH))"
+ make BUILD_DATE="$(shell date -u -R -d @$(SOURCE_DATE_EPOCH))"
override_dh_auto_install:
mkdir -p $(OCAMLFIND_DESTDIR)
Reply to: