Bug#1136427: golang-github-akavel-rsrc: please make the build reproducible

Chris Lamb lamby at debian.org
Wed May 13 17:56:50 BST 2026


Source: golang-github-akavel-rsrc
Version: 1:0.10.2-2
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 call to delete testdata.exe after running the tests
references an incorrect directory. It should be _build, as specified
via --builddirectory=_build.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-05-13 08:59:22.715365747 -0700
--- b/debian/rules	2026-05-13 09:09:45.530546048 -0700
@@ -4,7 +4,7 @@
 	dh $@ --builddirectory=_build --buildsystem=golang
 
 execute_after_dh_auto_test:
-	rm -fv obj-$(DEB_BUILD_GNU_TYPE)/src/github.com/akavel/rsrc/testdata/testdata.exe
+	rm -fv _build/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