Bug#1037300: comedilib: reproducible-builds: Embedded buildpaths and usrmerge paths in various files

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Jun 10 16:38:49 BST 2023


Source: comedilib
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 two demo files
and the build path changes the buildid of /usr/bin/comedi_soft_calibrate
and /usr/bin/comedi_calibrate:

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

  /usr/share/doc/libcomedi-dev/demo/pwm.gz

  #!·/bin/bash
  vs.
  #!·/bin/sh

  lt_dump_D=`$ECHO·"X$lt_script_arg0"·|·/bin/sed·-e·'s/^X//'·-e·'s%/[^/]*$%%'`
  vs.
  lt_dump_D=`$ECHO·"X$lt_script_arg0"·|·/usr/bin/sed·-e·'s/^X//'·-e·'s%/[^/]*$%%'`
  
  LD_LIBRARY_PATH="/build/1st/comedilib-0.11.0+5/lib/.libs:$LD_LIBRARY_PATH"
  vs.
  LD_LIBRARY_PATH="/build/2/comedilib-0.11.0+5/2nd/lib/.libs:$LD_LIBRARY_PATH"

The attached patches fix this by adjusting these values from the
debian/rules, and passing CFLAGS and CXXFLAGS to the appropriate
configure target.


According to my local tests, with these patches applied comedilib should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining comedilib!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Use-consisten-paths-for-sed-and-sh-in-d.patch
Type: text/x-diff
Size: 1120 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230610/ad8bde22/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Avoid-embedding-build-paths.patch
Type: text/x-diff
Size: 1770 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230610/ad8bde22/attachment-0001.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/20230610/ad8bde22/attachment.sig>


More information about the Reproducible-bugs mailing list