Bug#1145914: golang-github-adamkorcz-go-fuzz-headers-1: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Aug 27 19:57:11 BST 2026


Source: golang-github-adamkorcz-go-fuzz-headers-1
Version: 0.0~git20230919.8b5d3ce-3
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-adamkorcz-go-fuzz-headers-1 could not be built reproducibly.

This is because the testsuite does not 100% clean up after itself, leaving
a "seed1" file that gets installed to the binary package. This means that
if the tests are skipped, then the package will differ as this file will
not be generated.

Patch attached that simply deletes this file after running the tests. I
think it also could be excluded via:

  export DH_GOLANG_EXCLUDES := /seed1


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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-08-27 10:51:55.402207832 -0700
--- b/debian/rules	2026-08-27 11:54:30.623071689 -0700
@@ -7,3 +7,4 @@
 override_dh_auto_test:
 	-dh_auto_test $(DH_BUILD_OPTS) -- -run=$(SKIP)
 	dh_auto_test $(DH_BUILD_OPTS) -- -skip=$(SKIP)
+	rm -f _build/src/github.com/AdamKorcz/go-fuzz-headers-1/seed1


More information about the Reproducible-bugs mailing list