• Bug#1067102: librsvg: please make the build reproducible

    From Chris Lamb@21:1/5 to All on Mon Mar 18 14:30:01 2024
    --17f4e51166804471bc46eb8d721a323b
    Content-Type: text/plain;charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Source: librsvg
    Version: 2.57.92+dfsg-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
    librsvg could not be built reproducibly due to a typo in debian/rules:

    # debhelper >= 13.4 makes all of /usr/libexec executable, which is not
    # quite right for installed-tests
    override_dh_fixperms:
    dh_fixperms -Xusr/libexec/rsvg/tests
    ifneq ($(filter %-tests,$(binaries)),)
    chmod --recursive --changes a+rX,u+w,og-w debian/*-tests/usr/libexec/rsvg/tests
    endif

    This should refer to "$(built_binaries)", not "$(binaries)"… and so
    the line is not run... resulting in the build varying depending on the
    build system's umask. :)

    A patch that corrects this typo is attached.

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


    Regards,

    --
    ,''`.
    : :' : Chris Lamb
    `. `'` lamby@debian.org / chris-lamb.co.uk
    `-



    --17f4e51166804471bc46eb8d721a323b
    Content-Disposition: attachment; filename="librsvg.diff.txt"
    Content-Type: text/plain; name="librsvg.diff.txt"
    Content-Transfer-Encoding: BASE64

    LS0tIGEvZGViaWFuL3J1bGVzCTIwMjQtMDMtMTggMTI6MDI6NTguNjU5NzIxOTg3ICswMDAw Ci0tLSBiL2RlYmlhbi9ydWxlcwkyMDI0LTAzLTE4IDEyOjU3OjE1Ljk3NDE1NTU1NCArMDAw MApAQCAtNTIsNyArNTIsNyBAQAogIyBxdWl0ZSByaWdodCBmb3IgaW5zdGFsbGVkLXRlc3Rz CiBvdmVycmlkZV9kaF9maXhwZXJtczoKIAlkaF9maXhwZXJtcyAtWHVzci9saWJleGVjL3Jz dmcvdGVzdHMKLWlmbmVxICgkKGZpbHRlciAlLXRlc3RzLCQoYmluYXJpZXMpKSwpCitpZm5l cSAoJChmaWx0ZXIgJS10ZXN0cywkKGJ1aWx0X2JpbmFyaWVzKSksKQogCWNobW9kIC0tcmVj dXJzaXZlIC0tY2hhbmdlcyBhK3JYLHUrdyxvZy13IGRlYmlhbi8qLXRlc3RzL3Vzci9saWJl eGVjL3JzdmcvdGVzdHMKIGVuZGlmCiAK

    --17f4e51166804471bc46eb8d721a323b--

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