Bug#1020674: ifstat: reproducible-builds: Embedded build path in /usr/bin/ifstat

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Sep 25 02:24:12 BST 2022


Source: ifstat
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/ifstat:

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

  /build/1st/ifstat-1.1/ifstat.c:458
  vs.
  /build/2/ifstat-1.1/2nd/ifstat.c:458

The attached patch fixes this in debian/rules by passing
-ffile-prefix-map in CFLAGS to configure.

With this patch applied ifstat should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining ifstat!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-ffile-prefix-map-via-CFLAGS-to-con.patch
Type: text/x-diff
Size: 1016 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220924/5b8555f2/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/20220924/5b8555f2/attachment.sig>


More information about the Reproducible-bugs mailing list