Quanta 3.3_pre20040506 fails to compile with gcc-3.4.0. The application compiles as normal with gcc 3.3.3 Reproducible: Always Steps to Reproduce: 1.emerge quanta 2. 3. Actual Results: Good - your configure finished. Start make now make all-recursive make[1]: Entering directory `/var/tmp/portage/quanta-3.3_pre20040506/work/kdewebdev-3.3-be2' Making all in lib make[2]: Entering directory `/var/tmp/portage/quanta-3.3_pre20040506/work/kdewebdev-3.3-be2/lib' Making all in compatibility make[3]: Entering directory `/var/tmp/portage/quanta-3.3_pre20040506/work/kdewebdev-3.3-be2/lib/compatibility' Making all in kmdi make[4]: Entering directory `/var/tmp/portage/quanta-3.3_pre20040506/work/kdewebdev-3.3-be2/lib/compatibility/kmdi' Making all in structure make[5]: Entering directory `/var/tmp/portage/quanta-3.3_pre20040506/work/kdewebdev-3.3-be2/lib/compatibility/kmdi/structure' g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DKOMMANDER -DDESIGNER -DQT_NO_SQL -DHAVE_KDE -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=athlon-xp -fomit-frame-pointer -pipe -ffast-math -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DCOMPAT_KMDI -DBUILD_KAFKAPART -c -o test-kdict.o `test -f 'test-kdict.cpp' || echo './'`test-kdict.cpp In file included from Trie.h:50, from kdict.h:20, from test-kdict.cpp:6: Trie.hxx: In member function `unsigned int Structure::Trie<Symbol, String, Component>::size() const': Trie.hxx:262: error: there are no arguments to `num_components' that depend on a template parameter, so a declaration of `num_components' must be available Trie.hxx:262: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from test-kdict.cpp:6: kdict.h: In constructor `KDict<type>::KDict(bool)': kdict.h:29: error: `component' undeclared (first use this function) kdict.h:29: error: (Each undeclared identifier is reported only once for each function it appears in.) kdict.h: In constructor `KDict<type>::KDict(int, bool)': kdict.h:34: error: `component' undeclared (first use this function) kdict.h: In copy constructor `KDict<type>::KDict(const KDict<type>&)': kdict.h:37: error: there are no arguments to `kDebug' that depend on a template parameter, so a declaration of `kDebug' must be available kdict.h:38: error: `component' undeclared (first use this function) kdict.h: In member function `unsigned int KDict<type>::count() const': kdict.h:58: error: there are no arguments to `num_components' that depend on a template parameter, so a declaration of `num_components' must be available kdict.h: In member function `uint KDict<type>::size() const': kdict.h:103: error: there are no arguments to `num_components' that depend on a template parameter, so a declaration of `num_components' must be available make[5]: *** [test-kdict.o] Error 1 make[5]: Leaving directory `/var/tmp/portage/quanta-3.3_pre20040506/work/kdewebdev-3.3-be2/lib/compatibility/kmdi/structure' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/quanta-3.3_pre20040506/work/kdewebdev-3.3-be2/lib/compatibility/kmdi' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/quanta-3.3_pre20040506/work/kdewebdev-3.3-be2/lib/compatibility' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/quanta-3.3_pre20040506/work/kdewebdev-3.3-be2/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/quanta-3.3_pre20040506/work/kdewebdev-3.3-be2' make: *** [all] Error 2 !!! ERROR: app-editors/quanta-3.3_pre20040506 failed. !!! Function kde_src_compile, Line 129, Exitcode 2 !!! died running emake, kde_src_compile:make Expected Results: Successful compile Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3.20040420-r0, 2.6.7-ck1) ================================================================= System uname: 2.6.7-ck1 i686 AMD Athlon(tm) XP 2700+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -ffast-math" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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 -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb bonobo cdr crypt cups dga dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jpeg krb4 libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype usb x86 xml2 xmms xv xvid zlib"
The version affected is not in portage anymore, later versions should be ok.