Bug#1037277: advi: reproducible-builds: Embedded build path and usrmerge paths in example Makefile
Vagrant Cascadian
vagrant at reproducible-builds.org
Sat Jun 10 03:57:15 BST 2023
Source: advi
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath usrmerge
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
The build path and various binary paths are embedded in
/usr/share/doc/advi/manual/pngs/Makefile.gz:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/advi.html
ACLOCAL·=·${SHELL}·/build/1st/advi-1.10.2/missing·--run·aclocal-1.11
vs.
ACLOCAL·=·${SHELL}·/build/2/advi-1.10.2/2nd/missing·--run·aclocal-1.11
EGREP·=·/bin/grep·-E
vs.
EGREP·=·/usr/bin/grep·-E
The attached patch fixes this by removing the example Makefile, which
would have to be regenerated anyways to match the running system.
If removing the example Makefile is not viable, it might be possible to
sanitize the build paths, and add relevent arguments to configure
(e.g. EGREP='/bin/grep -e') to use the specified paths.
According to my local tests, with this patch applied advi should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining advi!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Remove-example-Makefile-in-dh_install-o.patch
Type: text/x-diff
Size: 1022 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230609/4dea5b5d/attachment-0001.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/20230609/4dea5b5d/attachment-0001.sig>
More information about the Reproducible-bugs
mailing list