Bug#1021454: dbview: reproducible-builds: build path embedded in /usr/bin/dbview

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


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

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

  /build/1st/dbview-1.0.4/dbview.c:62
  vs.
  /build/2/dbview-1.0.4/2nd/dbview.c:62

The attached patch to the upstream Makefile fixes this by adding
-ffile-prefix-map to CFLAGS.

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

Thanks for maintaining dbview!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Makefile-Add-ffile-prefix-map-to-CFLAGS-to-avoid-emb.patch
Type: text/x-diff
Size: 749 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221008/a620dac6/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/20221008/a620dac6/attachment.sig>


More information about the Reproducible-bugs mailing list