Bug#1020668: jnettop: reproducible-builds: Embedded build path in /usr/sbin/jnettop

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Sep 25 01:35:54 BST 2022


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

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

  /build/1st/jnettop-0.52/game.c:49
  vs.
  /build/2/jnettop-0.52/2nd/game.c:49

The attached patches fix this in debian/rules by passing CFLAGS to make,
and adding the -ffile-prefix-map argument to CFLAGS.

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

Thanks for maintaining jnettop!

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


More information about the Reproducible-bugs mailing list