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

Chris Lamb lamby at debian.org
Fri Dec 29 09:00:14 UTC 2017


Source: golang-github-tjfoc-gmsm
Version: 1.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
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 it ships (random) test output. Worryingly, one of
these is a public/private key pair which I hope nobody is using!

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2017-12-29 08:35:50.385606416 +0000
--- b/debian/rules	2017-12-29 08:46:00.548923827 +0000
@@ -2,3 +2,7 @@
 
 %:
 	dh $@ --buildsystem=golang --with=golang
+
+override_dh_auto_test:
+	dh_auto_test
+	find -type f \( -name '*.pem' -or -name 'ofile' \) -delete


More information about the Reproducible-bugs mailing list