Bug#1123002: graudit: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Dec 15 19:13:35 GMT 2025
Source: graudit
Version: 3.9-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
graudit could not be built reproducibly.
This is because the testsuite updated the modification times of a
number of .db files in the package, meaning that if the tests are
skipped (ie. via "nocheck"), then the package will differ in
this metadata.
A patch is attached that sets the mtime of these files to a
deterministic value regardless of whether the tests are run or not.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-12-15 10:26:34.725255854 -0800
--- b/debian/rules 2025-12-15 10:41:18.169484062 -0800
@@ -9,3 +9,4 @@
override_dh_auto_install:
@echo skip
+ touch -d "@$(SOURCE_DATE_EPOCH)" signatures/*.db
More information about the Reproducible-bugs
mailing list