[Reproducible-builds] Bug#834776: uhub: please make the build reproducible
Chris Lamb
lamby at debian.org
Thu Aug 18 23:04:15 UTC 2016
Source: uhub
Version: 0.4.1-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: umask
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], I noticed
that uhub could not be built reproducibly.
This was because dh_fixperms was not being called (to avoid mangling
the existing chmod), meaning that files were installed to the .deb
varying on the current umask.
The solution is to reinstate the call to dh_fixperms but to use its
--exclude/-X argument.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2016-08-18 23:54:55.441456261 +0100
--- b/debian/rules 2016-08-19 00:01:22.564666976 +0100
@@ -22,8 +22,8 @@
dh_auto_install
chmod 0750 $(CURDIR)/debian/$(PACKAGE)/var/log/uhub
-# Do nothing:
-.PHONY: override_dh_fixperms
+override_dh_fixperms:
+ dh_fixperms -Xvar/log/uhub
get-orig-source:
# preparation
More information about the Reproducible-builds
mailing list