Bug#1020808: powerdebug: reproducible-builds: Embedded build paths in /usr/sbin/powerdebug

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Sep 27 01:16:27 BST 2022


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

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

  /build/1st/powerdebug-0.7.0-2013.08/powerdebug.c:35
  vs.
  /build/2/powerdebug-0.7.0-2013.08/2nd/powerdebug.c:35

The attached patch to debian/rules fixes this by passing the default
CFLAGS from dpkg-buildflags to make.

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

Thanks for maintaining powerdebug!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-default-CFLAGS-from-dpkg-buildflag.patch
Type: text/x-diff
Size: 599 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220926/6eefa136/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/6eefa136/attachment.sig>


More information about the Reproducible-bugs mailing list