Bug#1021471: python-djvulibre: reproducible-builds: build path embedded in decode.cpython-310-x86_64-linux-gnu.so
Vagrant Cascadian
vagrant at reproducible-builds.org
Sun Oct 9 02:57:39 BST 2022
Source: python-djvulibre
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
The build path is embedded in
/usr/lib/python3/dist-packages/djvu/decode.cpython-310-x86_64-linux-gnu.so:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/python-djvulibre.html
/build/1st/python-djvulibre-0.8.8/build/temp.linux-x86_64-3.10/src/decode.c:70219
vs.
/build/2/python-djvulibre-0.8.8/2nd/build/temp.linux-x86_64-3.10/src/decode.c:70219
The attached patch to setup.py fixes this by allowing the default CFLAGS to be
passed from debian/rules, which includes -ffile-prefix-map to avoid
embedding the build paths in the binaries.
According to my local tests, with this patch applied, python-djvulibre should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining python-djvulibre!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-setup.py-Allow-debian-rules-to-pass-the-default-CFLA.patch
Type: text/x-diff
Size: 651 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221008/96701c72/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221008/96701c72/attachment.sig>
More information about the Reproducible-bugs
mailing list