log attached Portage 2.0.51_rc7 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.4.26-gentoo-r8 i686) ================================================================= System uname: 2.4.26-gentoo-r8 i686 AMD Athlon(tm) XP 1500+ Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -fstack-protector" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs digest distlocks fixpackages noinfo sandbox sfperms" GENTOO_MIRRORS="http://gentoo.binarycompass.org http://gentoo.ccccom.com" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://10.0.0.4/portage" USE="3dnow X aalib adns alsa apm avi bitmap-fonts bonobo crypt cscope dga divx4linux dvd dvdread edl encode faad fam flac foomaticdb freetds gdbm ggi gif gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jpeg lcd ldap libcaca libg++ libwww live lzo mad mailwrapper matroska md5sum mikmod mmx mng motif mozilla moznocompose moznoirc moznomail mpeg music mysql nas ncurses network nogcj offensive ofx oggvorbis openal opengl pam pdflib perl pic png postgres python qt quicktime readline rtc samba sasl sdl slang speex spell sqlite sse ssl svga tcltk tcpd tetex tga theora tiff truetype unicode videos wmf x86 xface xml xml2 xmms xosd xprint xv xvid zlib"
g++ -o nsFreeType.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -I../.. -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I../../../dist/include -I/var/tmp/portage/mozilla-firefox-1.0_pre-r2/work/mozilla/dist/include/nspr -I/usr/include/freetype2 -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon-xp -pipe -fstack-protector -Wno-deprecated -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp In file included from nsFreeType.h:39, from nsFreeType.cpp:48: ../../../dist/include/gfx/nsIFreeType2.h:53: error: `FTC_Image_Cache' was not declared in this scope ../../../dist/include/gfx/nsIFreeType2.h:53: error: `aImageCache' was not declared in this scope ../../../dist/include/gfx/nsIFreeType2.h:53: error: variable declaration is not allowed here ../../../dist/include/gfx/nsIFreeType2.h:92: error: `FTC_Image_Cache' was not declared in this scope ../../../dist/include/gfx/nsIFreeType2.h:92: error: parse error before `,' token ../../../dist/include/gfx/nsIFreeType2.h:104: error: type specifier omitted for parameter `FTC_Image_Cache' ../../../dist/include/gfx/nsIFreeType2.h:104: error: parse error before `*' token In file included from nsFreeType.cpp:48: nsFreeType.h:107: error: `FTC_Image_Cache' was not declared in this scope nsFreeType.h:107: error: `FTC_Image_Desc' was not declared in this scope nsFreeType.h:107: error: parse error before `,' token nsFreeType.h:113: error: type specifier omitted for parameter `FTC_Image_Cache' nsFreeType.h:113: error: parse error before `*' token nsFreeType.h:145: error: `FTC_Image_Cache' was not declared in this scope nsFreeType.h:145: error: `aImageCache' was not declared in this scope nsFreeType.h:145: error: invalid data member initialization nsFreeType.h:145: error: (use `=' to initialize static data members) nsFreeType.h:145: error: `GetImageCache' declared as a `virtual' field nsFreeType.h:145: warning: `visibility' attribute ignored nsFreeType.h:145: error: `FTC_Image_Cache' was not declared in this scope nsFreeType.h:145: error: parse error before `,' token nsFreeType.h:145: error: type specifier omitted for parameter `FTC_Image_Cache' nsFreeType.h:145: error: parse error before `*' token nsFreeType.h:216: error: 'FTC_Image_Cache' is used as a type, but is not defined as a type. nsFreeType.cpp:101: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Done_Face' of NULL object nsFreeType.cpp:101: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:102: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Done_FreeType' of NULL object nsFreeType.cpp:102: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:103: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Done_Glyph' of NULL object nsFreeType.cpp:103: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:104: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Get_Char_Index' of NULL object nsFreeType.cpp:104: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:105: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Get_Glyph' of NULL object nsFreeType.cpp:105: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:106: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Get_Sfnt_Table' of NULL object nsFreeType.cpp:106: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:107: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Glyph_Get_CBox' of NULL object nsFreeType.cpp:107: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:108: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Init_FreeType' of NULL object nsFreeType.cpp:108: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:109: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Load_Glyph' of NULL object nsFreeType.cpp:109: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:110: warning: invalid access to non-static data member ` nsFreeType2::nsFT_New_Face' of NULL object nsFreeType.cpp:110: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:111: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Outline_Decompose' of NULL object nsFreeType.cpp:111: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:112: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Set_Charmap' of NULL object nsFreeType.cpp:112: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:113: warning: invalid access to non-static data member ` nsFreeType2::nsFTC_Image_Cache_Lookup' of NULL object nsFreeType.cpp:113: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:114: warning: invalid access to non-static data member ` nsFreeType2::nsFTC_Manager_Lookup_Size' of NULL object nsFreeType.cpp:114: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:115: warning: invalid access to non-static data member ` nsFreeType2::nsFTC_Manager_Done' of NULL object nsFreeType.cpp:115: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:116: warning: invalid access to non-static data member ` nsFreeType2::nsFTC_Manager_New' of NULL object nsFreeType.cpp:116: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:117: warning: invalid access to non-static data member ` nsFreeType2::nsFTC_Image_Cache_New' of NULL object nsFreeType.cpp:117: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:119: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Glyph_Transform' of NULL object nsFreeType.cpp:119: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:120: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Get_Kerning' of NULL object nsFreeType.cpp:120: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:121: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Glyph_Copy' of NULL object nsFreeType.cpp:121: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:122: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Glyph_To_Bitmap' of NULL object nsFreeType.cpp:122: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:124: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Get_First_Char' of NULL object nsFreeType.cpp:124: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:125: warning: invalid access to non-static data member ` nsFreeType2::nsFT_Get_Next_Char' of NULL object nsFreeType.cpp:125: warning: (perhaps the `offsetof' macro was used incorrectly) nsFreeType.cpp:285: error: `FTC_Image_Cache' was not declared in this scope nsFreeType.cpp:285: error: parse error before `,' token nsFreeType.cpp: In member function `virtual nsresult nsFreeType.cpp: In member function `virtual nsresult nsFreeType2::ImageCacheLookup(...)': nsFreeType.cpp:289: error: `cache' undeclared (first use this function) nsFreeType.cpp:289: error: (Each undeclared identifier is reported only once for each function it appears in.) nsFreeType.cpp:289: error: `desc' undeclared (first use this function) nsFreeType.cpp:289: error: `glyphID' undeclared (first use this function) nsFreeType.cpp:289: error: `glyph' undeclared (first use this function) nsFreeType.cpp: At global scope: nsFreeType.cpp:323: error: type specifier omitted for parameter ` FTC_Image_Cache' nsFreeType.cpp:323: error: parse error before `*' token nsFreeType.cpp: In member function `virtual nsresult nsFreeType2::ImageCacheNew(...)': nsFreeType.cpp:326: error: `manager' undeclared (first use this function) nsFreeType.cpp: At global scope: nsFreeType.cpp:392: error: `FTC_Image_Cache' was not declared in this scope nsFreeType.cpp:392: error: `aCache' was not declared in this scope nsFreeType.cpp:393: error: `nsresult nsFreeType2::GetImageCache' is not a static member of `class nsFreeType2' nsFreeType.cpp:393: error: syntax error before `{' token nsFreeType.cpp: In member function `void nsFreeType2::ClearGlobals()': nsFreeType.cpp:429: error: `mImageCache' undeclared (first use this function) gmake[4]: *** [nsFreeType.o] Error 1 gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0_pre-r2/work/mozilla/gfx/src/freetype' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0_pre-r2/work/mozilla/gfx/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0_pre-r2/work/mozilla/gfx' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0_pre-r2/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-firefox-1.0_pre-r2 failed.
dup from #59849
nice catch Benoit! *** This bug has been marked as a duplicate of 59849 ***