Bug#1020656: nvram-wakeup: reproducible-builds: Embedded build path in /usr/sbin/nvram-wakeup

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Sep 24 22:21:49 BST 2022


Source: nvram-wakeup
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/nvram-wakeup:

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

  /build/1st/nvram-wakeup-1.1/nvram-wakeup.c:90
  vs.
  /build/2/nvram-wakeup-1.1/2nd/nvram-wakeup.c:90

The attached patch fixes this by passing the -ffile-prefix-map argument
via CFLAGS in the upstream Makefile, and should be added to
debian/patches.


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


Thanks for maintaining nvram-wakeup!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile-add--ffile-prefix-map-to-cflags.patch
Type: text/x-diff
Size: 610 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-vdr-dvb-devel/attachments/20220924/54053d6c/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/pkg-vdr-dvb-devel/attachments/20220924/54053d6c/attachment.sig>


More information about the pkg-vdr-dvb-devel mailing list