Bug#846588: minicoredumper: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Dec 2 11:58:30 UTC 2016


Source: minicoredumper
Version: 2.0.0-1
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 minicoredumper could not be built reproducibly.

This is due to exluding var/crash from dh_fixperms (to keep the
subdirectories' permissions intact?) which means that the group "write"
bit is inherited from the system's umask.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2016-12-02 11:53:47.333958343 +0000
--- b/debian/rules	2016-12-02 11:56:22.467034819 +0000
@@ -21,6 +21,7 @@
 
 override_dh_fixperms:
 	dh_fixperms --exclude var/crash
+	chmod 0755 debian/minicoredumper/var/crash
 
 # main packaging script based on dh7 syntax
 %:


More information about the Reproducible-bugs mailing list