$ emerge -pv mozilla-firefox net-www/mozilla-firefox-1.0.1 [1.0-r3] -debug -gnome +java* -ldap -mozdevelop -moznoxft -mozsvg -mozxmlterm -xinerama -xprint 0 kB the last part of the emerge output c++ -o nsDrawingSurfaceGTK.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DUSE_POSTSCRIPT -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/dom -I../../../dist/include/layout -I../../../dist/include/imglib2 -I../../../dist/include/gfx -I../../../dist/include -I/var/tmp/portage/mozilla-firefox-1.0.1/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 -pipe -mcpu=7400 -mabi=altivec -Wno-deprecated -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsDrawingSurfaceGTK.pp nsDrawingSurfaceGTK.cpp In file included from /usr/X11R6/include/X11/Xft/Xft.h:35, from nsDeviceContextGTK.cpp:78: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" gmake[4]: *** [nsDeviceContextGTK.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... In file included from /usr/X11R6/include/X11/Xft/Xft.h:35, from nsDrawingSurfaceGTK.cpp:53: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" gmake[4]: *** [nsDrawingSurfaceGTK.o] Error 1 gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.1/work/mozilla/gfx/src/gtk' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.1/work/mozilla/gfx/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.1/work/mozilla/gfx' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.1/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-firefox-1.0.1 failed. !!! Function src_compile, Line 105, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.19 (default-linux/ppc/2004.1, gcc-3.4.1, glibc-2.3.3.20040420-r2, 2.6.9 ppc) ================================================================= System uname: 2.6.9 ppc 7447/7457, altivec supported Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 23 2005, 18:03:50)] ccache version 2.2 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.9.4, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.90.0.3-r3 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa bash-completion berkdb bitmap-fonts cdr cups curl directfb dvd esd f77 flac font-server foomaticdb fortran gdbm gif gpm imagemagick imlib java jpeg lcms libwww mad motif mysql ncurses nls oggvorbis opengl pam perl png postgres ppc python qt readline sdl ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml xml2 xmms zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
emerge xorg, re-emerging freetype and finally emerging firefox solved the problem! so, i will close the bug leaving this report as reference!
if it's not clear: firefox won't compile anymore with xfree!