Bug#1020724: snapper: reproducible-builds: Embedded usrmerge path in libsnapper.so.6.0.1

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Sep 25 20:53:40 BST 2022


Source: snapper
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 binary path for "rm" is embedded in /usr/lib/x86_64-linux-gnu/libsnapper.so.6.0.1:

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

  /bin/rm
  vs.
  /usr/bin/rm

As well as several other binary paths in an example Makefile.

The attached patch fixes this in debian/rules by pasing variables to
configure to use the non-usrmerge paths, which are the most compatible
across all systems.

With this patch applied snapper should build reproducibly on
tests.reproducible-builds.org when once it migrates to testing!

Thanks for maintaining snapper!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-variables-to-ensure-consistent-pat.patch
Type: text/x-diff
Size: 1112 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220925/59815ad3/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/20220925/59815ad3/attachment.sig>


More information about the Reproducible-bugs mailing list