Bug#1020662: log4cpp: reproducible-builds: Embedded build path in log4cpp-config

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


Source: log4cpp
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/log4cpp-config:

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

  cflags="$cflags··-g·-O2·-ffile-prefix-map=/build/1st/log4cpp-1.1.3=. ...
  vs.
  cflags="$cflags··-g·-O2·-ffile-prefix-map=/build/2/log4cpp-1.1.3/2nd=. ...

The attached patch fixes this in debian/rules by replacing the build
path with a placeholder string in /usr/bin/log4cpp-config.

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

Thanks for maintaining log4cpp!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Add-dh_auto_install-override-to-remove-.patch
Type: text/x-diff
Size: 785 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220924/d8aa5b42/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/d8aa5b42/attachment.sig>


More information about the Reproducible-bugs mailing list