Build fails because the /usr/lib/lib1.so and /usr/lib/lib1.so.5 symlinks are missing. Manually creating the symlinks as follows fixed the problem: ln -s /usr/lib/libt1.so.5.0.2 /usr/lib/libt1.so ln -s /usr/lib/libt1.so.5.0.2 /usr/lib/libt1.so.5 Note that this occured during a fresh installation -- the problem is probably masked when upgrading from 5.0.x. Reproducible: Always Steps to Reproduce: ACCEPT_KEYWORDS="~x86" emerge =dev-php/php-5.0.2-r1 Actual Results: .... bz2 -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lssl -lcrypto -ldl -lcurl -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxslt -lxml2 -lz -lm -lcrypt -o libphp5.la gcc: /usr/lib/libt1.so: No such file or directory distcc[866] ERROR: compile (null) on localhost failed make: *** [libphp5.la] Error 1 !!! ERROR: dev-php/php-5.0.2-r1 failed. !!! Function php5-sapi_src_compile, Line 432, Exitcode 2 !!! make failed Expected Results: 1. emerge successfully 2. ... 3. profit! Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r7) ================================================================= System uname: 2.6.8-gentoo-r7 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 arts avi bitmap-fonts bzlib calendar crypt cups curl curlwrappers dba encode foomaticdb gd gdbm gif gpm gtk2 imagemagick imlib java javascript jpeg junit ldap libg++ libwww lzw-tiff mad mdb mikmod mime ming mmx motif moznocompose moznoirc moznomail mpeg mysql ncurses nls oggvorbis pam pdflib perl php png postgres python quicktime readline ruby sdl session simplexml slang soap sockets spell spl sse ssl svg svga tcpd tidy tiff tokenizer truetype type1 vhosts x86 xml2 xmms xprint xsl xv zlib"
Matt, what versions of media-libs/t1lib do you have?
media-libs/t1lib-5.0.0-r2 Looks like that's the culprit. Didn't occur to me that this was a Type 1 font library... I assumed it was something PHP-related due to the coincidentally identical version numbers :)
revdep-rebuild would fix this.