Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70696 - kdebase-3.3.1 does not compile
Summary: kdebase-3.3.1 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 12:00 UTC by Ivan Yosifov
Modified: 2004-11-11 03:18 UTC (History)
1 user (show)

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 Ivan Yosifov 2004-11-10 12:00:51 UTC
kdebase-3.3.1 gives the following error durign emerge kde

konq_sound.cc:19:29: kartsdispatcher.h: No such file or directory
konq_sound.cc:21:32: kplayobjectfactory.h: No such file or directory
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]: Leaving directory `/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1/libkonq'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1/libkonq'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1'
make: *** [all] Error 2



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

Actual Results:  
 
konq_sound.cc:19:29: kartsdispatcher.h: No such file or directory
konq_sound.cc:21:32: kplayobjectfactory.h: No such file or directory
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]: Leaving directory
`/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1/libkonq'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1/libkonq'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.3.1/work/kdebase-3.3.1'
make: *** [all] Error 2

Expected Results:  
clean compile

Portage 2.0.51-r3 (default-linux/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 3.20GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r2,sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays
-fforce-addr -falign-functions=4"
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="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays
-fforce-addr -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa arts avi berkdb bitmap-fonts cdr crypt doc encode esd f77 fam
foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib
jack java jpeg junit kde libg++ libwww mad mikmod mmap motif mozilla mpeg
ncurses nls nptl oggvorbis opengl pam pdflib perl png postgres python qt
quicktime readline sdl slang spell ssl svga tcpd tiff truetype x86 xml xml2 xmms
xv zlib"
--------------------------
gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/specs
Configured with: /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,f77 --enable-threads=posix --enable-long-long
--disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext --disable-multilib --enable-__cxa_atexit
--enable-clocale=generic
Thread model: posix
gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
Comment 1 Simone Gotti (RETIRED) gentoo-dev 2004-11-10 12:04:56 UTC
Probably you have compiled the kdelibs with the "arts" USEFLAG disabled, but now it's enabled. 
So you have 2 solutions: compile also ALL the other kdeprograms with arts disabled or recompile your kdelibs with arts enabled like it's now.
Comment 2 Ivan Yosifov 2004-11-11 00:33:31 UTC
As far as I recall you are right. I am rebuilding kdelibs now , and if it works we can probably close the bug. One thing bothers me though. After changing the use flags I did an emerge --pretend --deep --newuse world and kdelibs did NOT show up. As it is obviously affected by the change it should have. Is this a portage bug ?
Comment 3 Ivan Yosifov 2004-11-11 03:18:44 UTC
I rebuilt kdelibs and now kdebase compiles. Thanks.