Bug#1069169: gap-polymaking: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Apr 17 11:13:19 BST 2024
Source: gap-polymaking
Version: 0.8.7-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
gap-polymaking could not be built reproducibly.
This is because the .tst files *AND* its surrounding directory will
retain its group-writeable bit due to the use of dh_fixperms -Xtst,
and will thus vary when the package is built with a different umask.
A patch is attached that limits the "-Xtst" → "-X.tst" (to prevent the
surrounding "/tst/" directory being matched), and then normalises the
group-writable bits of the .tst files themselves.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2024-04-17 11:00:54.347285261 +0100
--- b/debian/rules 2024-04-17 11:10:56.519616668 +0100
@@ -25,7 +25,8 @@
make -C doc install DESTDIR=../debian/gap-polymaking
override_dh_fixperms:
- dh_fixperms -Xtst
+ dh_fixperms -X.tst
+ chmod g-w debian/gap-polymaking/usr/share/gap/pkg/polymaking/tst/*.tst
override_dh_installdocs:
dh_installdocs README.md
More information about the Reproducible-bugs
mailing list