Bug#1011489: wiipdf: reproducible-builds: embedded build paths in /usr/bin/wiipdf
Vagrant Cascadian
vagrant at reproducible-builds.org
Mon May 23 22:58:47 BST 2022
Source: wiipdf
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/wiipdf:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/wiipdf.html
/build/1st/wiipdf-1.4/wiipdf.c:114
vs.
/build/2/wiipdf-1.4/2nd/wiipdf.c:114
The attached patch fixes this by calling dh_auto_build instead of
$(MAKE) from debian/rules, which passes the default build flags
including -ffile-prefix-map, which avoids embedding the absolute path in
compiled files.
Alternately, updating to dh and a newer debhelper-compat level would
likely fix this as well, as it includes -ffile-prefix-map by default.
With this patch applied, wiipdf should build reproducibly on
tests.reproducible-builds.org!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Use-dh_auto_build-instead-of-MAKE.patch
Type: text/x-diff
Size: 564 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220523/8e1b5d1a/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/20220523/8e1b5d1a/attachment-0001.sig>
More information about the Reproducible-bugs
mailing list