Bug#1123006: golang-github-muesli-termenv: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Dec 15 19:18:41 GMT 2025


Source: golang-github-muesli-termenv
Version: 0.15.2-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-muesli-termenv could not be built reproducibly.

This is because a testdata/ directory was deleted in the execute_after_dh_auto_test
target so it did not end up in the binary package. But if the tests
are skipped this resulted in this directory *not* being deleted, and
would therefore be shipped after all.

Patch attached that moves this removal to the execute_before_dh_auto_install
target, which is run regardless of the presence of nocheck.

 [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:21.463425102 -0800
--- b/debian/rules	2025-12-15 10:33:43.954952184 -0800
@@ -11,5 +11,5 @@
 	mkdir -p _build/src/github.com/muesli/termenv/testdata
 	cp testdata/templatehelper* _build/src/github.com/muesli/termenv/testdata
 
-execute_after_dh_auto_test:
+execute_before_dh_auto_install:
 	rm -r _build/src/github.com/muesli/termenv/testdata


More information about the Reproducible-bugs mailing list