Superkaramba will not compile on amd64/gcc 3.4, errors out on [xmmssensor.o] but USE="-xmms" does not help. The plaform is MSI K8T Master2-FAR * Dual Opteron 244s 1 GB RAM. sys-devel/gcc-3.4.0-r4 emerge output attached... Reproducible: Always Steps to Reproduce: 1. emerge superkaramba 2. 3. Actual Results: emerge errored out in this way: /usr/include/glib-1.2/glib.h:1317:25: warning: ISO C does not permit named variadic macros In file included from xmmssensor.cpp:13: /usr/include/xmms/xmmsctrl.h:90: error: extra `;' make[3]: *** [xmmssensor.o] Error 1 make[3]: *** Waiting for unfinished jobs.... imagelabel.cpp: In member function `virtual void ImageLabel::setValue(QString)': imagelabel.cpp:250: warning: `download' is deprecated (declared at /usr/kde/3.2/include/kio/netaccess.h:115) imagelabel.cpp: In member function `void ImageLabel::parseImages(QString, QString, int, int, int, int)': imagelabel.cpp:412: warning: `download' is deprecated (declared at /usr/kde/3.2/include/kio/netaccess.h:115) imagelabel.cpp:456: warning: `download' is deprecated (declared at /usr/kde/3.2/include/kio/netaccess.h:115) imagelabel.cpp: At global scope: imagelabel.cpp:540: error: extra `;' imagelabel.cpp:552: error: extra `;' make[3]: *** [imagelabel.o] Error 1 make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/superkaramba-0.33-r1/work/superkaramba-0.33/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/superkaramba-0.33-r1/work/superkaramba-0.33' make: *** [all] Error 2 !!! ERROR: x11-misc/superkaramba-0.33-r1 failed. !!! Function kde_src_compile, Line 129, Exitcode 2 !!! died running emake, kde_src_compile:make Expected Results: Running superkaramba bash-2.05b# emerge info Portage 2.0.50-r6 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.3_pre20040420-r1, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 x86_64 5 Gentoo Base System version 1.4.15 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://ibiblio.org/pub/Linux/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb cdr crypt cups divx4linux dvd encode foomaticdb freetype gdbm ghostscript gif gimp-print gnome gpm gtk2 imagemagick imlib jpeg kde libg++ libwww mikmod motif mpeg ncurses nls nogcj offensive oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell ssl tcpd truetype truetype2 usb xml2 xmms xv xvid zlib"
Created attachment 32165 [details] emerge output
Note: There are a couple of places where superkaramba needs trivial gcc3.4 patching to remove trailing ';' after closing braces - but also since superkaramba appears to compile in xmms support - there is a fix required in the /usr/include/xmms/xmmsctrl.h header provided by the xmms package also (which only rears it's head when that include file is used in C++ land. I shall post patches later - right now I'm installing kde so I can test them properly...
Created attachment 32769 [details, diff] Trivial superkaramba gcc 3.4 compilation fixes.
Created attachment 32770 [details, diff] Associated patch to superkaramba ebuild for gcc 3.4
Add dependancy on xmmsctrl.h fix. (bug #53125)
Fixed in cvs.