Bug#1123004: golang-github-linkedin-goavro: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Dec 15 19:16:16 GMT 2025


Source: golang-github-linkedin-goavro
Version: 2.10.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
golang-github-linkedin-goavro could not be built reproducibly.

This is because the override_dh_auto_test target copied a number of
fictures but did not remove them afterwards and they ended up in the
binary package. This meant, therefore, that if the tests were skipped
(ie. via "nocheck") then the package would be differ as it would be
missing thes efiles.

Patch attached that removes these files after running the tests. If,
however, the package needs these files, then the packaging will need
some rejigging.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-15 10:27:43.890585372 -0800
--- b/debian/rules	2025-12-15 10:34:34.056585769 -0800
@@ -6,6 +6,7 @@
 override_dh_auto_test:
 	cp -a fixtures obj*/src/github.com/linkedin/goavro/
 	dh_auto_test -O--buildsystem=golang
+	rm -rf obj*/src/github.com/linkedin/goavro/fixtures
 
 override_dh_auto_install:
 	dh_auto_install -O--buildsystem=golang


More information about the Reproducible-bugs mailing list