Bug#1122822: golang-github-dreamitgetit-statuscake: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Dec 12 20:12:11 GMT 2025


Source: golang-github-dreamitgetit-statuscake
Version: 0.0~git20220607.de57c59-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
golang-github-dreamitgetit-statuscake could not be built reproducibly.

This because the packaging moves the fixtures directory into place for
the tests, but does not remove it afterwards and it ends up being
shipped in the binary package. This means that if the tests are
skipped (via nocheck), then the package will not contain those files.

Patch attached that removes fixtures/ after running the tests.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-12 11:51:43.479909366 -0800
--- b/debian/rules	2025-12-12 11:55:44.646858381 -0800
@@ -7,6 +7,7 @@
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	-cp -a fixtures obj-$(DEB_BUILD_GNU_TYPE)/src/github.com/dreamitgetit/statuscake
 	dh_auto_test
+	rm -rf obj-$(DEB_BUILD_GNU_TYPE)/src/github.com/dreamitgetit/statuscake/fixtures
 endif
 
 


More information about the Reproducible-bugs mailing list