Firefox 1.5.0.4 seriously pukes up during compilation. This problem is reproducible on both 32-bit and 64-bit. I had to duplicate the firefox ebuild in my overlay directory, to avoid this bug: http://bugs.gentoo.org/show_bug.cgi?id=141793. Maybe that's the problem? The build log is too long to list here, I'm attaching it. Sorry if it's too long, but I thought you might need the info. The important bit (as far as I can tell) is here: <some bits before> gmake[4]: Entering directory `/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla/security/nss/lib/util'-e line 3, near "while" syntax error at -e line 7, near "}" Execution of -e aborted due to compilation errors. i686-pc-linux-gnu-gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/quickder.o -c -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -I/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla/dist/include -I../../../../dist/public/nss -I../../../../dist/private/nss -I../../../../dist/include -I/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla/dist/include/nspr -I/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla/dist/include/dbm -I../../../../dist/public/dbm quickder.c from secasn1.h:50, from quickder.c:43: secport.h:106:39: prlog.h: No such file or directory secport.h:108:19: plstr.h: No such file or directory In file included from seccomon.h:61, from secasn1.h:50, from quickder.c:43: <some bits after> Doing a search for 'plarena' wll get to this error message in the log file. Here's my emerge --info (in my 32-bit chroot, where I'm trying to compile it anyway:) Portage 2.1.1_pre3-r5 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Dual Core AMD Opteron(tm) Processor 165 Gentoo Base System version 1.12.1 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=k8 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer notitles sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X Xaw3d alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cli crypt cups dlloader dri eds emacs emboss encode esd foomaticdb gdbm gif glitz gs gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mailwrapper md5sum mikmod motif mp3 mpeg ncurses nls nptl offensive ogg opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection rle samba sdl session smp spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vorbis xinerama xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of 141804 ***
.