Bug#1024399: xrprof: reproducible-builds: build path embedded in /usr/bin/xrprof
Vagrant Cascadian
vagrant at reproducible-builds.org
Fri Nov 18 19:49:34 GMT 2022
Source: xrprof
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/bin/xrprof:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/xrprof.html
/build/1st/xrprof-0.3.1/src/xrprof.c:71
vs.
/build/2/xrprof-0.3.1/2nd/src/xrprof.c:71
The attached patch to debian/rules fixes this by passing the default
CFLAGS to dh_auto_build, which includes the -ffile-prefix-map argument.
According to my local tests, with this patch applied xrprof should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining xrprof!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-default-CFLAGS-to-dh_auto_build.patch
Type: text/x-diff
Size: 625 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221118/3adf5017/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/20221118/3adf5017/attachment.sig>
More information about the Reproducible-bugs
mailing list