Bug#1122818: golang-github-google-go-pkcs11: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Dec 12 20:06:44 GMT 2025
Source: golang-github-google-go-pkcs11
Version: 0.3.0+dfsg-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
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
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- 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
More information about the Reproducible-bugs
mailing list