Bug#1010830: gscanbus: reproducible-builds: embedded build paths in /usr/bin/gscanbus
Vagrant Cascadian
vagrant at reproducible-builds.org
Wed May 11 00:59:23 BST 2022
Source: gscanbus
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/gscanbus:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/gscanbus.html
/build/1st/gscanbus-0.8/gscanbus.c:973
vs.
/build/2/gscanbus-0.8/2nd/gscanbus.c:973
The attached patch fixes this by updating to use debhelper compat level
13, which passes the default CFLAGS from dpkg-buildflags
The default CFLAGS include the -ffile-prefix-map argument which is used
to avoid embedding the absolute path in compiled files.
With this patch applied, gscanbus should build reproducibly on
tests.reproducible-builds.org!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Update-to-debhelper-compat-13.patch
Type: text/x-diff
Size: 1238 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220510/b5e54ca1/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/20220510/b5e54ca1/attachment.sig>
More information about the Reproducible-bugs
mailing list