Snip from compile log: rm -f libXau.so.6.0~ + cd . + gcc -m32 -o ./libXau.so.6.0~ -shared -Wl,-soname,libXau.so.6 AuDispose.o AuFileName.o AuGetAddr.o AuGetBest.o AuLock.o AuRead.o AuUnlock.o AuWrite.o -lc + rm -f libXau.so.6 + ln -s libXau.so.6.0 libXau.so.6 + rm -f ../../exports/lib/libXau.so.6 + cd ../../exports/lib /bin/sh: line 1: cd: ../../exports/lib: No such file or directory make[4]: *** [libXau.so.6.0] Error 1 make[4]: Target `all' not remade because of errors. rm -f libXau.a (cd unshared && ar clq ../libXau.a AuDispose.o AuFileName.o AuGetAddr.o AuGetBest.o AuLock.o AuRead.o AuUnlock.o AuWrite.o ) ranlib libXau.a + mkdir -p ../../exports/lib rm -f ../../exports/lib/libXau.a cd ../../exports/lib && ln -s ../../lib/Xau/libXau.a As you can see there is a bug in the makefiles which makes the xc/exports/lib dir not being made. This causes the libXau.so lib not to be installed. libXp.so and libXfo-something then link to libXau.a which was not compiled with -fPIC (libXau.so is) and thus prelink complaines about -fPIC. Fix: Either fix the IMakefiles / Makefiles or add mkdir -p xc/exports/lib after src_unpack
fixed, thanks stefan
Created attachment 15251 [details, diff] fix for xc/export/lib directory not being recreated Creating xc/export/lib in the ebuild doesn't work because it gets clobbered by "make clean". "make includes" should recreate it, but doesn't. I've attached a patch for xc/Imakefile.
Thanks for the 'correct' fix, will try and push it into portage, this should fix the prelink PIC problem as well.
Hey splite, I've got a patch in there now that accomplishes the same thing but cretin showed me this one and it's cleaner so I'll replace the current one soon.
Just would like to say I'm still seeing the prelink errors related to xfree mentioned in the more general 29096 .
Just added splite's patch to xfree-4.3.0-r3 as #0119.