Bug#1020805: png23d: reproducible-builds: Embedded build paths in binaries

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Sep 27 00:48:58 BST 2022


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

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

  /build/1st/png23d-1.10/png23d.c:32
  vs.
  /build/2/png23d-1.10/2nd/png23d.c:32

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

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

Thanks for maintaining png23d!

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


More information about the Reproducible-bugs mailing list