Bug#1021374: zephyr: reproducible-builds: build path embedded in libzephyr.so.4.0.0

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Oct 7 01:11:59 BST 2022


Source: zephyr
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/x86_64-linux-gnu/libzephyr.so.4.0.0:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/zephyr.html

  /build/1st/zephyr-3.1.2/krb5/lib/zephyr_err.c:61
  vs.
  /build/2/zephyr-3.1.2/2nd/krb5/lib/zephyr_err.c:61

The attached patch to debian/rules fixes this by adding
-ffile-prefix-map to CFLAGS.

According to my local tests, with this patch and the patch for #828867
applied, zephyr should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining zephyr!

live well,
  vagrant
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Pass-ffile-prefix-map-via-CFLAGS-to-avo.patch
Type: text/x-diff
Size: 813 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221006/7a69762b/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/20221006/7a69762b/attachment.sig>


More information about the Reproducible-bugs mailing list