Source: vt
Version: 0.57721+ds-3
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
vt could not be built reproducibly.

This was because it ships a different binary package depending
on whether the tests are run or not. Specifically, the testsuite
bumped the modification time for the test/decompose directory
and that change is reflected in the .deb.

A patch is attached that always sets the mtime for this directory to
the value of SOURCE_DATE_EPOCH.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-19 12:31:22.101832164 -0800
--- b/debian/rules      2025-11-19 12:39:03.138752765 -0800
@@ -6,3 +6,6 @@
 
 %:
        dh $@
+
+execute_before_dh_install:
+       touch -d@$(SOURCE_DATE_EPOCH) test/decompose/

Reply via email to