Bug#1020725: snapper: reproducible-builds: Embedded build path in example Makefile

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Sep 25 21:01:01 BST 2022


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

The build path is embedded in
/usr/share/doc/libsnapper-dev/examples/Makefile:

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

  ACLOCAL·=·${SHELL}·'/build/1st/snapper-0.10.2/missing'·aclocal-1.16
  vs.
  ACLOCAL·=·${SHELL}·'/build/2/snapper-0.10.2/2nd/missing'·aclocal-1.16

The attached patch fixes this in debian/rules by removing the Makefile
in a dh_installexamples override. Removing the Makefile seems better
than sanitizing the build path, as in order to use it, one would have to
regenerate it from the provided Makefile.in or Makefile.am to match the
running system.

With this patch applied (and another recently submitted to fix usrmerge
issues) snapper should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining snapper!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Add-dh_installexamples-override-to-remo.patch
Type: text/x-diff
Size: 1007 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220925/e36f850b/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/20220925/e36f850b/attachment-0001.sig>


More information about the Reproducible-bugs mailing list