Source: golang-github-akavel-rsrc
Version: 1:0.10.2-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to