Bug#1138795: golang-github-ysmood-got: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Jun 3 22:05:12 BST 2026
Source: golang-github-ysmood-got
Version: 0.40.0-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-ysmood-got could not be built reproducibly.
This is because the testsuite does not 100% clean up after itself,
leaving various files in the binary .deb. This is, in itself, not a
terribly serious issue, but it means that if the testsuite is
skipped (ie. via nocheck) then the binary contents will necessarily
differ.
Patch attached, although the upstream testsuite could be altered as
well to fix the issue.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2026-06-03 13:56:12.438107477 -0700
--- b/debian/rules 2026-06-03 14:02:37.452317028 -0700
@@ -7,6 +7,8 @@
-dh_auto_test $(DH_BUILD_OPTS) -- -run=TestEnsureCoverage
env TERM="xterm-256color" GODEBUG="tracebackancestors=1000" \
dh_auto_test $(DH_BUILD_OPTS) -- -skip=TestEnsureCoverage
+ find debian/_build -type d -name .got -print0 | \
+ xargs -0r rm -rvf
override_dh_auto_install:
dh_auto_install -- --no-binaries
More information about the Reproducible-bugs
mailing list