[pkg-lua-devel] Bug#1121802: lua-penlight: please make the build reproducible
Chris Lamb
lamby at debian.org
Tue Dec 2 22:33:28 GMT 2025
Source: lua-penlight
Version: 1.14.0-2
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
lua-penlight could not be built reproducibly.
This is because running the tests curiously bumps the mtime of the
testclone.lua file. A patch is attached that resets the mtime of
this file to a deterministic value (and does so 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-02 11:35:05.941211122 -0800
--- b/debian/rules 2025-12-02 11:43:30.837811424 -0800
@@ -2,3 +2,7 @@
%:
dh $@ --buildsystem=lua --with lua
+
+execute_before_dh_auto_install:
+ # Running the tests bumps the mtime of testclone.lua
+ touch -d@$(SOURCE_DATE_EPOCH) examples/testclone.lua
More information about the pkg-lua-devel
mailing list