Bug#1024291: gnunet: reproducible-builds: embedded path to "ifconfig" may differ

Vagrant Cascadian vagrant at reproducible-builds.org
Thu Nov 17 04:38:08 GMT 2022


Source: gnunet
Severity: important
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The path to the "ifconfig" binary differs depending on if it is built in an
environment with or without usrmerge:

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

  /usr/include/gnunet/gnunet_config.h

  #define·IFCONFIG·"/sbin/ifconfig"
  vs.
  #define·IFCONFIG·"/usr/sbin/ifconfig"

The attached patch fixes this in debian/rules by passing the
IFCONFIG_BINARY variable to dh_auto_configure, using the most compatible
path.

According to my local tests, With this patch applied gnunet should build
reproducibly on tests.reproducible-builds.org!

Thanks for maintaining gnunet!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-IFCONFIG_BINARY-to-ensure-consiste.patch
Type: text/x-diff
Size: 934 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221116/1947aeaa/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/20221116/1947aeaa/attachment.sig>


More information about the Reproducible-bugs mailing list