When emerging PHP Accelerator, it says: samwan root # emerge -v dev-php/php-accelerator Calculating dependencies ...done! >>> emerge (1 of 1) dev-php/php-accelerator-1.3.3-r1 to / >>> md5 src_uri ;-) php_accelerator-1.3.3r2_php-4.3.0_linux_i686-glibc2.1.3.tgz !!! ERROR: dev-php/php-accelerator-1.3.3-r1 failed. !!! Function pkg_setup, Line 53, Exitcode 0 !!! There is no build for your machine type (i486-pc-linux-gnu) I installed Gentoo on this server from a generic x86 stage3 tarball (back in 1.4rc4 days), which left the system's CHOST set to i486-pc-linux-gnu, even though it's a Pentium II. The ebuild checks for the specific MACHTYPE value of i686-pc-linux-gnu, and does not consider i486-pc-linux-gnu as i686-pc-linux-gnu. Adding an extra stanza to the case in the ebuild to recognize the i486-pc-linux-gnu as a i686-pc-linux-gnu allows me to emerge successfully and things are working all right now. Please verify if this doesn't break anything and if so, add to portage. Reproducible: Always Steps to Reproduce: 1. emerge dev-php/php-accelerator Actual Results: !!! ERROR: dev-php/php-accelerator-1.3.3-r1 failed. !!! Function pkg_setup, Line 53, Exitcode 0 !!! There is no build for your machine type (i486-pc-linux-gnu) Expected Results: Ebuild should install successfully. samwan root # emerge info Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Pentium II (Klamath) Gentoo Base System version 1.4.16 distcc 2.13 i486-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="-march=pentium2 -mmmx -Os -fomit-frame-pointer -pipe" CHOST="i486-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmai l/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium2 -mmmx -Os -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx X alsa apache2 apm avi berkdb crypt cups dillo encode foomaticdb gd gdbm gif gimpprint gpm imap imlib innodb java jpeg libg++ libwww linguas_en linguas_es mad maildir mikmod mmx mng motif mozilla mpeg mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sasl scanner sdl slang snmp spell ssl svga tcltk tcpd tiff truetype usb video_cards_3dfx voodoo3 wmf x86 xface xml2 xmms xv zlib"
That would break for anybody trying to use PHP accelerator on i486 and i586, as it's definetly compiled with i686 functions. Go and look at /sbin/fix_libtool_files.sh to see about changing your CHOST.