When using ebuild /usr/portage/net-www/mozilla-firebird/mozilla-firebird-0.6.1.ebuild package, a syntax error halts compilation. Reproducible: Always Steps to Reproduce: 1. ebuild /usr/portage/net-www/mozilla-firebird/mozilla-firebird-0.6.1.ebuild package Actual Results: [...] g++ -o nsGraphicsStateGTK.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DUSE_POSTSCRIPT -DUSE_XPRINT -DUSE_MOZILLA_TYPES -I../.. -I./. -I./.. -I./../shared -I./../freetype -I./../x11shared -I/usr/X11R6/include -I/usr/include/freetype2 -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content -I../../../dist/include/layout -I../../../dist/include/imglib2 -I../../../dist/include/xprintutil -I../../../dist/include/gfx -I../../../dist/include -I/var/tmp/portage/mozilla-firebird-0.6.1/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -frtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -O2 -mcpu=i686 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsGraphicsStateGTK.pp nsGraphicsStateGTK.cpp nsImageGTK.cpp g++ -o nsImageGTK.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DUSE_POSTSCRIPT -DUSE_XPRINT -DUSE_MOZILLA_TYPES -I../.. -I./. -I./.. -I./../shared -I./../freetype -I./../x11shared -I/usr/X11R6/include -I/usr/include/freetype2 -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content -I../../../dist/include/layout -I../../../dist/include/imglib2 -I../../../dist/include/xprintutil -I../../../dist/include/gfx -I../../../dist/include -I/var/tmp/portage/mozilla-firebird-0.6.1/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -frtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -O2 -mcpu=i686 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsImageGTK.pp nsImageGTK.cpp In file included from nsGfxFactoryGTK.cpp:66: nsFontMetricsXft.h:53: syntax error before `*' token nsFontMetricsXft.h:211: syntax error before `*' token nsFontMetricsXft.h:213: syntax error before `*' token nsFontMetricsXft.h:215: syntax error before `*' token nsFontMetricsXft.h:218: syntax error before `*' token nsFontMetricsXft.h:233: `FcChar32' was not declared in this scope nsFontMetricsXft.h:233: syntax error before `,' token nsFontMetricsXft.h:238: syntax error before `*' token nsFontMetricsXft.h:267: syntax error before `*' token gmake[4]: *** [nsGfxFactoryGTK.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firebird-0.6.1/work/mozilla/gfx/src/gtk' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firebird-0.6.1/work/mozilla/gfx/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firebird-0.6.1/work/mozilla/gfx' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firebird-0.6.1/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-firebird-0.6.1 failed. !!! Function src_compile, Line 170, Exitcode 2 !!! (no error message) Expected Results: A .tbz2 package should have been generated. mozilla-firebird-bin is installed, but that should not affect a package compile. Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Celeron (Coppermine) GENTOO_MIRRORS="http://gentoo.seren.com/gentoo rsync://gentoo.seren.com/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell xml2 xmms xv gdbm berkdb slang readline tetex svga java guile sdl gpm tcpd pam libwww ssl python esd imlib qt motif opengl mozilla cdr -arts mysql cups tcltk X gtk -gnome alsa kde crypt emacs encode ipv6 mmx oggvorbis perl truetype zlib apache2" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Also - I've downgraded X to 4.2.1 from 4.3.x to work around bug 8927, with the necessary .so files copied from the newer versions.
closing this bug since mozilla-firebird no longer exists in portage