Bug#862825: golang-github-pkg-profile: please make the build reproducible

Chris Lamb lamby at debian.org
Wed May 17 13:16:41 UTC 2017


Source: golang-github-pkg-profile
Version: 1.2.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that golang-github-pkg-profile could not be built reproducibly.

This is because it ships profiling info from the testsuite. Patch
attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2017-05-17 14:09:26.304677828 +0100
--- b/debian/rules	2017-05-17 14:13:19.037923885 +0100
@@ -2,3 +2,7 @@
 
 %:
 	dh $@ --buildsystem=golang --with=golang
+
+override_dh_auto_install:
+	dh_auto_install
+	find debian/golang-github-pkg-profile-dev -type f -name '*.pprof' -delete


More information about the Reproducible-bugs mailing list