Bug#1120531: trillian: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Nov 11 18:46:55 GMT 2025


Source: trillian
Version: 1.6.1-1
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
trillian could not be built reproducibly.

This is because it ships different contents depending on whether
'nocheck' is specified. This in turn was caused by deleting files
within dh_auto_test, which we instead need to do in a target that
is always called.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-11-11 10:16:35.543257301 -0800
--- b/debian/rules	2025-11-11 10:44:14.364029454 -0800
@@ -30,5 +30,7 @@
 # --- FAIL: TestMySQLWarning (0.00s)
 # FAIL
 # FAIL	github.com/google/trillian/storage/testdb	0.009s
-	rm -fv _build/src/github.com/google/trillian/storage/testdb/testdb_test.go
 	: dh_auto_test $(DH_BUILD_OPTS)
+
+execute_before_dh_auto_install:
+	rm -fv _build/src/github.com/google/trillian/storage/testdb/testdb_test.go


More information about the Reproducible-bugs mailing list