Bug#883244: simavr: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Dec 1 09:20:09 UTC 2017


Source: simavr
Version: 1.5+dfsg1-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: umask
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that simavr could not be built reproducibly.

This is because the examples.tar.gz contents varied on umask.

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-01 08:59:23.980622486 +0000
--- b/debian/rules	2017-12-01 09:12:13.270258879 +0000
@@ -29,12 +29,14 @@
 	  --numeric-owner \
 	  --owner=0 \
 	  --group=0 \
+	  --mode=go=rX,u+rw,a-s \
 	  --mtime=./examples/Makefile \
 	  --files-from=debian/examples.tarball
 	tar rf examples.tar \
 	  --numeric-owner \
 	  --owner=0 \
 	  --group=0 \
+	  --mode=go=rX,u+rw,a-s \
 	  --mtime=./debian/examples/makefile.common \
 	  -C debian examples
 


More information about the Reproducible-bugs mailing list