Bug#1021512: yersinia: reproducible-builds: build path embedded in /usr/bin/yersinia

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Oct 9 23:07:08 BST 2022


Source: yersinia
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/yersinia:

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

  /build/1st/yersinia-0.8.2/src/yersinia.c:104
  vs.
  /build/2/yersinia-0.8.2/2nd/src/yersinia.c:104

The attached patch to debian/rules fixes this by passing CFLAGS directly
to make, and adding -ffile-prefix-map to CFLAGS to avoid embedding build
paths.

According to my local tests, with this patch applied, yersinia should build
reproducibly on tests.reproducible-builds.org!

Thanks for maintaining yersinia!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-CFLAGS-directly-to-make-and-add-ff.patch
Type: text/x-diff
Size: 999 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221009/0b0376c9/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/20221009/0b0376c9/attachment.sig>


More information about the Reproducible-bugs mailing list