Source: golang-github-google-go-pkcs11
Version: 0.3.0+dfsg-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-google-go-pkcs11 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.

A patch is attached that removes these files.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-12 11:53:32.005746530 -0800
--- b/debian/rules      2025-12-12 12:00:51.439311957 -0800
@@ -2,3 +2,6 @@
 
 %:
        dh $@ --builddirectory=_build --buildsystem=golang --with=golang
+
+execute_after_dh_auto_test:
+       rm -vf _build/src/github.com/google/go-pkcs11/pkcs11/syslog.tmp

Reply via email to