Bug#995896: cxref: reproducible builds: embeds path to grep in cxref-cpp-configure

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Oct 8 00:24:46 BST 2021


Source: cxref
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The file /usr/bin/cxref-cpp-configure embeds the path to grep, which is
in a different location on a usrmerge vs. non-usrmerge system.

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/cxref.html
 	 
  EGREP="/bin/grep·-E"
vs.
  EGREP="/usr/bin/grep·-E"

Patch attached which hard-codes the value of EEGREP to use the
non-usrmerge path (e.g. /bin/grep), as usrmerge installations typically
have compatibility symlinks, but not vice-versa.

With this patch applied (and the patch for timestamps previously
submitted), cxref should build reproducibly on
tests.reproducible-builds.org in the testing/bookworm suite. On
tests.reproducible-builds.org unstable and experimental also vary build
paths, which trigger issues in the documentation.


Thanks for maintaining cxref!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-cpp-cxref-cpp-configure.in-Use-specific-path-for-EGR.patch
Type: text/x-diff
Size: 1106 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20211007/43255541/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/20211007/43255541/attachment.sig>


More information about the Reproducible-bugs mailing list