Source: golang-github-jonas-p-go-shp
Version: 0.1.1-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-jonas-p-go-shp could not be built reproducibly.

This is because the tests generate two files, write_polylinedbf and
write_pointdbf, and they end up in the binary package .. but of course
only if the tests are run.

Patch attached that removes these files, but if the package needs them
(eg. for autopkgtests) then the packaging will need to be rejigged.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-02 11:50:13.716347957 -0800
--- b/debian/rules      2025-12-02 11:58:43.335265137 -0800
@@ -4,3 +4,6 @@
 
 %:
        dh $@ --builddirectory=_build --buildsystem=golang --with=golang
+
+execute_after_dh_auto_test:
+       find _build/ \( -name write_polylinedbf -or -name write_pointdbf \) 
-delete

Reply via email to