Bug#1141505: golang-github-tidwall-wal: please make the build reproducible

Chris Lamb lamby at debian.org
Sun Jul 5 17:09:49 BST 2026


Source: golang-github-tidwall-wal
Version: 1.2.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-tidwall-wal could not be built reproducibly.

This is because the testsuite generates some logging files that end up
in the binary package. This means that if the tests are skipped, the
package won't contain them, and will therefore be unreproducible.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-07-05 08:24:23.642901046 -0700
--- b/debian/rules	2026-07-05 08:27:45.344691098 -0700
@@ -2,3 +2,6 @@
 
 %:
 	dh $@ --builddirectory=debian/_build --buildsystem=golang
+
+execute_after_dh_auto_test:
+	find debian/_build -type d -name log -print0 | xargs -0r rm -rfv


More information about the Reproducible-bugs mailing list