When I try to emerge openoffice 1.1.3, I get this error message : In file included from gcach_ftyp.hxx:65, from /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:69: ../../inc/glyphcache.hxx:96: warning: specializing `struct _STL::hash<ImplFontSelectData>' in different namespace /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/solver/645/unxlngi4.pro/inc/stl/stl/_hash_fun.h:40: warning: from definition of `template<class _Key> struct _STL::hash' ../../inc/glyphcache.hxx:127: warning: friend declaration requires class-key, i.e. `friend struct ServerFont' ../../inc/glyphcache.hxx:247: warning: friend declaration requires class-key, i.e. `friend class GlyphCache' ../../inc/glyphcache.hxx:248: warning: friend declaration requires class-key, i.e. `friend struct ServerFontLayout' In file included from /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:69: gcach_ftyp.hxx:216: warning: friend declaration requires class-key, i.e. `friend class GlyphCache' In file included from /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:80: /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" /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx: In member function `long int FreetypeManager::AddFontDir(const String&)': /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:530: warning: comparison between `enum oslFileError' and `enum osl::FileBase::RC' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx: In member function `int FreetypeServerFont::ApplyGlyphTransform(int, FT_GlyphRec_*) const': /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:906: warning: converting to `long int' from `double' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:908: warning: converting to `long int' from `double' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:909: warning: converting to `long int' from `double' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:910: warning: converting to `long int' from `double' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:911: warning: converting to `long int' from `double' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:917: warning: converting to `long int' from `double' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:918: warning: converting to `long int' from `double' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:919: warning: converting to `long int' from `double' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:920: warning: converting to `long int' from `double' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:921: warning: converting to `long int' from `double' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:922: warning: converting to `long int' from `double' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx: In member function `virtual void FreetypeServerFont::InitGlyphData(int, GlyphData&) const': /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:1101: warning: converting to `int' from `double' /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx: In member function `virtual ULONG FreetypeServerFont::GetKernPairs(ImplKernPairData**) const': /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs/gcach_ftyp.cxx:1582: warning: comparison is always false due to limited range of data type dmake: Error code 1, while making '../../unxlngi4.pro/slo/gcach_ftyp.obj' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.3-r1/work/OOo_1.1.3_src/vcl/source/glyphs !!! ERROR: app-office/openoffice-1.1.3-r1 failed. !!! Function src_compile, Line 365, Exitcode 1 !!! Build failed! !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: :) to have openoffice on my gentoo... # emerge --info Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 23 2004, 14:42:40)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups divx4linux dvd dvdread encode fam flac foomaticdb fortran gdbm gif gimpprint gpm gtk gtk2 imagemagick imlib ipv6 jpeg libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline real scanner sdl spell ssl svga tcltk tcpd tiff truetype usb userlocales v4l v4l2 xine xml2 xmms xv xvid xvmc zlib"
This is caused by a new version of freetype. You could try to downgrade your freetype, and then openoffice should compile again. We will also try to work on fixing it.
There is now a newer version (1.1.4) in portage which includes a patch for this problem, thanks for reporting.