Bug#1033032: buddy: reproducible-builds: Embedded build path and usrmerge paths in example Makefile

Vagrant Cascadian vagrant at reproducible-builds.org
Thu Mar 16 02:11:12 GMT 2023


Source: buddy
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/libbdd-dev/examples/solitare/Makefile:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/buddy.html

  ACLOCAL·=·${SHELL}·'/build/1st/buddy-2.4+dfsg/tools/missing'·aclocal-1.16
  vs.
  ACLOCAL·=·${SHELL}·'/build/2/buddy-2.4+dfsg/2nd/tools/missing'·aclocal-1.16

  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 buddy should build
reproducibly on tests.reproducible-builds.org!

Thanks for maintaining buddy!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Remove-example-Makefile-containing-buil.patch
Type: text/x-diff
Size: 1291 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20230315/5b114f36/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/debian-science-maintainers/attachments/20230315/5b114f36/attachment.sig>


More information about the debian-science-maintainers mailing list