Bug#1011104: convlit: reproducible-builds: embedded build paths in /usr/bin/clit
Vagrant Cascadian
vagrant at reproducible-builds.org
Mon May 16 22:52:42 BST 2022
Source: convlit
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/clit:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/convlit.html
/build/1st/convlit-1.8/clit18/clit.c:109
vs.
/build/2/convlit-1.8/2nd/clit18/clit.c:109
The first patch fixes this by passing -ffile-prefix-map to CFLAGS in
debian/rules, which avoids embedding the build paths in the binaries.
The second patch fixes this by completing the transition to the dh build
system, which includes -ffile-prefix-map in CFLAGS by default.
With these patches applied, convlit should build reproducibly on
tests.reproducible-builds.org!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-ffile-prefix-map-in-CFLAGS-to-avoi.patch
Type: text/x-diff
Size: 723 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220516/5e19cff5/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Finish-conversion-to-dh.patch
Type: text/x-diff
Size: 1791 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220516/5e19cff5/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/20220516/5e19cff5/attachment.sig>
More information about the Reproducible-bugs
mailing list