Bug#1020881: kafs-client: reproducible-builds: Embedded build paths in binaries
Vagrant Cascadian
vagrant at reproducible-builds.org
Tue Sep 27 22:41:56 BST 2022
Source: kafs-client
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 various binaries or triggers differences
in buildid:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/kafs-client.html
/usr/libexec/kafs-dns
/build/1st/kafs-client-0.5/src/dns_main.c:221
vs.
/build/2/kafs-client-0.5/2nd/src/dns_main.c:221
The attached patch to the upstream Makefile fixes this by adding
-ffile-prefix-map to CFLAGS.
According to my local tests, with this patch applied kafs-client should
build reproducibly on tests.reproducible-builds.org!
Thanks for maintaining kafs-client!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile-Add-ffile-prefix-map-to-CFLAGS-to-avoid-emb.patch
Type: text/x-diff
Size: 655 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220927/7398ef42/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/20220927/7398ef42/attachment.sig>
More information about the Reproducible-bugs
mailing list