Source: entropybroker
Version: 2.9-9
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
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
`. `'` [email protected] / chris-lamb.co.uk
`-
--- 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