Bug#1037240: libsdl-console: reproducible-builds: Embedded build path and usrmerge paths in example Makefile

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Jun 9 00:36:53 BST 2023


Source: libsdl-console
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/libsdl-console-dev/examples/Makefile.gz:

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

  ACLOCAL·=·${SHELL}·'/build/1st/libsdl-console-2.1/missing'·aclocal-1.16
  vs.
  ACLOCAL·=·${SHELL}·'/build/2/libsdl-console-2.1/2nd/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 libsdl-console should build
reproducibly on tests.reproducible-builds.org!

Thanks for maintaining libsdl-console!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Remove-example-Makefiles-in-dh_installe.patch
Type: text/x-diff
Size: 1054 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230608/c21edd7e/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/20230608/c21edd7e/attachment.sig>


More information about the Reproducible-bugs mailing list