When attempting to emerge app-doc/doxygen-1.5.4, the build process fails to compile rtfgen.cpp and exits. See the error message in "Actual Results". Reproducible: Always Steps to Reproduce: 1.emerge -v doxygen Actual Results: The emerge process builds for a while and then fails with the following error: i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -fno-rtti -Wall -W -fno-exceptions -O2 -march=pentium4 -pipe -fomit-frame-pointer -I../qtools -I../libpng -I../libmd5 -o ../objects/rtfgen.o rtfgen.cpp fortranscanner.l: In function `Argument* addFortranParameter(const QCString&, const QCString&, QString)': fortranscanner.l:1135: error: cannot convert `const bool' to `Argument*' in return gmake[2]: *** [../objects/fortranscanner.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory `/var/tmp/portage/app-doc/doxygen-1.5.4/work/doxygen-1.5.4/src' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/app-doc/doxygen-1.5.4/work/doxygen-1.5.4/src' make: *** [all] Error 2 Expected Results: A successful build and merge # emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-3.3.6, glibc-2.6.1-r0, 2.6.23-gentoo i686) ================================================================= System uname: 2.6.23-gentoo i686 Intel(R) Celeron(R) CPU 2.40GHz Timestamp of tree: Mon, 11 Feb 2008 08:16:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://linux.cs.lewisu.edu/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="3dfx 3dnow X aac acl agg alsa bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt cups doc dri ffmpeg fortran gdbm gif glut glx gnome gpm grass gstreamer gtk iconv ipv6 isdnlog jpeg mad midi mng mp3 mudflap ncurses nptl nptlonly nsplugin ogg opengl openmp oss pam pcre perl png pppd python readline reflection session spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis x86 xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse kbd" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vga i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Reopen if you can reproduce this with a support gcc version... thanks. http://www.gentoo.org/doc/en/gcc-upgrading.xml