Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105897 - kdeutils 3.5-alpha1 compile fails when compiling superkaramba
Summary: kdeutils 3.5-alpha1 compile fails when compiling superkaramba
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 16:03 UTC by Leung Ki Chi
Modified: 2005-09-23 15:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leung Ki Chi 2005-09-13 16:03:48 UTC
kdeutils 3.5-alpha1 compile aborts when compiling superkaramba, with the
following error:

creating superkaramba.all_cpp.cpp ...
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.5/include
-I/usr/qt/3/include -I.   -I/usr/include/python2.3  -DQT_THREAD_SUPPORT 
-D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG
-DNO_DEBUG -O2 -march=i386 -mcpu=pentium4 -O2 -pipe -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION  -c -o superkaramba.all_cpp.o superkaramba.all_cpp.cpp
In file included from dcopinterface_stub.h:12,
                 from karamba.cpp:24,
                 from superkaramba.all_cpp.cpp:3:
/usr/kde/3.5/include/dcopstub.h:78: error: syntax error before `int'
/usr/kde/3.5/include/dcopstub.h:78: error: missing ';' before right brace
/usr/kde/3.5/include/dcopstub.h:86: error: non-member function `int status()'
   cannot have `const' method qualifier
/usr/kde/3.5/include/dcopstub.h:95: error: non-member function `bool ok()'
   cannot have `const' method qualifier
/usr/kde/3.5/include/dcopstub.h:97: error: syntax error before `protected'
/usr/kde/3.5/include/dcopstub.h:110: error: virtual outside class declaration
/usr/kde/3.5/include/dcopstub.h:132: error: syntax error before `{' token
/usr/kde/3.5/include/dcopstub.h:139: error: syntax error before `protected'
In file included from karamba.cpp:24,
                 from superkaramba.all_cpp.cpp:3:
dcopinterface_stub.h: In constructor `dcopIface_stub::dcopIface_stub()':
dcopinterface_stub.h:31: error: no matching function for call to `DCOPStub::
   DCOPStub(never_use_t)'
/usr/kde/3.5/include/dcopstub.h:42: error: candidates are:
   DCOPStub::DCOPStub(const DCOPStub&)
/usr/kde/3.5/include/dcopstub.h:64: error:
   DCOPStub::DCOPStub(const DCOPRef&)
/usr/kde/3.5/include/dcopstub.h:58: error:
   DCOPStub::DCOPStub(DCOPClient*, const QCString&, const QCString&)
/usr/kde/3.5/include/dcopstub.h:49: error:
   DCOPStub::DCOPStub(const QCString&, const QCString&)
In file included from /usr/include/python2.3/Python.h:8,
                 from bar_python.cpp:27,
                 from superkaramba.all_cpp.cpp:32:
/usr/include/python2.3/pyconfig.h:856:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/string.h:26,
                 from /usr/qt/3/include/qcstring.h:46,
                 from /usr/qt/3/include/qstring.h:42,
                 from /usr/qt/3/include/qwindowdefs.h:44,
                 from /usr/qt/3/include/qwidget.h:42,
                 from /usr/qt/3/include/qdesktopwidget.h:40,
                 from /usr/qt/3/include/qapplication.h:42,
                 from /usr/kde/3.5/include/kapplication.h:38,
                 from karambaapp.h:14,
                 from main.cpp:23,
                 from superkaramba.all_cpp.cpp:2:
/usr/include/features.h:150:1: warning: this is the location of the previous
definition
In file included from /usr/include/python2.3/Python.h:69,
                 from bar_python.cpp:27,
                 from superkaramba.all_cpp.cpp:32:
/usr/include/python2.3/object.h: At global scope:
/usr/include/python2.3/object.h:343: error: syntax error before `;' token
In file included from superkaramba.all_cpp.cpp:45:
karambainterface.cpp: In member function `virtual void
   KarambaIface::closeTheme(QString)':
karambainterface.cpp:81: warning: suggest parentheses around assignment used as
   truth value
In file included from kwidgetlistbox.h:23,
                 from themesdlg.cpp:25,
                 from superkaramba.all_cpp.cpp:50:
/usr/qt/3/include/qtable.h: At global scope:
/usr/qt/3/include/qtable.h:117: error: syntax error before numeric constant
/usr/qt/3/include/qtable.h:117: error: missing ';' before right brace
/usr/qt/3/include/qtable.h:119: error: syntax error before `*' token
/usr/qt/3/include/qtable.h:120: error: syntax error before `*' token
/usr/qt/3/include/qtable.h:121: error: syntax error before `*' token
/usr/qt/3/include/qtable.h:123: error: destructors must be member functions
/usr/qt/3/include/qtable.h:123: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:125: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:125: error: non-member function `QPixmap pixmap()'
   cannot have `const' method qualifier
/usr/qt/3/include/qtable.h:126: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:126: error: non-member function `QString text()'
   cannot have `const' method qualifier
/usr/qt/3/include/qtable.h:127: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:128: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:129: error: non-member function `QTable* table()'
   cannot have `const' method qualifier
/usr/qt/3/include/qtable.h: In function `QTable* table()':
/usr/qt/3/include/qtable.h:129: error: `t' undeclared (first use this function)
/usr/qt/3/include/qtable.h:129: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
/usr/qt/3/include/qtable.h: At global scope:
/usr/qt/3/include/qtable.h:131: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:131: error: non-member function `int alignment()'
   cannot have `const' method qualifier
/usr/qt/3/include/qtable.h:132: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:133: error: non-member function `bool wordWrap()'
   cannot have `const' method qualifier
/usr/qt/3/include/qtable.h:135: error: syntax error before `)' token
/usr/qt/3/include/qtable.h:136: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:136: error: non-member function `QWidget*
   createEditor()' cannot have `const' method qualifier
/usr/qt/3/include/qtable.h:137: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:138: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:139: error: non-member function `bool
   isReplaceable()' cannot have `const' method qualifier
/usr/qt/3/include/qtable.h:141: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:141: error: non-member function `QString key()'
   cannot have `const' method qualifier
/usr/qt/3/include/qtable.h:142: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:142: error: non-member function `QSize sizeHint()'
   cannot have `const' method qualifier
/usr/qt/3/include/qtable.h:144: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:145: error: non-member function `int rowSpan()'
   cannot have `const' method qualifier
/usr/qt/3/include/qtable.h:146: error: non-member function `int colSpan()'
   cannot have `const' method qualifier
/usr/qt/3/include/qtable.h:148: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:149: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:150: error: non-member function `int row()' cannot
   have `const' method qualifier
/usr/qt/3/include/qtable.h:151: error: non-member function `int col()' cannot
   have `const' method qualifier
/usr/qt/3/include/qtable.h:154: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:158: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:159: error: non-member function `bool isEnabled()'
   cannot have `const' method qualifier
/usr/qt/3/include/qtable.h:161: error: virtual outside class declaration
/usr/qt/3/include/qtable.h:161: error: non-member function `int rtti()' cannot
   have `const' method qualifier
/usr/qt/3/include/qtable.h:164: error: syntax error before `private'
/usr/qt/3/include/qtable.h:167: error: `QTable*t' used prior to declaration
/usr/qt/3/include/qtable.h:168: error: 'EditType' is used as a type, but is not
   defined as a type.
/usr/qt/3/include/qtable.h:169: error: syntax error before `:' token
/usr/qt/3/include/qtable.h:170: error: syntax error before `:' token
/usr/qt/3/include/qtable.h:171: error: syntax error before `:' token
/usr/qt/3/include/qtable.h:177: error: syntax error before `}' token
In file included from kwidgetlistbox.h:23,
                 from themesdlg.cpp:25,
                 from superkaramba.all_cpp.cpp:50:
/usr/qt/3/include/qtable.h:197: error: no members matching `using
   QTableItem::text' in `class QTableItem'
/usr/qt/3/include/qtable.h:276: error: type specifier omitted for parameter `
   QTableItem'
/usr/qt/3/include/qtable.h:276: error: syntax error before `*' token
/usr/qt/3/include/qtable.h:279: error: ISO C++ forbids declaration of `
   QTableItem' with no type
/usr/qt/3/include/qtable.h:279: error: `QTableItem' declared as a `virtual'
   field
/usr/qt/3/include/qtable.h:279: error: syntax error before `*' token
/usr/qt/3/include/qtable.h:326: error: invalid use of member `
   QTable::QTableItem'
/usr/qt/3/include/qtable.h:326: error: `i' was not declared in this scope
/usr/qt/3/include/qtable.h:326: error: invalid data member initialization
/usr/qt/3/include/qtable.h:326: error: (use `=' to initialize static data
   members)
/usr/qt/3/include/qtable.h:326: error: variable or field `takeItem' declared
   void
/usr/qt/3/include/qtable.h:326: error: `takeItem' declared as a `virtual' field
/usr/qt/3/include/qtable.h:505: error: invalid use of member `
   QTable::QTableItem'
/usr/qt/3/include/qtable.h:505: error: template argument 1 is invalid
/usr/qt/3/include/qtable.h:506: error: ISO C++ forbids declaration of `tmp'
   with no type
/usr/qt/3/include/qtable.h:510: error: invalid use of member `
   QTable::QTableItem'
/usr/qt/3/include/qtable.h:510: error: template argument 1 is invalid
/usr/qt/3/include/qtable.h:511: error: ISO C++ forbids declaration of `tmp'
   with no type
/usr/qt/3/include/qtable.h:515: error: invalid use of member `
   QTable::QTableItem'
/usr/qt/3/include/qtable.h:515: error: template argument 1 is invalid
/usr/qt/3/include/qtable.h:515: error: ISO C++ forbids declaration of `contents
   ' with no type
In file included from superkaramba.all_cpp.cpp:59:
dcopinterface_stub.cpp: In member function `virtual void
   dcopIface_stub::openTheme(QString)':
dcopinterface_stub.cpp:33: error: `CallFailed' undeclared (first use this
   function)
dcopinterface_stub.cpp:33: error: `setStatus' undeclared (first use this
   function)
dcopinterface_stub.cpp:40: error: `CallSucceeded' undeclared (first use this
   function)
dcopinterface_stub.cpp: In member function `virtual void
   dcopIface_stub::closeTheme(QString)':
dcopinterface_stub.cpp:46: error: `setStatus' undeclared (first use this
   function)
dcopinterface_stub.cpp: In member function `virtual void dcopIface_stub::quit()
   ':
dcopinterface_stub.cpp:59: error: `setStatus' undeclared (first use this
   function)
dcopinterface_stub.cpp: In member function `virtual void
   dcopIface_stub::hideSystemTray(bool)':
dcopinterface_stub.cpp:70: error: `setStatus' undeclared (first use this
   function)
dcopinterface_stub.cpp: In member function `virtual void
   dcopIface_stub::showThemeDialog()':
dcopinterface_stub.cpp:83: error: `setStatus' undeclared (first use this
   function)
dcopinterface_stub.cpp: In member function `virtual int
   dcopIface_stub::themeAdded(QString, QString)':
dcopinterface_stub.cpp:95: error: `setStatus' undeclared (first use this
   function)
dcopinterface_stub.cpp: In member function `virtual void
   dcopIface_stub::themeClosed(QString, QString, int)':
dcopinterface_stub.cpp:120: error: `setStatus' undeclared (first use this
   function)
dcopinterface_stub.cpp: In member function `virtual bool
   dcopIface_stub::isMainKaramba()':
dcopinterface_stub.cpp:136: error: `setStatus' undeclared (first use this
   function)
/usr/kde/3.5/include/kstaticdeleter.h: At top level:
/usr/qt/3/include/qtable.h:162: warning: `int RTTI' defined but not used
make[4]: *** [superkaramba.all_cpp.o] Error 1
make[4]: Leaving directory
`/var/tmp/portage/kdeutils-3.5_alpha1/work/kdeutils-3.4.90/superkaramba/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdeutils-3.5_alpha1/work/kdeutils-3.4.90/superkaramba/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdeutils-3.5_alpha1/work/kdeutils-3.4.90/superkaramba'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdeutils-3.5_alpha1/work/kdeutils-3.4.90'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1,
2.6.10-co-0.6.2 i686)
=================================================================
System uname: 2.6.10-co-0.6.2 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i386 -mcpu=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i386 -mcpu=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo http://distfiles.gentoo.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://mirror.averse.net/gentoo-portage"
USE="x86 X berkdb bitmap-fonts cjk crypt fam fortran gdbm gif imlib immqt-bc
ipv6 java jpeg kde kdeenablefinal libg++ libwww mmx motif ncurses nls nptl pam
pdflib perl png python qt readline sdl spell sse ssl tcpd tiff truetype
truetype-fonts type1-fonts unicode xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-09-14 15:58:48 UTC
I have also reproduced this same compilation error using the split KDE split 
ebuilds too. 
 
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.13-gentoo-r1 x86_64) 
================================================================= 
System uname: 2.6.13-gentoo-r1 x86_64 AMD Turion(tm) 64 Mobile Technology ML-37 
Gentoo Base System version 1.6.13 
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
dev-lang/python:     2.3.5-r2, 2.4.1-r1 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=k8 -O2 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=k8 -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig buildpkg ccache collision-protect digest distcc distlocks 
multilib-strict sandbox sfperms" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j5" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X aalib aim alsa ati audiofile avi bash-completion berkdb 
bitmap-fonts bootsplash bzlib cdparanoia cdr crypt cscope cups curl dbus 
directfb doc dri dvd dvdr dvdread eds emboss encode ethereal fam fbcon fftw 
foomaticdb fortran gd gdbm gif gimpprint gmp gphoto2 gpm gstreamer hal icq 
ieee1394 imagemagick imap imlib ipv6 jabber jikes jpeg jpeg2k kde 
kdeenablefinal kerberos lcms libwww lm_sensors lzw lzw-tiff mad motif mp3 mpeg 
ncurses netcdf nls nptl offensive ogg oggvorbis openexr opengl pam pcre pdflib 
perl plotutils png povray python qt quicktime readline rtc samba sasl scanner 
sdl speedo spell ssl svg tcltk tcpd tetex tiff truetype truetype-fonts 
type1-fonts unicode usb userlocales videos vorbis wmf xine xinerama xml2 xpm xv 
xvid zeroconf zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS 
Comment 2 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-09-23 15:50:26 UTC
This is fixed in beta1 - please reopen if this is still an issue.