i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -DNDEBUG -march=athlon-xp -O2 -pipe -ffast-math -fforce-addr -falign-functions=64 -fprefetch-loop-arrays -ftree-vectorize -fvisibility-inlines-hidden -MT WP5ExtendedCharacterGroup.lo -MD -MP -MF .deps/WP5ExtendedCharacterGroup.Tpo -c WP5ExtendedCharacterGroup.cpp -fPIC -DPIC -o .libs/WP5ExtendedCharacterGroup.o WP5FixedLengthGroup.h:34: error: extra qualification 'WP5FixedLengthGroup::' on member 'WP5FixedLengthGroup' WP5FixedLengthGroup.h:35: error: extra qualification 'WP5FixedLengthGroup::' on member 'constructFixedLengthGroup' make[3]: *** [WP5AttributeGroup.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... WP5FixedLengthGroup.h:34: error: extra qualification 'WP5FixedLengthGroup::' on member 'WP5FixedLengthGroup' WP5FixedLengthGroup.h:35: error: extra qualification 'WP5FixedLengthGroup::' on member 'constructFixedLengthGroup' make[3]: *** [WP5ExtendedCharacterGroup.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/libwpd-0.8.2/work/libwpd-0.8.2/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libwpd-0.8.2/work/libwpd-0.8.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libwpd-0.8.2/work/libwpd-0.8.2' make: *** [all] Error 2 !!! ERROR: app-text/libwpd-0.8.2 failed. Portage 2.1_pre7-r5 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.14 ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 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.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -ffast-math -fforce-addr -falign-functions=64 -fprefetch-loop-arrays -ftree-vectorize" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -ffast-math -fforce-addr -falign-functions=64 -fprefetch-loop-arrays -ftree-vectorize -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.seren.com/gentoo ftp://gentoo.chem.wisc.edu/gentoo/" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--sort-common " LINGUAS="en pt_BR" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/overlay" SYNC="rsync://portage.cert-id.com.br/portage" USE="x86 3dnow 3dnowext X a52 aac acl acpi alsa apache2 apm arts async authdaemond automount avi berkdb bitmap-fonts bluetooth bootsplash browserplugin bzip2 cairo cdparanoia cdr cjk cli crypt cups curl curlwrappers dba dbase dbus dga dhcp divx4linux doc dri dv dvd dvdr dvdread eds emboss encode examples fbcon firebird firefox flac flash foomaticdb fortran gcj gd gdbm geoip gif gnome gpm gstreamer gtk gtk2 hal iconv imap imlib innodb interbase ipv6 isdnlog jabber java javascript joystick jpeg jpeg2k kde kdeenablefinal kdepim kdexdeltas kerberos ldap ldapsam libclamav libg++ libwww lm_sensors mad madwifi maildir mailwrapper mhash mikmod mmx mmxext motif mozilla mozsvg mp3 mpeg mplayer multislot multitarget mysql mysqli ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis opengl oss pam pam_chroot pam_console pcre pda pdf pdflib perl php pic png posix postgres povray pppd prelink python qt quicktime rdesktop readline samba sasl sdk sdl session snmp soap sockets speex spell sqlite sse ssl subversion svg syslog tcpd theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode utf8 vhosts vorbis wddx wifi win32 win32codecs wmf xine xml xml2 xmms xorg xscreensaver xsl xv xvid yahoo zeroconf zlib elibc_glibc input_devices_aiptek input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_pt_BR userland_GNU video_cards_ati video_cards_radeon video_cards_fglrx video_cards_fbdev video_cards_vesa" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL BEFORE you kick me for my insane USE flags and LDFLAGS, I tried again with more modest compilation options and the same error occurs: Portage 2.1_pre7-r5 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.14 ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 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.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.seren.com/gentoo ftp://gentoo.chem.wisc.edu/gentoo/" LANG="C" LINGUAS="en pt_BR" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/overlay" SYNC="rsync://portage.cert-id.com.br/portage" USE="x86 3dnow 3dnowext X a52 aac acl acpi alsa apache2 apm arts async authdaemond automount avi berkdb bitmap-fonts bluetooth bootsplash browserplugin bzip2 cairo cdparanoia cdr cjk cli crypt cups curl curlwrappers dba dbase dbus dga dhcp divx4linux doc dri dv dvd dvdr dvdread eds emboss encode examples fbcon firebird firefox flac flash foomaticdb fortran gcj gd gdbm geoip gif gnome gpm gstreamer gtk gtk2 hal iconv imap imlib innodb interbase ipv6 isdnlog jabber java javascript joystick jpeg jpeg2k kde kdeenablefinal kdepim kdexdeltas kerberos ldap ldapsam libclamav libg++ libwww lm_sensors mad madwifi maildir mailwrapper mhash mikmod mmx mmxext motif mozilla mozsvg mp3 mpeg mplayer multislot multitarget mysql mysqli ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis opengl oss pam pam_chroot pam_console pcre pda pdf pdflib perl php pic png posix postgres povray pppd prelink python qt quicktime rdesktop readline samba sasl sdk sdl session snmp soap sockets speex spell sqlite sse ssl subversion svg syslog tcpd theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode utf8 vhosts vorbis wddx wifi win32 win32codecs wmf xine xml xml2 xmms xorg xscreensaver xsl xv xvid yahoo zeroconf zlib elibc_glibc input_devices_aiptek input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_pt_BR userland_GNU video_cards_ati video_cards_radeon video_cards_fglrx video_cards_fbdev video_cards_vesa" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS
Use ~x86 version if you want GCC 4.1, as that works.
*** Bug 131253 has been marked as a duplicate of this bug. ***