Bug#1014559: libloki: reproducible-builds: embedded build paths in libloki.so.*

Vagrant Cascadian vagrant at reproducible-builds.org
Thu Jul 7 21:53:34 BST 2022


Source: libloki
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/lib/libloki.so.0.1.7:

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

  /build/1st/libloki-0.1.7/src/LevelMutex.cpp:88
  vs.
  /build/2/libloki-0.1.7/2nd/src/LevelMutex.cpp:88

The attached patch fixes this by explicitly passing CXXFLAGS to
dh_auto_build in debian/rules, which includes flags to avoid embedding
the build path.


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


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Explicitly-pass-CXXFLAGS-to-dh_auto_bui.patch
Type: text/x-diff
Size: 794 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220707/46fb9c50/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/20220707/46fb9c50/attachment.sig>


More information about the Reproducible-bugs mailing list