Bug#1011495: modglue: reproducible-builds: Embedded build path in example Makefile

Vagrant Cascadian vagrant at reproducible-builds.org
Mon May 23 23:57:37 BST 2022


Source: modglue
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/libmodglue1-dev/examples/Makefile:

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

  g++·-g·-O2·-ffile-prefix-map=/build/1st/modglue-1.17=.·-fstack-protector-strong ...
  vs.
  g++·-g·-O2·-ffile-prefix-map=/build/2/modglue-1.17/2nd=.·-fstack-protector-strong ...

The attached patch fixes this by replacing the build path with a
placeholder string in debian/rules.

With this patch applied modglue should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining modglue!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Replace-build-path-in-example-Makefile-.patch
Type: text/x-diff
Size: 808 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220523/8da97c21/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/20220523/8da97c21/attachment.sig>


More information about the Reproducible-bugs mailing list