Bug#1136297: pycayennelpp: please make the build reproducible
"Chris Lamb" <[email protected]>
| Newsgroups | gmane.linux.debian.devel.ham |
|---|---|
| Message-ID | <177851748744.2105.5025281113064149551__28298.7492902734$1778517583$gmane$org@03db13f40270> |
Source: pycayennelpp Version: 2.4.0-3 Severity: wishlist Tags: patch User: [email protected] Usertags: timestamps X-Debbugs-Cc: [email protected] Hi, Whilst working on the Reproducible Builds effort [0], we noticed that pycayennelpp could not be built reproducibly. This is because the testsuite bumps the modification time of the 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,