Bug#1011498: parprouted: reproducible-builds: embedded build paths in /usr/sbin/parprouted

Vagrant Cascadian vagrant at reproducible-builds.org
Tue May 24 00:39:24 BST 2022


Source: parprouted
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/sbin/parprouted:

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

  /build/1st/parprouted-0.70/parprouted.c:388
  vs.
  /build/2/parprouted-0.70/2nd/parprouted.c:388

The attached patch fixes this by passing CFLAGS via EXTRA_CFLAGS in a
dh_auto_build override in debian/rules.  This allows passing the default
build flags including -ffile-prefix-map, which avoids embedding the
absolute path in compiled files.


With these patches applied, parprouted should build reproducibly on
tests.reproducible-builds.org!


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


More information about the Reproducible-bugs mailing list