Bug#1024126: hunt: reproducible-builds: build path embedded in various binaries

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Nov 15 02:39:42 GMT 2022


Source: hunt
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:

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

  /usr/sbin/hunt

  /build/1st/hunt-1.5/main.c:461
  vs.
  /build/2/hunt-1.5/2nd/main.c:461

The attached patch to upstream Makefiles fixes this by adding the
-ffile-prefix-map argument to CFLAGS, which avoids embedding the full
build path.

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

Thanks for maintaining hunt!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile-tpserv-Makefile-Add-ffile-prefix-map-to-CFL.patch
Type: text/x-diff
Size: 955 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221114/1b029214/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/20221114/1b029214/attachment.sig>


More information about the Reproducible-bugs mailing list