it seems that perl-tk is not quite prefix-aware right now, and catches the wrong libX11, maybe other things too. Reproducible: Always Steps to Reproduce: 1. compile perl-tk 2. ldd /opt/gentoo.system/usr/lib/perl5/vendor_perl/5.8.8/i586-interix/auto/Tk/Tk.so (of course this is my path only...) Actual Results: everything seems to work, but revdep-rebuild wants to rebuild perl-tk all the time :)
(In reply to comment #0) > it seems that perl-tk is not quite prefix-aware right now, and catches the > wrong libX11, maybe other things too. hmm. %% ldd $EPREFIX/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Tk/Tk.so libX11.so.6 => /home/jolexa/portage/linux-32/usr/lib/libX11.so.6 (0x009e7000) libnsl.so.1 => /lib/libnsl.so.1 (0x00e46000) libm.so.6 => /lib/tls/libm.so.6 (0x00872000) libc.so.6 => /lib/tls/libc.so.6 (0x00111000) libXau.so.6 => /home/jolexa/portage/linux-32/usr/lib/libXau.so.6 (0x0023d000) libXdmcp.so.6 => /home/jolexa/portage/linux-32/usr/lib/libXdmcp.so.6 (0x00589000) libdl.so.2 => /lib/libdl.so.2 (0x00241000) /lib/ld-linux.so.2 (0x00538000) Looks ok to me..interix only issue? is that possible?
strange... i don't think it's interix only, but setup only. since interix has a rather old setup (i.e. X11 libs in /usr/X11R{5,6}/lib) maybe this is the problem. no matter how often i rebuild perl-tk, i always get this: (2) mduft portage $ ldd /opt/gentoo.system/usr/lib/perl5/vendor_perl/5.8.8/i586-linux/auto/Tk/Tk.so libX11.so.5.2 => /usr/X11R6/lib/libX11.so.5.2 (0x778c0000) libm.so.5.2 => /usr/lib/libm.so.5.2 (0x77c30000) libc.so.5.2 => /usr/lib/libc.so.5.2 (0x77d80000) hmmm... also yours has a lot more deps than mine, ...
gentoo (and others) don't do /usr/X11R6 any more, so if there is some hardcoded searchpath for /usr/X11R6 it simply doesn't match for most systems, whereas it does on Interix (and iirc also Darwin with X11 dev packages installed). So, hunt down the configure/makefile scripts for X11R6!
X11R6 is scattered throughout the source dir. A simple grep turned up 26 references. mduft, hope you don't mind me assigning this to you. ;-) Sounds like it should go UPSTREAM anyway??
just fix this, or assign back to the herd, because this will be a problem on OSX too (it also has /usr/X11R6/lib)
I believe the config fixes from bug #385621 also solve this problem. % scanmacho --needed /Library/Gentoo/var/tmp/portage/dev-perl/perl-tk-804.29.0/image/Library/Gentoo/usr/lib/perl5/vendor_perl/5.12.3/x86_64-darwin/auto/Tk/Tk.bundle ARCH TYPE NEEDED FILE x86_64 MH_BUNDLE /Library/Gentoo/usr/lib/libXft.2.dylib,/Library/Gentoo/usr/lib/libX11.6.dylib,/Library/Gentoo/usr/lib/libfontconfig.1.dylib,/usr/lib/libSystem.B.dylib /Library/Gentoo/var/tmp/portage/dev-perl/perl-tk-804.29.0/image/Library/Gentoo/usr/lib/perl5/vendor_perl/5.12.3/x86_64-darwin/auto/Tk/Tk.bundle *** This bug has been marked as a duplicate of bug 385621 ***