Bug#1014426: cldump: reproducible-builds: embedded build paths in /usr/bin/cldump

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Jul 5 20:54:34 BST 2022


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

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

  /build/1st/cldump-0.11~dfsg/src/cldump.c:180
  vs.
  /build/2/cldump-0.11~dfsg/2nd/src/cldump.c:180

The attached patch fixes this by explicitly passing CFLAGS to
dh_auto_build in debian/rules, which includes flags to avoid embedding
the build path.


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


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-CFLAGS-via-dh_auto_build-override.patch
Type: text/x-diff
Size: 828 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220705/06a574b9/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/20220705/06a574b9/attachment.sig>


More information about the Reproducible-bugs mailing list