Source: tkgate
Version: 2.1+repack-8
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
tkgate could not be built reproducibly.

This is because it ships a different binary package depending on
whether the testsuite is run or not.

Specifically, running the tests bumps the modification time of the
test/tkgate directory (as files are created inside), and so the binary
package has different directory metadata depending on whether the tests
are run or not.

A patch is attached that will set the mtime of this directory to the
value of SOURCE_DATE_EPOCH regardless of whether the tests are run or
not.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-17 10:29:33.646433826 -0800
--- b/debian/rules      2025-11-17 11:15:48.388865759 -0800
@@ -23,3 +23,5 @@
        cd test/ && sh runtests.sh
        find test/ -name *.out | xargs rm -f
 
+execute_before_dh_auto_install:
+       touch -d@$(SOURCE_DATE_EPOCH) test/tkgate

Reply via email to