Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 69494

Summary: emerge kdebase fails at konq_sound.cc:44: error: syntax error before `::' token
Product: Gentoo Linux Reporter: Berry Parker <berry>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Berry Parker 2004-10-30 04:34:47 UTC
when doing a emerge kdebase Im getting:

konq_sound.cc:42: error: 'KArtsDispatcher' is used as a type, but is not
   defined as a type.
konq_sound.cc:44: error: syntax error before `::' token
konq_sound.cc:45: error: syntax error before `::' token
konq_sound.cc: In constructor `KonqSoundPlayerImpl::KonqSoundPlayerImpl()':
konq_sound.cc:49: error: class `KonqSoundPlayerImpl' does not have any field
   named `m_player'
konq_sound.cc:52: error: `m_factory' undeclared (first use this function)
konq_sound.cc:52: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
konq_sound.cc:52: error: parse error before `::' token
konq_sound.cc: In destructor `virtual
   KonqSoundPlayerImpl::~KonqSoundPlayerImpl()':
konq_sound.cc:57: error: `m_player' undeclared (first use this function)
make[3]: *** [konq_sound.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.3.0/work/kdebase-3.3.0/libkonq'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.3.0/work/kdebase-3.3.0/libkonq'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.3.0/work/kdebase-3.3.0'
make: *** [all] Error 2

and it stops :(
Im not a coder, im a user, Ive tried a emerge sync and emerge kdebase, but it does the same.

Reproducible: Always
Steps to Reproduce:
1. emerge kdebase
2.
3.

Actual Results:  
as above

Expected Results:  
installed kdebase :)

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1500MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts crypt cups encode esd f77
foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib jpeg kde libg++ libwww mad
mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl
png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2
xmmsxv zlib"
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2004-10-30 05:20:01 UTC
Probably you are trying to compile kdebase with the arts use flag while
kdelibs was compiled with -arts. You can find similar bugs on bugzilla:
bug 58822, bug 61366, ...
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-12-02 04:12:28 UTC

*** This bug has been marked as a duplicate of 58822 ***