Bug#1122019: golang-github-tjfoc-gmsm: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Dec 5 21:18:01 GMT 2025


Source: golang-github-tjfoc-gmsm
Version: 1.3.0+ds-4
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-tjfoc-gmsm could not be built reproducibly.

This is because the testsuite did not (also) remove various "ifile"
files, which ended up in the binary package. This meant that the
package contents differ depending on whether the testsuite is run
or not.

Patch 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-05 08:57:29.034711819 -0800
--- b/debian/rules	2025-12-05 09:13:40.370505188 -0800
@@ -6,5 +6,5 @@
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	dh_auto_test
-	find -type f \( -name '*.pem' -or -name 'ofile' \) -delete
+	find -type f \( -name '*.pem' -or -name 'ofile' -or -name 'ifile' \) -delete
 endif


More information about the Reproducible-bugs mailing list