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:
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.
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...
You were right. I should have paid more attatention to the word _content_. That did the trick. But re-emerging did it not. Thanks.