[Debian-med-packaging] Bug#1121068: vt: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Nov 20 14:49:10 GMT 2025


Source: vt
Version: 0.57721+ds-3
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
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
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- 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/


More information about the Debian-med-packaging mailing list