After a lot of compilation time, I get this error: i686-pc-linux-gnu-g++ -o nsModule.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2006011310 -I./../windowds -I./../../browser/src -I./../download-manager/src -I./../autocomplete/src -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/content -I../../../dist/include/rdf -I../../../dist/include/necko -I../../../dist/include/necko2 -I../../../dist/include/nkcache -I../../../dist/include/intl -I../../../dist/include/locale -I../../../dist/include/mork -I../../../dist/include/widget -I../../../dist/include/dom -I../../../dist/include/uriloader -I../../../dist/include/mimetype -I../../../dist/include/webbrowserpersist -I../../../dist/include/progressDlg -I../../../dist/include/pref -I../../../dist/include/docshell -I../../../dist/include/webshell -I../../../dist/include/appshell -I../../../dist/include/downloadmanager -I../../../dist/include/appcomps -I../../../dist/include -I../../../dist/include/nspr -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=i686 -pipe -Wno-deprecated -Wno-return-type -w -fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -O2 -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsModule.pp nsModule.cpp nsModule.cpp:45:27: nsCharsetMenu.h: No such file or directory nsModule.cpp:46:34: nsFontPackageHandler.h: No such file or directory nsModule.cpp: In function `nsresult nsFontPackageHandlerConstructor(nsISupports*, const nsIID&, void**)': nsModule.cpp:68: error: `nsFontPackageHandler' undeclared (first use this function) nsModule.cpp:68: error: (Each undeclared identifier is reported only once for each function it appears in.) nsModule.cpp:68: error: `inst' undeclared (first use this function) nsModule.cpp:68: error: syntax error before `(' token nsModule.cpp: At global scope: nsModule.cpp:112: error: `NS_CHARSETMENU_CID' was not declared in this scope nsModule.cpp:113: error: syntax error before `,' token nsModule.cpp:114: error: `NS_NewCharsetMenu' was not declared in this scope nsModule.cpp:115: error: `NS_FONTPACKAGEHANDLER_CID' was not declared in this scope gmake[4]: *** [nsModule.o] Error 1 gmake[4]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5/work/mozilla/xpfe/components/build2' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5/work/mozilla/xpfe/components' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5/work/mozilla/xpfe' gmake[1]: *** [tier_50] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5/work/mozilla' make: *** [default] Error 2 $ emerge --info Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base System version 1.12.0_pre13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apm arts atm audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl debug dga divx4linux dvd dvdread eds emboss encode esd ethereal exif expat fam ffmpeg firefox foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imlib ipv6 java jpeg lcms libg++ libwww mad mikmod mng motif mp3 mpeg msn ncurses nls offensive ogg oggvorbis opengl oss pam pcre pdflib perl png python quicktime readline recode samba scanner sdl sharedmem softmmu spell ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb v4l vorbis wxwindows xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
MAKEOPTS="-j1" emerge mozilla-thunderbird I will be forcing -j1 soon.
FYI, it compiled OK here with -j3 on an AMD SMP (and -Os allowed by editing the eclass), and also with -j3 on an AMD64.
(In reply to comment #1) > MAKEOPTS="-j1" emerge mozilla-thunderbird I will be forcing -j1 soon. > Same problem, solution worked for me as well.
*** Bug 121971 has been marked as a duplicate of this bug. ***
Sorry for the duplicate, FYI, MAKEOPTS="-j1" works for me too. Thank you.
*** Bug 128414 has been marked as a duplicate of this bug. ***
This should already be fixed reopen or comment if not and I will get the patch applied.