Bug#1020659: lookup: reproducible-builds: Embedded build path in /usr/bin/lookup

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Sep 24 23:19:08 BST 2022


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

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

  /build/1st/lookup-1.08b/lookup.c:34
  vs.
  /build/2/lookup-1.08b/2nd/lookup.c:34

The attached patch fixes this by adding the -ffile-prefix-map argument
to CFLAGS in the upstream Makefile, and should be added to
debian/patches.

With this patch applied lookup should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining lookup!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile-Pass-ffile-prefix-map-in-CFLAGS-to-avoid-em.patch
Type: text/x-diff
Size: 678 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220924/c92b83fe/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/20220924/c92b83fe/attachment.sig>


More information about the Reproducible-bugs mailing list