Bug#1014560: ygl: reproducible-builds: embedded build paths in libYgl.so.*

Vagrant Cascadian vagrant at reproducible-builds.org
Thu Jul 7 22:42:05 BST 2022


Source: ygl
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/lib/libYgl.so.4.2:

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

  /build/1st/ygl-4.2e/ygl.c:525
  vs.
  /build/2/ygl-4.2e/2nd/ygl.c:525

The attached patch fixes this by passing a variable to dh_auto_build in
debian/rules with the -ffile-prefix-map compiler flag to avoid embedding
the build path.


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


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-variable-to-dh_auto_build-to-avoid.patch
Type: text/x-diff
Size: 850 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220707/5e88fce9/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/20220707/5e88fce9/attachment.sig>


More information about the Reproducible-bugs mailing list