Source: golang-github-linkedin-goavro
Version: 2.10.1-1
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
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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to