kdepim-3.1.3 fails to emerge with gcc-3.3-r1 /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../korganizer/interfaces -I../.. -I../../libical/src/libical -I../../libical/src/libicalss -I../../libical/src/libical -I../../libical/src/libicalss -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -O3 -mmmx -msse -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math -fprefetch-loop-arrays -maccumulate-outgoing-args -fPIC -ftracer -fno-exceptions -fno-check-new -c -o exchangeaccount.lo `test -f 'exchangeaccount.cpp' || echo './'`exchangeaccount.cpp exchangeaccount.cpp:258: error: cannot declare member function `static QString KPIM::ExchangeAccount::tryMailbox(const QString&, const QString&, const QString&)' to have static linkage make[4]: *** [exchangeaccount.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3/libkpimexchange/core' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3/libkpimexchange/core' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3/libkpimexchange' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3' make: *** [all] Error 2 !!! ERROR: kde-base/kdepim-3.1.3 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make $ emerge info Portage 2.0.48-r7 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss apm avi crypt cups foomaticdb gif jpeg libg++ mad mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb readline java X sdl tcpd pam libwww python esd imlib oggvorbis qt kde opengl -3dnow -aalib acl acpi acpi4linux -afs -alsa -arts -cdr -dvd -encode ethereal -gnome -gpm -gtk -gtk2 imap -innodb -ipv6 jikes ldap -mikmod -motif -mysql -nls -odbc perl -ruby -samba sasl -scanner -slang -slp -snmp -socks5 sse ssl -svga tcltk -tetex threads tiff usb wmf -xface xfs xml" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -mmmx -msse -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math -fprefetch-loop-arrays -maccumulate-outgoing-args -fPIC -ftracer" CXXFLAGS="-march=pentium3 -O3 -mmmx -msse -mfpmath=sse -pipe -fomit-frame-pointer -ffast-math -fprefetch-loop-arrays -maccumulate-outgoing-args -fPIC -ftracer" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j4" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache distcc userpriv usersandbox" Reproducible: Always Steps to Reproduce:
This is a gcc-3.3 problem. We don't support kde-3.1.x with gcc-3.3 yet, but we are willing to accept clean patches to fix the problems. (Preferably from official kde sources (mailing list, bugzilla, etc))