• Bug#1069169: gap-polymaking: please make the build reproducible

    From Chris Lamb@21:1/5 to All on Wed Apr 17 12:20:01 2024
    --4d3ede1b1c49465ab0cffafdc04406be
    Content-Type: text/plain;charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Source: gap-polymaking
    Version: 0.8.7-2
    Severity: wishlist
    Tags: patch
    User: reproducible-builds@lists.alioth.debian.org
    Usertags: umask
    X-Debbugs-Cc: reproducible-bugs@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@debian.org / chris-lamb.co.uk
    `-



    --4d3ede1b1c49465ab0cffafdc04406be
    Content-Disposition: attachment; filename="gap-polymaking.diff.txt" Content-Type: text/plain; name="gap-polymaking.diff.txt" Content-Transfer-Encoding: BASE64

    LS0tIGEvZGViaWFuL3J1bGVzCTIwMjQtMDQtMTcgMTE6MDA6NTQuMzQ3Mjg1MjYxICswMTAw Ci0tLSBiL2RlYmlhbi9ydWxlcwkyMDI0LTA0LTE3IDExOjEwOjU2LjUxOTYxNjY2OCArMDEw MApAQCAtMjUsNyArMjUsOCBAQAogCW1ha2UgLUMgZG9jIGluc3RhbGwgREVTVERJUj0uLi9k ZWJpYW4vZ2FwLXBvbHltYWtpbmcKIAogb3ZlcnJpZGVfZGhfZml4cGVybXM6Ci0JZGhfZml4 cGVybXMgLVh0c3QKKwlkaF9maXhwZXJtcyAtWC50c3QKKwljaG1vZCBnLXcgZGViaWFuL2dh cC1wb2x5bWFraW5nL3Vzci9zaGFyZS9nYXAvcGtnL3BvbHltYWtpbmcvdHN0LyoudHN0CiAK IG92ZXJyaWRlX2RoX2luc3RhbGxkb2NzOgogCWRoX2luc3RhbGxkb2NzIFJFQURNRS5tZAo=

    --4d3ede1b1c49465ab0cffafdc04406be--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)