Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118039 - kdemultimedia-3.4.3 don't compile
Summary: kdemultimedia-3.4.3 don't compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-06 07:05 UTC by Geaaru
Modified: 2006-01-07 10:22 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 Geaaru 2006-01-06 07:05:00 UTC
_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o prefs.o `test -f 'prefs.cpp' || echo './'`prefs.cpp
/usr/kde/3.4/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub kscd.kidl
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libkcddb -I/usr/kde/3.4/include -I/usr/qt/3/include -I.   -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=pentium3 -O3 -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 kscd_skel.o `test -f 'kscd_skel.cpp' || echo './'`kscd_skel.cpp
In file included from kscd.h:81,
                 from kscd_skel.cpp:9:
configWidget.h:31: error: syntax error before `{' token
configWidget.h:32: error: virtual outside class declaration
configWidget.h:32: error: non-member function `const char* className()' cannot
   have `const' method qualifier
configWidget.h:32: error: virtual outside class declaration
configWidget.h:32: error: virtual outside class declaration
configWidget.h:32: error: virtual outside class declaration
configWidget.h:32: error: virtual outside class declaration
configWidget.h: In function `QObject* qObject()':
configWidget.h:32: error: invalid use of `this' in non-member function
configWidget.h: At global scope:
configWidget.h:32: error: syntax error before `private'
configWidget.h:36: error: destructors must be member functions
configWidget.h:38: error: syntax error before `protected'
configWidget.h:43: error: virtual outside class declaration
configWidget.h:44: error: virtual outside class declaration
configWidget.h:45: error: syntax error before `private'
In file included from kscd_skel.cpp:9:
kscd.h:99: error: syntax error before `,' token
kscd.h:101: error: virtual outside class declaration
kscd.h:101: error: non-member function `const char* className()' cannot have `
   const' method qualifier
kscd.h:101: error: virtual outside class declaration
kscd.h:101: error: virtual outside class declaration
kscd.h:101: error: virtual outside class declaration
kscd.h:101: error: virtual outside class declaration
kscd.h: In function `QObject* qObject()':
kscd.h:101: error: redefinition of `QObject* qObject()'
configWidget.h:32: error: `QObject* qObject()' previously defined here
kscd.h:101: error: redefinition of `QObject* qObject()'
configWidget.h:32: error: `QObject* qObject()' previously defined here
kscd.h:101: error: invalid use of `this' in non-member function
kscd.h: At global scope:
kscd.h:101: error: syntax error before `private'
kscd.h:102: error: syntax error before `private'
kscd.h: In function `void play()':
kscd.h:110: error: `playClicked' undeclared (first use this function)
kscd.h:110: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
kscd.h: In function `void stop()':
kscd.h:111: error: `stopClicked' undeclared (first use this function)
kscd.h: In function `void previous()':
kscd.h:112: error: `prevClicked' undeclared (first use this function)
kscd.h: In function `void next()':
kscd.h:113: error: `nextClicked' undeclared (first use this function)
kscd.h: In function `void jumpTo(int)':
kscd.h:114: error: `jumpToTime' undeclared (first use this function)
kscd.h: In function `void eject()':
kscd.h:115: error: `ejectClicked' undeclared (first use this function)
kscd.h: In function `void quit()':
kscd.h:116: error: `quitClicked' undeclared (first use this function)
kscd.h: In function `void toggleLoop()':
kscd.h:117: error: `loopClicked' undeclared (first use this function)
kscd.h: In function `void toggleShuffle()':
kscd.h:118: error: `randomSelected' undeclared (first use this function)
kscd.h: In function `void toggleTimeDisplay()':
kscd.h:119: error: `cycleplaytimemode' undeclared (first use this function)
kscd.h: In function `void cddbDialog()':
kscd.h:120: error: `CDDialogSelected' undeclared (first use this function)
kscd.h: In function `void optionDialog()':
kscd.h:121: error: `showConfig' undeclared (first use this function)
kscd.h: In function `void setTrack(int)':
kscd.h:122: error: `trackSelected' undeclared (first use this function)
kscd.h: In function `void volumeDown()':
kscd.h:123: error: `decVolume' undeclared (first use this function)
kscd.h: In function `void volumeUp()':
kscd.h:124: error: `incVolume' undeclared (first use this function)
kscd.h: At global scope:
kscd.h:137: error: syntax error before `public'
kscd.h:139: error: destructors must be member functions
kscd.h:140: error: virtual outside class declaration
kscd.h: In function `QStringList audioSystems()':
kscd.h:145: error: `audio_systems_list' undeclared (first use this function)
kscd.h: In function `KActionCollection* actionCollection()':
kscd.h:147: error: `m_actions' undeclared (first use this function)
kscd.h: At global scope:
kscd.h:149: error: syntax error before `protected'
kscd.h:155: error: `void randomSelected()' used prior to declaration
kscd.h:159: error: `void playClicked()' used prior to declaration
kscd.h:160: error: `bool nextClicked()' used prior to declaration
kscd.h:161: error: `void prevClicked()' used prior to declaration
kscd.h:162: error: `void stopClicked()' used prior to declaration
kscd.h:163: error: `void ejectClicked()' used prior to declaration
kscd.h:164: error: `void jumpToTime(int, bool)' used prior to declaration
kscd.h:165: error: `void quitClicked()' used prior to declaration
kscd.h:168: error: `void loopClicked()' used prior to declaration
kscd.h:172: error: `void trackSelected(int)' used prior to declaration
kscd.h:173: error: `void showConfig()' used prior to declaration
kscd.h:174: error: `void incVolume()' used prior to declaration
kscd.h:175: error: `void decVolume()' used prior to declaration
kscd.h:180: error: `void cycleplaytimemode()' used prior to declaration
kscd.h:188: error: syntax error before `protected'
kscd.h:197: error: syntax error before `protected'
kscd.h:224: error: `widget' was not declared in this scope
kscd.h:224: error: variable or field `updateConfigDialog' declared void
kscd.h:226: error: syntax error before `private'
kscd.h:253: error: `QStringList audio_systems_list' used prior to declaration
kscd.h:274: error: syntax error before `public'
kscd.h:277: error: `void CDDialogSelected()' used prior to declaration
kscd.h:283: error: syntax error before `private'
kscd.h:288: error: `KActionCollection*m_actions' used prior to declaration
kscd.h:292: error: syntax error before `}' token
kscd_skel.cpp:77: error: invalid use of undefined type `class KSCD'
configWidget.h:28: error: forward declaration of `class KSCD'
kscd_skel.cpp: In member function `bool KSCD::process(const QCString&, const
   QByteArray&, QCString&, QByteArray&)':
kscd_skel.cpp:89: error: `playing' undeclared (first use this function)
kscd_skel.cpp:221: error: cannot call member function `virtual bool
   DCOPObject::process(const QCString&, const QByteArray&, QCString&,
   QByteArray&)' without object
kscd_skel.cpp: At global scope:
kscd_skel.cpp:227: error: invalid use of undefined type `class KSCD'
configWidget.h:28: error: forward declaration of `class KSCD'
kscd_skel.cpp: In member function `QCStringList KSCD::interfaces()':
kscd_skel.cpp:228: error: cannot call member function `virtual QCStringList
   DCOPObject::interfaces()' without object
kscd_skel.cpp: At global scope:
kscd_skel.cpp:234: error: invalid use of undefined type `class KSCD'
configWidget.h:28: error: forward declaration of `class KSCD'
kscd_skel.cpp: In member function `QCStringList KSCD::functions()':
kscd_skel.cpp:235: error: cannot call member function `virtual QCStringList
   DCOPObject::functions()' without object
/usr/qt/3/include/qvaluelist.h: At top level:
kscd.h:101: warning: `bool qt_static_property(QObject*, int, int, QVariant*)'
   declared `static' but never defined
kscd.h:101: warning: `QMetaObject* staticMetaObject()' declared `static' but
   never defined
make[3]: *** [kscd_skel.o] Error 1
make[3]: *** Waiting for unfinished jobs....
_IceTransSocketINETConnect() no usable address for ARIANNE_2:32769
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed_IceTransSocketINETConnect() no usable address for ARIANNE_2:32769
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failedmake[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.3/work/kdemultimedia-3.4.3/kscd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.3/work/kdemultimedia-3.4.3/kscd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.3/work/kdemultimedia-3.4.3'
make: *** [all] Error 2

!!! ERROR: kde-base/kdemultimedia-3.4.3 failed.
!!! Function kde_src_compile, Line 175, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.


My uses are:
Calculating dependencies ...done!
[ebuild  N    ] kde-base/kdemultimedia-3.4.3  +alsa +arts +audiofile -debug +encode -flac +gstreamer -jack -kdeenablefinal +mp3 -musicbrainz -speex +theora +vorbis +xine +xinerama 0 kB
[ebuild  N    ] kde-base/kdeaddons-3.4.3  +arts +berkdb -debug -kdeenablefinal +sdl +xinerama +xmms 1,555 kB
[ebuild  N    ] kde-base/kdeedu-3.4.3-r10  +arts -debug -kdeenablefinal -kig-scripting +xinerama 23,421 kB
[ebuild  N    ] kde-base/kde-3.4.3  -accessibility 0 kB

I think that is a depends problem. Maybe with DCOP. I don't know. Thanks. 
Bye
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-06 07:22:13 UTC
emerge --info, please...
Comment 2 Geaaru 2006-01-06 07:38:47 UTC
Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14.2 i686)
=================================================================
System uname: 2.6.14.2 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.11
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts audiofile avi berkdb bitmap-fonts bonobo bzip2 cdparanoia cdr crypt cscope cups curl directfb dts dv dvb dvd dvdread eds emboss encode esd exif expat fam fbcon ffmpeg foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 java jpeg kde lcms libg++ libwww lirc live mad mikmod mmx mng motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pcre pdflib perl pic png python qt quicktime readline samba scanner sdl spell ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev usb v4l v4l2 vorbis win32codecs xine xinerama xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


Sorry! Here emerge --info.

P.S. I have a CFLAGS for pentium3 also if I have pentium4 because I'm under chroot for cross-compile. 
Can be a problem with kscd package that is not installed?
# eix kscd

* kde-base/kscd
     Available versions:  3.4.1 ~3.4.2 3.4.3 ~3.5.0
     Installed:           none
     Homepage:            http://www.kde.org/
     Description:         KDE CD player

Comment 3 Geaaru 2006-01-06 08:05:06 UTC
Strange! I have same problem if I try to compile kscd: Compilation is killed without error messages.

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libkcddb -I/usr/kde/3.4/include -I/usr/qt/3/include -I.   -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=pentium3 -O3 -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 kscd_skel.o `test -f 'kscd_skel.cpp' || echo './'`kscd_skel.cpp
In file included from kscd.h:81,
                 from kscd_skel.cpp:9:
configWidget.h:31: error: syntax error before `{' token
configWidget.h:32: error: virtual outside class declaration
configWidget.h:32: error: non-member function `const char* className()' cannot
   have `const' method qualifier
configWidget.h:32: error: virtual outside class declaration
configWidget.h:32: error: virtual outside class declaration
configWidget.h:32: error: virtual outside class declaration
configWidget.h:32: error: virtual outside class declaration
configWidget.h: In function `QObject* qObject()':
configWidget.h:32: error: invalid use of `this' in non-member function
configWidget.h: At global scope:
configWidget.h:32: error: syntax error before `private'
configWidget.h:36: error: destructors must be member functions
configWidget.h:38: error: syntax error before `protected'
configWidget.h:43: error: virtual outside class declaration
configWidget.h:44: error: virtual outside class declaration
configWidget.h:45: error: syntax error before `private'
In file included from kscd_skel.cpp:9:
kscd.h:99: error: syntax error before `,' token
kscd.h:101: error: virtual outside class declaration
kscd.h:101: error: non-member function `const char* className()' cannot have `
   const' method qualifier
kscd.h:101: error: virtual outside class declaration
kscd.h:101: error: virtual outside class declaration
kscd.h:101: error: virtual outside class declaration
kscd.h:101: error: virtual outside class declaration
kscd.h: In function `QObject* qObject()':
kscd.h:101: error: redefinition of `QObject* qObject()'
configWidget.h:32: error: `QObject* qObject()' previously defined here
kscd.h:101: error: redefinition of `QObject* qObject()'
configWidget.h:32: error: `QObject* qObject()' previously defined here
kscd.h:101: error: invalid use of `this' in non-member function
kscd.h: At global scope:
kscd.h:101: error: syntax error before `private'
kscd.h:102: error: syntax error before `private'
kscd.h: In function `void play()':
kscd.h:110: error: `playClicked' undeclared (first use this function)
kscd.h:110: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
kscd.h: In function `void stop()':
kscd.h:111: error: `stopClicked' undeclared (first use this function)
kscd.h: In function `void previous()':
kscd.h:112: error: `prevClicked' undeclared (first use this function)
kscd.h: In function `void next()':
kscd.h:113: error: `nextClicked' undeclared (first use this function)
kscd.h: In function `void jumpTo(int)':
kscd.h:114: error: `jumpToTime' undeclared (first use this function)
kscd.h: In function `void eject()':
kscd.h:115: error: `ejectClicked' undeclared (first use this function)
kscd.h: In function `void quit()':
kscd.h:116: error: `quitClicked' undeclared (first use this function)
kscd.h: In function `void toggleLoop()':
kscd.h:117: error: `loopClicked' undeclared (first use this function)
kscd.h: In function `void toggleShuffle()':
kscd.h:118: error: `randomSelected' undeclared (first use this function)
kscd.h: In function `void toggleTimeDisplay()':
kscd.h:119: error: `cycleplaytimemode' undeclared (first use this function)
kscd.h: In function `void cddbDialog()':
kscd.h:120: error: `CDDialogSelected' undeclared (first use this function)
kscd.h: In function `void optionDialog()':
kscd.h:121: error: `showConfig' undeclared (first use this function)
kscd.h: In function `void setTrack(int)':
kscd.h:122: error: `trackSelected' undeclared (first use this function)
kscd.h: In function `void volumeDown()':
kscd.h:123: error: `decVolume' undeclared (first use this function)
kscd.h: In function `void volumeUp()':
kscd.h:124: error: `incVolume' undeclared (first use this function)
kscd.h: At global scope:
kscd.h:137: error: syntax error before `public'
kscd.h:139: error: destructors must be member functions
kscd.h:140: error: virtual outside class declaration
kscd.h: In function `QStringList audioSystems()':
kscd.h:145: error: `audio_systems_list' undeclared (first use this function)
kscd.h: In function `KActionCollection* actionCollection()':
kscd.h:147: error: `m_actions' undeclared (first use this function)
kscd.h: At global scope:
kscd.h:149: error: syntax error before `protected'
kscd.h:155: error: `void randomSelected()' used prior to declaration
kscd.h:159: error: `void playClicked()' used prior to declaration
kscd.h:160: error: `bool nextClicked()' used prior to declaration
kscd.h:161: error: `void prevClicked()' used prior to declaration
kscd.h:162: error: `void stopClicked()' used prior to declaration
kscd.h:163: error: `void ejectClicked()' used prior to declaration
kscd.h:164: error: `void jumpToTime(int, bool)' used prior to declaration
kscd.h:165: error: `void quitClicked()' used prior to declaration
kscd.h:168: error: `void loopClicked()' used prior to declaration
kscd.h:172: error: `void trackSelected(int)' used prior to declaration
kscd.h:173: error: `void showConfig()' used prior to declaration
kscd.h:174: error: `void incVolume()' used prior to declaration
kscd.h:175: error: `void decVolume()' used prior to declaration
kscd.h:180: error: `void cycleplaytimemode()' used prior to declaration
kscd.h:188: error: syntax error before `protected'
kscd.h:197: error: syntax error before `protected'
kscd.h:224: error: `widget' was not declared in this scope
kscd.h:224: error: variable or field `updateConfigDialog' declared void
kscd.h:226: error: syntax error before `private'
kscd.h:253: error: `QStringList audio_systems_list' used prior to declaration
kscd.h:274: error: syntax error before `public'
kscd.h:277: error: `void CDDialogSelected()' used prior to declaration
kscd.h:283: error: syntax error before `private'
kscd.h:288: error: `KActionCollection*m_actions' used prior to declaration
kscd.h:292: error: syntax error before `}' token
kscd_skel.cpp:77: error: invalid use of undefined type `class KSCD'
configWidget.h:28: error: forward declaration of `class KSCD'
kscd_skel.cpp: In member function `bool KSCD::process(const QCString&, const
   QByteArray&, QCString&, QByteArray&)':
kscd_skel.cpp:89: error: `playing' undeclared (first use this function)
kscd_skel.cpp:221: error: cannot call member function `virtual bool
   DCOPObject::process(const QCString&, const QByteArray&, QCString&,
   QByteArray&)' without object
kscd_skel.cpp: At global scope:
kscd_skel.cpp:227: error: invalid use of undefined type `class KSCD'
configWidget.h:28: error: forward declaration of `class KSCD'
kscd_skel.cpp: In member function `QCStringList KSCD::interfaces()':
kscd_skel.cpp:228: error: cannot call member function `virtual QCStringList
   DCOPObject::interfaces()' without object
kscd_skel.cpp: At global scope:
kscd_skel.cpp:234: error: invalid use of undefined type `class KSCD'
configWidget.h:28: error: forward declaration of `class KSCD'
kscd_skel.cpp: In member function `QCStringList KSCD::functions()':
kscd_skel.cpp:235: error: cannot call member function `virtual QCStringList
   DCOPObject::functions()' without object
/usr/qt/3/include/qvaluelist.h: At top level:
kscd.h:101: warning: `bool qt_static_property(QObject*, int, int, QVariant*)'
   declared `static' but never defined
kscd.h:101: warning: `QMetaObject* staticMetaObject()' declared `static' but
   never defined
make[3]: *** [kscd_skel.o] Error 1
make[3]: *** Waiting for unfinished jobs....
_IceTransSocketINETConnect() no usable address for ARIANNE_2:32769
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
_IceTransSocketINETConnect() no usable address for ARIANNE_2:32769
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

What's package that contains kscd.h header file?
Comment 4 Geaaru 2006-01-06 11:43:36 UTC
Maybe problem depend by usersandbox and userpriv features.
Because if I go on $WORKDIR and then try to compile I haven't error messages.

Comment 5 Geaaru 2006-01-07 10:22:55 UTC
I try to compile system out of chroot as a normal and it works. Maybe, there is a problem with chroot compilation. It's strange! What's can be the problem?
I haven't an idea about why kdemultimedia don't compile. Maybe for path environment settings. 
However, on real system compile. Thanks. Bye.