[pkg-go] Bug#1123005: golang-github-cznic-ql: please make the build reproducible

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


Source: golang-github-cznic-ql
Version: 1.0.6-2
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-cznic-ql could not be built reproducibly.

This is because the testsuite generated a testdata.log file that 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 that file.

Patch attached that removes this file after running the tests.s

 [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:32.565975720 -0800
--- b/debian/rules	2025-12-15 10:37:35.604950537 -0800
@@ -8,6 +8,7 @@
 
 override_dh_auto_test:
 	-dh_auto_test
+	rm -vf _build/src/github.com/cznic/ql/testdata.log
 
 override_dh_auto_install:
 	dh_auto_install --destdir=debian/tmp


More information about the Pkg-go-maintainers mailing list