Source: golang-github-miekg-pkcs11
Version: 1.0.3+dfsg1-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-miekg-pkcs11 could not be built reproducibly.

This is because the testsuite also generates a token.object file
under test_data which contains unreproducible data.

A patch is attached that removes this file (along with token.lock).

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2026-09-21 08:33:41.145091351 -0700
--- b/debian/rules      2026-09-21 08:55:07.014934708 -0700
@@ -22,7 +22,7 @@
 
 override_dh_auto_install:
        cd _build/src/github.com/miekg/pkcs11/test_data && \
-               find \( -name generation -or -name token.lock \) -delete
+               find \( -name generation -or -name token.lock -or -name 
token.object \) -delete
        dh_auto_install
 
 override_dh_auto_clean:

Reply via email to