Bug#1010859: libnss-gw-name: reproducible-builds: embedded build paths in libnss_gw_name.so.*
Vagrant Cascadian
vagrant at reproducible-builds.org
Wed May 11 18:47:45 BST 2022
Source: libnss-gw-name
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/x86_64-linux-gnu/libnss_gw_name.so.2:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/libnss-gw-name.html
/build/1st/libnss-gw-name-0.3/libnss_gw_name.c:107
vs.
/build/2/libnss-gw-name-0.3/2nd/libnss_gw_name.c:107
The attached patch fixes this by updating to use debhelper compat level
13 and switching to use "dh" in debian/rules. This passes the default
CFLAGS from dpkg-buildflags, which includes the -ffile-prefix-map
argument to avoid embedding the absolute path in compiled files.
With this patch applied, libnss-gw-name should build reproducibly on
tests.reproducible-builds.org!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Update-to-debhelper-compat-13-and-switch-to-dh.patch
Type: text/x-diff
Size: 2787 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220511/0a535937/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/20220511/0a535937/attachment-0001.sig>
More information about the Reproducible-bugs
mailing list