Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52215 - Superkaramba will not compile on amd64/gcc 3.4, errors out on [xmmssensor.o] but USE="-xmms" does not help.
Summary: Superkaramba will not compile on amd64/gcc 3.4, errors out on [xmmssensor.o] ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on: 53125
Blocks:
  Show dependency tree
 
Reported: 2004-05-27 14:42 UTC by Rich Thompson
Modified: 2004-07-03 15:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge output (superkaramba.out,23.16 KB, text/plain)
2004-05-27 14:43 UTC, Rich Thompson
Details
Trivial superkaramba gcc 3.4 compilation fixes. (gcc-3.4.patch,552 bytes, patch)
2004-06-06 03:39 UTC, Malcolm Lashley (RETIRED)
Details | Diff
Associated patch to superkaramba ebuild for gcc 3.4 (superkaramba.ebuild.patch,359 bytes, patch)
2004-06-06 03:42 UTC, Malcolm Lashley (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rich Thompson 2004-05-27 14:42:03 UTC
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"
Comment 1 Rich Thompson 2004-05-27 14:43:17 UTC
Created attachment 32165 [details]
emerge output
Comment 2 Malcolm Lashley (RETIRED) gentoo-dev 2004-06-05 08:07:43 UTC
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...
Comment 3 Malcolm Lashley (RETIRED) gentoo-dev 2004-06-06 03:39:21 UTC
Created attachment 32769 [details, diff]
Trivial superkaramba gcc 3.4 compilation fixes.
Comment 4 Malcolm Lashley (RETIRED) gentoo-dev 2004-06-06 03:42:31 UTC
Created attachment 32770 [details, diff]
Associated patch to superkaramba ebuild for gcc 3.4
Comment 5 Malcolm Lashley (RETIRED) gentoo-dev 2004-06-06 03:54:17 UTC
Add dependancy on xmmsctrl.h fix. (bug #53125)
Comment 6 Malcolm Lashley (RETIRED) gentoo-dev 2004-07-03 15:52:28 UTC
Fixed in cvs.