Bug#1004034: bagel: reproducible-builds: build path embedded in /usr/bin/BAGEL and debug symbols

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Jan 19 16:14:17 GMT 2022


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

Different build paths trigger reproducibility issues with binaries such
as /usr/bin/BAGEL and relevent debugging symbols.

The attached patch fixes this by passing -ffile-prefix-map to CXXFLAGS
to avoid embedding the build path into the binaries.

Another possibility would be to use dpkg-buildflags, which includes this
flag by default.


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


Thanks for maintaining bagel!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-ffile-prefix-map-in-CXXFLAGS.patch
Type: text/x-diff
Size: 906 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220119/93b8eae2/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/20220119/93b8eae2/attachment.sig>


More information about the Reproducible-bugs mailing list