Bug#1023956: fl-cow: reproducible-builds: build path embedded in libflcow.so
Vagrant Cascadian
vagrant at reproducible-builds.org
Sun Nov 13 07:35:23 GMT 2022
Source: fl-cow
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/lib/fl-cow/libflcow.so:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/fl-cow.html
/build/1st/fl-cow-0.6/fl-cow/fl-cow-config.h:1
vs.
/build/2/fl-cow-0.6/2nd/fl-cow/fl-cow-config.h:1
The attached patch to debian/rules fixes this by passing the default
buildflags, which include -ffile-prefix-map to avoid embedding the
absolute build path in the binaries.
Alternately or even preferably, updating to dh and a recent
debhelper-compat version might fix this as well as other issues.
According to my local tests, with this patch applied fl-cow should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining fl-cow!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-default-CFLAGS-to-configure.patch
Type: text/x-diff
Size: 731 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221112/f11613eb/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/20221112/f11613eb/attachment.sig>
More information about the Reproducible-bugs
mailing list