Bug#1020653: pal: reproducible-builds: Embedded build path in /usr/bin/pal

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Sep 24 21:59:41 BST 2022


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

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

  /build/1st/pal-0.4.3/src/main.c:704
  vs.
  /build/2/pal-0.4.3/2nd/src/main.c:704

The attached patch fixes this by passing the -ffile-prefix-map argument
via CFLAGS in debian/rules.

Another option that *might* fix this and other issues would be to switch
to dh and a recent debhelper compat level.

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

Thanks for maintaining pal!

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


More information about the Reproducible-bugs mailing list