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

Package:
src:parprouted
Source:
parprouted
Submitter:
Vagrant Cascadian
Date:
2022-05-23 23:42:04 UTC
Severity:
normal
Tags:
#1011498#5
Date:
2022-05-23 23:39:24 UTC
From:
To:
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