Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41116 - kde 3.1.5 and 3.2 fail to compile with "libfreetype.la not found"
Summary: kde 3.1.5 and 3.2 fail to compile with "libfreetype.la not found"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 08:21 UTC by Thomas Heiserowski
Modified: 2004-02-11 02:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Heiserowski 2004-02-10 08:21:52 UTC
I have no tried to compile both kde 3.1.5 and 3.2 on an clean, fresh Gentoo system. Both times it failed at the same point:

make[3]: Entering directory `/var/tmp/portage/kdebase-3.1.5/work/kdebase-3.1.5/kcontrol/fonts'
/usr/qt/3/bin/moc ./fonts.h -o fonts.moc
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include    -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon -O2 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE  -c -o kxftconfig.lo `test -f 'kxftconfig.cpp' || echo './'`kxftconfig.cpp
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include    -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon -O2 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE  -c -o fonts.lo `test -f 'fonts.cpp' || echo './'`fonts.cpp
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon -O2 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE    -o kcm_fonts.la.closure kcm_fonts_la_closure.lo -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib  -module -avoid-version -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib  -no-undefined fonts.lo kxftconfig.lo -lkdeui -lfontconfig
libtool: link: cannot find the library `/var/tmp/portage/freetype-2.1.4/image//usr/lib/libfreetype.la'
make[3]: *** [kcm_fonts.la.closure] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.1.5/work/kdebase-3.1.5/kcontrol/fonts'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.1.5/work/kdebase-3.1.5/kcontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.1.5/work/kdebase-3.1.5'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.1.5 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make


I have tried severeal things but though I am not a novice it did not turn out to work.

It seems to that for some reason libfreetype is searched in "/var/tmp/portage/freetype-2.1.4/image//usr/lib/libfreetype.la" though it is in "/usr/lib/libfreetype.la".

Any ideas why that is so?

Reproducible: Always
Steps to Reproduce:
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-02-10 08:32:32 UTC
A problem in the fontconfig package, I think.

look at the contents /usr/lib/libfontconfig.la.  I think it points to /var/tmp/.../libfreetype.la, which is a mistake.  You can either change it or re-emerge fontconfig.
Comment 2 Thomas Heiserowski 2004-02-10 15:15:35 UTC
Caleb,

> look at the contents /usr/lib/libfontconfig.la. 
> I think it points to /var/tmp/.../libfreetype.la, which is a mistake.

Not on my system. Both files are independent libraries.

> You can either change it or re-emerge fontconfig.

I re-emerge both fontconfig and freetype. This did not work out as well.

I deleted the /var/tmp/portage/... directories for fontconfig and freetype and retry.

I had another idea that it might be a portage problem since it is the newest version available and I had no problem (except the famous #35836) on a system with an older portage.

Pretty weird...
Comment 3 Thomas Heiserowski 2004-02-11 02:11:26 UTC
You were right. I should have paid more attatention to the word _content_. That did the trick. But re-emerging did it not.

Thanks.