Bug#1020882: yaku-ns: reproducible-builds: Embedded build paths in binaries

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Sep 27 23:24:31 BST 2022


Source: yaku-ns
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/yaku-ns.html

  /usr/sbin/yaku-getzone

  /build/1st/yaku-ns-0.2/getzone.c:42
  vs.
  /build/2/yaku-ns-0.2/2nd/getzone.c:42

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 yaku-ns should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining yaku-ns!

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: 660 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220927/b097c4be/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/b097c4be/attachment.sig>


More information about the Reproducible-bugs mailing list