Trying to compile kdebase, it doesn't get very far and then aborts with a libfontconfig error. I have tried re-emerging both fontconfig and freetype with no luck. Interestingly, if I try to emerge kdebase without fontconfig installed, emerge does not try to install fontconfig first, it just goes right into kdebase. configure in kdebase then fails complaining that QT is not installed! fontconfig installed is 2.2.1. Reproducible: Always Steps to Reproduce: 1. emerge kdebase 2. wait for it to fail 3. Actual Results: /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 -march=pentium3 -O3 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -o konq_sound.la.closure konq_sound_la_closure.lo -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -module -avoid-version -module -no-undefined -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib konq_sound.lo -lsoundserver_idl -lartskde /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include/arts -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 -march=pentium3 -O3 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -c -o konq_popupmenu.lo `test -f 'konq_popupmenu.cc' || echo './'`konq_popupmenu.cc /usr/lib/libfontconfig.so.1: undefined reference to `FT_Get_BDF_Property' collect2: ld returned 1 exit status Expected Results: kdebase compiled successfully. emerge info: Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20) ================================================================= System uname: 2.4.20 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://gentoo.ccccom.com ftp://gentoo.noved.org/ http://mirrors.tds.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apm foomaticdb libg++ mad mikmod nls xml2 xmms xv zlib gtkhtml gdbm berkdb slang tetex bonobo guile tcpd pam libwww ssl esd cdr X gtk mmx cups dga opengl kde qt arts motif tcltk aalib imlib ncurses readline sdl svga lcms gif jpeg png tiff gd avi mpeg quicktime oss xmss encode snmp gpm -doc samba mysql perl python mozilla spell truetype xml pdflib plotutils crypt java maildir -alsa -gnome -sse -oggvorbis"
I discovered the problem. A year-old version of libfontconfig was in /usr/X11R6/lib. There probably was a previous bug that didn't correctly remove these old files. Deleted them, now kdebase is okay.