Bug#1011496: nwall: reproducible-builds: embedded build paths in /usr/bin/nwall

Vagrant Cascadian vagrant at reproducible-builds.org
Tue May 24 00:04:57 BST 2022


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

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

  /build/1st/nwall-1.32+debian/src/nwall.c:65
  vs.
  /build/2/nwall-1.32+debian/2nd/src/nwall.c:65

The attached patch fixes this by adding -ffile-prefix-map to CFLAGS in
debian/rules, which avoids embedding the absolute build path.

Alternately, switching to use a newer debhelper compat level and the dh
build system would likely also fix this, as it includes -ffile-prefix-map
by default.


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


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


More information about the Reproducible-bugs mailing list