Bug#1021860: libsx: reproducible-builds: Embedded build path and usrmerge paths in Makefile

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Oct 16 06:56:30 BST 2022


Source: libsx
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 binary paths are embedded in
/usr/share/doc/libsx-dev/examples/freq/Makefile:

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

  ACLOCAL·=·${SHELL}·'/build/1st/libsx-2.08/m4/missing'·aclocal-1.16
  vs.
  ACLOCAL·=·${SHELL}·'/build/2/libsx-2.08/2nd/m4/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 system to run it on.

If removing the example Makefile is not viable, it might be possible to
sanitize the build paths, and all relevent arguments to configure
(e.g. EGREP='/bin/grep -e') to use the specified paths.

According to my local tests, With this patch applied libsx should build
reproducibly on tests.reproducible-builds.org!

Thanks for maintaining libsx!

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


More information about the Reproducible-bugs mailing list