Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41379 - kdebase fails to build, looks for fam in /usr/local/lib
Summary: kdebase fails to build, looks for fam in /usr/local/lib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-12 08:09 UTC by Jean-Michel Smith
Modified: 2004-02-19 06:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/usr/lib/libfam.la (libfam.la,703 bytes, application/octet-stream)
2004-02-12 09:00 UTC, Jean-Michel Smith
Details
CORRECTED libfam attachment (libfam.la,703 bytes, application/octet-stream)
2004-02-12 09:03 UTC, Jean-Michel Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Michel Smith 2004-02-12 08:09:32 UTC
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.
Comment 1 SpanKY gentoo-dev 2004-02-12 08:13:10 UTC
what does `ls /usr/lib/*fam*` show ?
Comment 2 Jean-Michel Smith 2004-02-12 08:16:32 UTC
# 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
Comment 3 Jean-Michel Smith 2004-02-12 08:18:49 UTC
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
Comment 4 SpanKY gentoo-dev 2004-02-12 08:22:10 UTC
could you attach the .la file please ?
Comment 5 Jean-Michel Smith 2004-02-12 09:00:45 UTC
Created attachment 25484 [details]
/usr/lib/libfam.la

Absolutely!  Here it is...
Comment 6 Jean-Michel Smith 2004-02-12 09:03:27 UTC
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)
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-02-19 06:07:43 UTC
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.