kdebase fails to emerge on a freshly built system. It is looking for libfam in /usr/local/lib, while the (now working) fam ebuild places it in /usr/lib. This is a fresh install (not an upgraded system) Reproducible: Always Steps to Reproduce: 1. try to emerge kde 2. kdebase fails to build Actual Results: Build fails with the following: [ ... ] grep: /usr/local/lib/libfam.la: No such file or directory /bin/sed: can't read /usr/local/lib/libfam.la: No such file or directory libtool: link: `/usr/local/lib/libfam.la' is not a valid libtool archive make[3]: *** [kded_favicons.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/libkonq/favicons' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/libkonq' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0' make: *** [all] Error 2 !!! ERROR: kde-base/kdebase-3.2.0 failed. !!! Function kde_src_compile, Line 127, Exitcode 2 !!! died running emake, kde_src_compile:make Expected Results: kde should build fine, fam 2.7.0 is installed correctly.
what does `ls /usr/lib/*fam*` show ?
# ls -l /usr/lib/*fam* -rw-r--r-- 1 root root 42934 Feb 12 10:08 /usr/lib/libfam.a -rwxr-xr-x 1 root root 703 Feb 12 10:08 /usr/lib/libfam.la lrwxrwxrwx 1 root root 15 Feb 12 10:08 /usr/lib/libfam.so -> libfam.so.0.0.0 lrwxrwxrwx 1 root root 15 Feb 12 10:08 /usr/lib/libfam.so.0 -> libfam.so.0.0.0 -rwxr-xr-x 1 root root 31468 Feb 12 10:08 /usr/lib/libfam.so.0.0.0 lrwxrwxrwx 1 root root 20 Feb 12 02:04 /usr/lib/libfame-0.9.so.0 -> libfame-0.9.so.0.0.0 -rwxr-xr-x 1 root root 234628 Feb 12 02:04 /usr/lib/libfame-0.9.so.0.0.0 -rw-r--r-- 1 root root 264160 Feb 12 02:04 /usr/lib/libfame.a -rwxr-xr-x 1 root root 648 Feb 12 02:04 /usr/lib/libfame.la lrwxrwxrwx 1 root root 20 Feb 12 02:04 /usr/lib/libfame.so -> libfame-0.9.so.0.0.0
Oops, sorry, please ignore the extraneous libfame stuff: Libfam related files are: -rw-r--r-- 1 root root 42934 Feb 12 10:08 /usr/lib/libfam.a -rwxr-xr-x 1 root root 703 Feb 12 10:08 /usr/lib/libfam.la lrwxrwxrwx 1 root root 15 Feb 12 10:08 /usr/lib/libfam.so -> libfam.so.0.0.0 lrwxrwxrwx 1 root root 15 Feb 12 10:08 /usr/lib/libfam.so.0 -> libfam.so.0.0.0 -rwxr-xr-x 1 root root 31468 Feb 12 10:08 /usr/lib/libfam.so.0.0.0
could you attach the .la file please ?
Created attachment 25484 [details] /usr/lib/libfam.la Absolutely! Here it is...
Created attachment 25485 [details] CORRECTED libfam attachment Ignore the preceding ... it was from my local workstation, NOT the machine having trouble! Sorry, THIS ATTACHMENT is the CORRECT libfam.la file (explicitly copied over)
this was a fam problem that was fixed a few days ago. grepping some of the .la files in /usr/lib and /usr/kde/3.x/lib and seeing if they point to the wrong fam location. you can just edit them by hand and it should fix the problem.