Bug#1010825: lwatch: reproducible-builds: embedded build paths in /usr/bin/lwatch

Vagrant Cascadian vagrant at reproducible-builds.org
Tue May 10 22:42:27 BST 2022


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

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

  ... -ffile-prefix-map=/build/1st/lwatch-0.6.2=. ...
  vs.
  ... -ffile-prefix-map=/build/2/lwatch-0.6.2/2nd=. ...
   

The attached patch to debian/rules fixes this by replacing the build
path in src/config.h with the placeholder strong "BUILDPATH" from a
dh_auto_configure override.


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


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Remove-the-buildpath-from-src-config.h-.patch
Type: text/x-diff
Size: 763 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220510/1903f7a8/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/20220510/1903f7a8/attachment.sig>


More information about the Reproducible-bugs mailing list