Bug#1020660: logtools: reproducible-builds: Embedded build paths in binaries

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


Source: logtools
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 in /usr/bin:

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

  /usr/bin/clfdomainsplit

  /build/1st/logtools-0.13e+nmu2/clfdomainsplit.cpp:174
  vs.
  /build/2/logtools-0.13e+nmu2/2nd/clfdomainsplit.cpp:174


The attached patch fixes this by adding the -ffile-prefix-map argument
to CFLAGS in the upstream Makefile.in.

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

Thanks for maintaining logtools!

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


More information about the Reproducible-bugs mailing list