Bug#1020798: netkit-rsh: reproducible-builds: Embedded build paths in binaries

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Sep 26 22:46:27 BST 2022


Source: netkit-rsh
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 various binaries:

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

  /usr/sbin/in.rlogind

  /build/1st/netkit-rsh-0.17/rlogind/network.c
  vs.
  /build/2/netkit-rsh-0.17/2nd/rlogind/network.c

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

Alternately, updating to use dh and a recent debhelper compat version
might also fix this.

According to my local tests, with this patch applied netkit-rsh should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining netkit-rsh!

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


More information about the Reproducible-bugs mailing list