Source: golang-github-revel-revel
Version: 1.0.0-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is because during the test phase it appends various bits of
logging info to a file called "none" which is then installed under 
/usr/share/gocode/src/github.com/revel/revel.

Patch attached that removes this (presumably unnecessary) file prior
to the binary package being created.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2021-02-18 12:54:25.624261668 +0000
--- b/debian/rules      2021-02-18 12:59:08.292110927 +0000
@@ -7,3 +7,6 @@
 
 execute_after_dh_auto_configure:
        cp -av $(CURDIR)/debian/go/src _build/src/github.com/revel/revel/vendor
+
+execute_after_dh_auto_test:
+       find _build -name "none" -delete

Reply via email to