Bug#1011480: libxsettings-client: reproducible-builds: embedded build paths

Vagrant Cascadian vagrant at reproducible-builds.org
Mon May 23 21:24:57 BST 2022


Source: libxsettings-client
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/libXsettings-client.so.0.0.0:

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

  /build/1st/libxsettings-client-0.17/xsettings-client.c:340
  vs.
  /build/2/libxsettings-client-0.17/2nd/xsettings-client.c:340

The attached patch fixes this by setting -ffile-prefix-map in CFLAGS in
debian/rules, which avoids embedding the absolute build path.

Alternately, switching to use a newer debhelper compat level and the dh
build system would likely also fix this, as it includes -ffile-prefix-map
by default.


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


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-ffile-prefix-map-via-CFLAGS.patch
Type: text/x-diff
Size: 597 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220523/41c19cc9/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/20220523/41c19cc9/attachment.sig>


More information about the Reproducible-bugs mailing list