The prelink how-to: http://www.gentoo.org/doc/en/prelink-howto.xml asks that we report builds outside of their list which fail due to having not been compiled with -fPIC These libs fail for me: /usr/X11R6/lib/libXfont.so.1 /usr/X11R6/lib/libXp.so.6 /usr/lib/libavcodec.so /usr/lib/libdivxdecore.so.0 /usr/lib/libdivxencore.so.0 Corresponding to: x11-base/xfree * media-video/ffmpeg * media-libs/divx4linux * I'm running Xfree 4.3.0-r2 (r3 is available but doesn't seem to have fixed anything applicable) - the prelink how-to recommends updating past 4.2.1 to solve an OpenGL bug - so seems there's another problem as well with xfree libs. Reproducible: Always Steps to Reproduce: 1. run prelink -aRv > log.txt 2>&1 with the above ebuilds emerged 2. grep for PIC in log.txt
The fix for the xfree libraries is at bug 23581, a -fPIC option is not needed, just some makefiles need fixing.
Could you do the following and report the output for me please? grep PATCH_VER /var/db/pkg/x11-base/xfree-4*/*.ebuild If that patch would fix it, I added a patch with the same function at some point, I'd like to know whether you got it or not.
I'd love to except my house has been without power since the hurricane due to a downed tree. Can't check before, oh, Friday I'd optimistically estimate. Maybe later.
And power back. Right on schedule. One week without. Fun, fun. # grep PATCH_VER /var/db/pkg/x11-base/xfree-4*/*.ebuild PATCH_VER="2.1.8" X_PATCHES="mirror://gentoo/XFree86-${PV}-patches-${PATCH_VER}.tar.bz2 unpack XFree86-${PV}-patches-${PATCH_VER}.tar.bz2
Could you remerge xfree, being sure that you get PATCH_VER=2.1.11 or higher (2.1.14 is current as I write this), and check again? Thanks.
nautilus root # grep PIC log.txt | awk '{print $NF}' | sort | uniq /usr/X11R6/lib/libXfont.so.1 /usr/lib/libavcodec.so /usr/lib/libdivxdecore.so.0 /usr/lib/libdivxencore.so.0 /usr/lib/liblavfile-1.6.so.0 nautilus root # grep PIC log.txt | awk '{print $NF}' | sort | uniq | while read f;do qpkg -f $f;done x11-base/xfree * media-video/ffmpeg * media-libs/divx4linux * media-libs/divx4linux * media-video/mjpegtools * nautilus root # grep PATCH_VER /var/db/pkg/x11-base/xfree-4*/*.ebuild PATCH_VER="2.1.14" X_PATCHES="http://dev.gentoo.org/~spyderous/xfree/patchsets/XFree86-${PV}-patches-${PATCH_VER}.tar.bz2 unpack XFree86-${PV}-patches-${PATCH_VER}.tar.bz2
In addition to the libs listed in the original bug report, prelinking on my system fails for the following libs: /lib/libcap.so.1 /usr/lib/libavformat.so /usr/lib/libpt_linux_x86_r.so.1.5 /usr/lib/libh323_linux_x86_n.so.1.12 (I also get /usr/X11R6/lib/libXfont.so.1 and /usr/lib/libavcodec.so) corresponding to the packages: sys-libs/libcap media-video/ffmpeg (again) net-libs/openh323 dev-libs/pwlib I'm suprised about the libcap one. I'm running the latest stable version of all of these packages and prelink
alright, i dont know why this is still open, xfree has been fixed sys-libs/libcap has been fixed, you just need to update yours ... and double check you're running the latest/unstable versions of those apps before filing new bugs
Yep, updating sys-libs/libcap-1.10 to 1.10-r3 fixes that library. Sorry, I didn't notice that libcap had been fixed since the fix wasn't in the latest stable version. I don't normally run testing/semi-stable version of base libraries.
Ummmm. Fixed? Just because xfree has been handled? I'm still getting plenty of libraries reporting this issue. Do you ever see this tracking bug going away completely?
well, we dont normally put new stuff directly into stable soooooooo ;)
general bugs suck, file a bug for specific packages (if they dont already have one)