Bug#1122817: golang-github-kshedden-dstream: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Dec 12 20:05:18 GMT 2025


Source: golang-github-kshedden-dstream
Version: 0.0~git20190512.c4c4106-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-kshedden-dstream could not be built reproducibly.

This is because the testsuite does not clean up a number of files it
generates, so that if the tests are skipped (via nocheck), then the
binary package will differ.

A patch is attached that removes these files.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-12 11:51:26.193459695 -0800
--- b/debian/rules	2025-12-12 12:01:50.838469888 -0800
@@ -2,3 +2,6 @@
 
 %:
 	dh $@ --builddirectory=_build --buildsystem=golang
+
+execute_after_dh_auto_test:
+	rm -rfv _build/src/github.com/kshedden/dstream/dstream/testdata/tobcols


More information about the Reproducible-bugs mailing list