Source: golang-github-gin-gonic-gin
Version: 1.8.1-3
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-gin-gonic-gin could not be built reproducibly.

This is because the testsuite creates a 'test' directory that gets
installed to the binary package, meaning that if the tests are
skipped (eg. via nocheck) then the package will contain different
contents.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-10 08:53:17.369294093 -0800
--- b/debian/rules      2025-12-10 08:59:57.278051553 -0800
@@ -8,3 +8,4 @@
 
 override_dh_auto_test:
        TEST_SOCKET_DIR=$(CURDIR)/_build dh_auto_test
+       rm -rf _build/src/github.com/gin-gonic/gin/test

Reply via email to