Bug#1138640: bingo: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Jun 1 18:02:59 BST 2026
Source: bingo
Version: 0.10.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
bingo could not be built reproducibly.
This is because the testsuite generates a bunch of test*.mod files which
end up in the binary package, meaning that if the tests are skipped via
nocheck, then the .deb contents will differ. The package also generates
a test project directory which is not removed correctly in debian/rules.
A patch is attached that addresses both issues.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2026-06-01 09:30:55.917027938 -0700
--- b/debian/rules 2026-06-01 09:56:36.967352059 -0700
@@ -13,7 +13,8 @@
execute_before_dh_auto_install:
rm -fv _build/src/github.com/bwplotka/bingo/.bin/bingo
- rm -fv _build/src/github.com/bwplotka/bingo/testdata/testproject_with_bingo_v0_?/.bingo/.gitignore
+ rm -rfv _build/src/github.com/bwplotka/bingo/testdata/testproject_with_bingo_*/
+ rm -fv _build/src/github.com/bwplotka/bingo/pkg/bingo/test*.mod
# requires Internet to download Go code
SKIP='TestCompatibilityCurrentVersionCreate|TestGet_ModuleCases|TestGetList|TestCompatibility'
More information about the Reproducible-bugs
mailing list