Bug#990912: perl-tk: reproducible-builds: incorrect path for X11 libraries when built on usrmerge system

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Jul 11 01:27:45 BST 2021


Source: perl-tk
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The path for X11 libraries is probed at build time, resulting in
different hard-coded values in the package:

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/perl-tk.html

  ./usr/lib/x86_64-linux-gnu/perl5/5.32/Tk/Config.pm

  $xlib·=·'-L/usr/lib/x86_64-linux-gnu·-lXft';
  vs.
  $xlib·=·'-L/lib/x86_64-linux-gnu·-lXft';


The attached patch passes X11LIB to Makefile.PL to always use the X11LIB
paths in /usr/lib, which are present on both usrmerge and non-usrmerge
systems.

Applying this patch should make perl-tk reproducible on
tests.reproducible-builds.org again.


Alternately, it might be better long-term to explore runtime detection,
though I'm not sure what other implications that might have.


Thanks for maintaining perl-tk!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-X11LIB-to-Makefile.PL-to-ensure-co.patch
Type: text/x-diff
Size: 1102 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210710/11b6a92e/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/20210710/11b6a92e/attachment.sig>


More information about the Reproducible-bugs mailing list