Bug#1121862: goobook: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Dec 3 19:59:09 GMT 2025
Source: goobook
Version: 3.5.3-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
goobook could not be built reproducibly.
This is because the call to modify the mtime of the README.txt file
could be overwritten by the general 'clamping' of timestamps to the
"maximum" of SOURCE_DATE_EPOCH.
A patch is attached that uses the value of SOURCE_DATE_EPOCH instead
of the "2025-09-14 10:00:00" value.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-12-03 11:43:30.284046545 -0800
--- b/debian/rules 2025-12-03 11:56:20.610957171 -0800
@@ -27,4 +27,4 @@
override_dh_installdocs:
dh_installdocs
# Modify the timestamp of README.rst file, since it's too far in the past
- touch -d "2025-09-14 10:00:00" debian/goobook/usr/share/doc/goobook/README.rst
+ touch -d "@$(SOURCE_DATE_EPOCH)" debian/goobook/usr/share/doc/goobook/README.rst
More information about the Reproducible-bugs
mailing list