Bug#1010872: efax: reproducible-builds: differing buildid in /usr/bin/efax and /usr/bin/efix
Vagrant Cascadian
vagrant at reproducible-builds.org
Thu May 12 02:45:09 BST 2022
Source: efax
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Both /usr/bin/efax and /usr/bin/efix embed different buildids based on
the build path:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/efax.html
Build·ID:·bbce73232e3a81a5db70703d12c5ce89ecf11d8d
vs.
Build·ID:·ec6d84e3221a010689b83ef8327769e2da58cd2d
The attached patch fixes this by passing -ffile-prefix-map via CFLAGS in
debian/rules to avoid embedding the absolute build paths in binaries.
Alternately, this might be solved by switching to using "dh" in
debian/rules, which should use the default values for CFLAGS from
dpkg-buildflags.
With these patches applied, efax should build reproducibly on
tests.reproducible-builds.org!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Set-ffile-prefix-map-in-CFLAGS.patch
Type: text/x-diff
Size: 652 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220511/d18d45fe/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/20220511/d18d45fe/attachment.sig>
More information about the Reproducible-bugs
mailing list