Bug#991180: xaw3d: reproducible builds: Embeds build path in libXaw3d.so

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Jul 16 15:51:29 BST 2021


Source: xaw3d
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 various places in libXaw3d.so.*:

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

  ./usr/lib/x86_64-linux-gnu/libXaw3d.so.6.1

  /build/1st/xaw3d-1.5+F/xc/lib/Xaw3d/AsciiSrc.c:263
  vs.
  /build/2/xaw3d-1.5+F/2nd/xc/lib/Xaw3d/AsciiSrc.c:263

The attached patch fixes this by passing -ffile-prefix-map and -I. to
CFLAGS in debian/rules to avoid embedding the build path.


Thanks for maintaining xaw3d!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-CFLAGS-with-file-prefix-map-in-dh_.patch
Type: text/x-diff
Size: 1229 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210716/58a58dd9/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/20210716/58a58dd9/attachment.sig>


More information about the Reproducible-bugs mailing list