Bug#1122819: golang-github-akavel-rsrc: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Dec 12 20:07:18 GMT 2025
Source: golang-github-akavel-rsrc
Version: 1:0.10.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-akavel-rsrc 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.
Patch attached.
[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:53:26.573519697 -0800
--- b/debian/rules 2025-12-12 12:00:38.017354393 -0800
@@ -3,5 +3,8 @@
%:
dh $@ --buildsystem=golang --with=golang
+execute_after_dh_auto_test:
+ rm -fv obj-$(DEB_BUILD_GNU_TYPE)/src/github.com/akavel/rsrc/testdata/testdata.exe
+
override_dh_auto_install:
dh_auto_install -- --no-binaries
More information about the Reproducible-bugs
mailing list