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

Package:
src:cxref
Source:
cxref
Submitter:
Vagrant Cascadian
Date:
2022-07-12 21:09:03 UTC
Severity:
normal
Tags:
#995896#5
Date:
2021-10-07 23:24:46 UTC
From:
To:
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

#995896#10
Date:
2022-07-04 19:22:43 UTC
From:
To:
Hi,

I intend to nmu cxref with fixes for the reproducibility issues. This
would close #995886, #995896, #995953 and #995954.

I prepared a version at https://mentors.debian.net/package/cxref/.
I do have a sponsor for the upload already and plan to upload it to
DELAYED/14.

If you have any doubts about the nmu, please just cancel the upload.

Best,
Philip

#995896#15
Date:
2022-07-05 21:31:12 UTC
From:
To:
Hi,

I forgot to attach the nmudiff here, so let's do it now.

Best,
Philip

#995896#20
Date:
2022-07-12 21:06:19 UTC
From:
To:
This bug is closed by the upload of version 1.6e-4, thanks Camm!