Bug#1017920: sysfsutils: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Aug 22 15:52:46 BST 2022
Source: sysfsutils
Version: 2.1.1-2
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
sysfsutils could not be built reproducibly.
This is because the call to date(1) was missing the -u/--utc flag,
so that the manpage date based on the value of SOURCE_DATE_EPOCH
would vary depending on the host system's timezone setting.
Patch attached that appends -u to the pod2man call.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2022-08-22 07:40:30.822003445 -0700
--- b/debian/rules 2022-08-22 07:41:10.313858857 -0700
@@ -11,7 +11,7 @@
--section=5 \
--center=sysfsutils \
--name=$(basename $(notdir $<)) \
- --date=$(shell date -d @$(SOURCE_DATE_EPOCH) -I) \
+ --date=$(shell date -u -d @$(SOURCE_DATE_EPOCH) -I) \
--release=$(DEB_VERSION) \
$< >$@
More information about the Reproducible-bugs
mailing list