Source: golang-github-kshedden-statmodel
Version: 0.0~git20210519.ee97d3e-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-kshedden-statmodel 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 a glm.log and glm_test.log file that was being installed
into the binary .deb.

Patch attached that uses DH_GOLANG_EXCLUDES to ensure they are not
shipped.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-19 12:44:00.315592425 -0800
--- b/debian/rules      2025-11-19 12:47:12.470214439 -0800
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 # Skip building and installing the examples
-export DH_GOLANG_EXCLUDES := examples
+export DH_GOLANG_EXCLUDES := examples glm.log glm_test.log
 
 %:
        dh $@ --builddirectory=_build --buildsystem=golang

Reply via email to