Bug#1122228: golang-github-valyala-fasthttp: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Dec 8 23:34:57 GMT 2025
Source: golang-github-valyala-fasthttp
Version: 1:1.67.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-valyala-fasthttp could not be built reproducibly.
This is because the testsuite generates a series of files such as
"README.md.fasthttp.br" that end up in the binary package. This means
that if the tests are skipped via nocheck then the binary package
will *not* include these files.
Patch attached that removes these files after running the tests.
However, if the binary package really does need these files, then
the package will need rejigging.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-12-08 15:23:07.588417459 -0800
--- b/debian/rules 2025-12-08 15:31:19.156337333 -0800
@@ -12,3 +12,5 @@
override_dh_auto_test:
dh_auto_test -- -short
+ find _build -type f -name 'fs.go.fasthttp.*' -delete
+ find _build -type f -name 'README.md.fasthttp.*' -delete
More information about the Reproducible-bugs
mailing list