Bug#1121804: fff: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Dec 2 22:34:44 GMT 2025


Source: fff
Version: 1.1-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
fff could not be built reproducibly.

This is because "buildandtest" bumps the mtime of fff.h. A patch is
attached that resets the mtime to a determinstic value (and does so
regardless of whether the tests are run).

 [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:23:02.006005014 -0800
--- b/debian/rules	2025-12-02 11:25:33.716373734 -0800
@@ -5,3 +5,7 @@
 
 override_dh_auto_test:
 	./buildandtest
+
+execute_before_dh_auto_install:
+	# buildandtest bumps mtime; set to fixed value
+	touch -d@$(SOURCE_DATE_EPOCH) fff.h


More information about the Reproducible-bugs mailing list