g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -fno-exceptions -w -O2 -D_REENTRANT -DQT_INTERNAL_NETWORK -DQT_INTERNAL_XML -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/moc_mainwindow.o .moc/release-shared-mt/moc_mainwindow.cpp In file included from mainwindow.ui.h:174, from mainwindow.cpp:49: ../../include/qglist.h: In member function `type* QPtrListIterator<type>::current() const [with type = QObject]': mainwindow.ui.h:214: instantiated from here ../../include/qglist.h:253: variable-size type declared outside of any function In file included from mainwindow.ui.h:174, from mainwindow.cpp:49: ../../include/qglist.h: In member function `type* QPtrListIterator<type>::current() const [with type = QAction]': mainwindow.ui.h:220: instantiated from here ../../include/qglist.h:253: variable-size type declared outside of any function In file included from mainwindow.ui.h:166, from mainwindow.cpp:49: ../../include/qglist.h: In member function `type* QPtrListIterator<type>::operator*() [with type = QAction]': mainwindow.ui.h:221: instantiated from here ../../include/qglist.h:253: variable-size type declared outside of any function make[2]: *** [.obj/release-shared-mt/mainwindow.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/tools/assistant' make[1]: *** [sub-assistant] Error 2 make[1]: Leaving directory `/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/tools' make: *** [sub-tools] Error 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r1, 2.4.20-gentoo-r8) ================================================================= System uname: 2.4.20-gentoo-r8 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.3.10p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -fmove-all-movables -mfpmath=sse,387" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -fmove-all-movables -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache fixpackages keeptemp keepwork userpriv" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.berlios.de/pub/gentoo-deutsch http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap cdr scanner 3dnow acl acpi acpi4linux artswrappersuid auctex clisp cmucl cscope curl dga dnd doc dvb dvd dvdr emacs ext-png ext-zlib faad fbcon firebird gcl gd glut gstreamer gtk2 hbci imagemagick imap innodb jack jack-caps jack-tmpfs java javascript jdepend jikes junit jython ladcca lcms lirc ltsp maildir mbox md5sum mmx mng moznocompose moznoirc moznomail mozsvg mozxmlterm oav openal php plotutils pnp ppds ruby18 samba sasl skey slp sse tiff transcode unicode usb vim-with-x wmf X509 Xaw3d xml xvid zeo -gnome -quicktime -guile -esd"
yuck.
lol - what a comment. Without mysql includes (4.0.14-r2 here) it compiles fine.
Remerged qt today, because no one confirmed the bug. It compiled without a problem. Closing.