Bug#1121077: entropybroker: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Nov 20 15:07:00 GMT 2025


Source: entropybroker
Version: 2.9-9
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
entropybroker 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
generates an err.txt file that ends up in the binary .deb (and,
contrariwise, does not end up in the .deb if nocheck is specified).

Patch attached that removes this file in execute_dh_auto_test
but there are other solutions that you may prefer.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-11-19 13:10:17.003100062 -0800
--- b/debian/rules	2025-11-19 13:21:44.546653166 -0800
@@ -20,3 +20,6 @@
 	dh_installinit --no-start --noscripts
 #deprecated	dh_systemd_start --no-start
 #deprecated#	dh_systemd_start --no-restart-on-upgrade
+
+execute_after_dh_auto_test:
+	rm -rf err.txt


More information about the Reproducible-bugs mailing list