#1135692 - dkimpy: please make the build reproducible (original) (raw)
Debian Bug report logs - #1135692
dkimpy: please make the build reproducible
Reply or subscribe to this bug.
Display info messages
Report forwardedto debian-bugs-dist@lists.debian.org, Debian Python Team <team+python@tracker.debian.org> (src:dkimpy for {1135692}), reproducible-bugs@lists.alioth.debian.org (additional cc recipient for {1135692}):Bug#1135692; Package src:dkimpy. (Mon, 04 May 2026 17:29:02 GMT) (full text, mbox, link).
Acknowledgement sentto "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, team+python@tracker.debian.org. (Mon, 04 May 2026 17:29:02 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: dkimpy Version: 1.1.8-2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: nocheck X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that dkimpy could not be built reproducibly.
This is because the testsuite bumps the modification time of the /dkim/tests/ directory to the current time (which later gets clamped back to SOURCE_DATE_EPOCH), so if the tests are skipped via nocheck, then this directory will retain its original, upstream timestamp.
Instead of saving upstream's original timestamp and restoring that later, I've attached a patch to always set the mtime of this directory to SOURCE_DATE_EPOCH regardless of whether the tests are run or not.
[0] https://reproducible-builds.org/
Regards,
--
,''. : :' : Chris Lamb . ' lamby@debian.org / chris-lamb.co.uk
`-
[dkimpy.diff.txt (text/plain, attachment)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified:Thu Jun 18 10:12:28 2026; Machine Name:buxtehude
Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.