When I try to emerge kdebase, I get the following an error related to its source code. I have tryed to compileit with -arts and have tryed alse tryed to emerge version 3.3.2-r2, but I've got the same error messages. Reproducible: Always Steps to Reproduce: 1. emerge kdebase 2. wait 3. cry Actual Results: ---------------------------------------------- /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include/arts -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=athlon-xp -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -c -o konq_propsview.lo konq_propsview.cc 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] Erro 1 make[3]: ** Esperando que outros processos terminem. make[3]: Leaving directory `/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2/libkonq' make[2]: ** [all-recursive] Erro 1 make[2]: Leaving directory `/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2/libkonq' make[1]: ** [all-recursive] Erro 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2' make: ** [all] Erro 2 !!! ERROR: kde-base/kdebase-3.3.2-r1 failed. !!! Function kde_src_compile, Line 153, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. ---------------------------------------------- Expected Results: Be installed. Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 11:37:16)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.4_p6, 1.8.5-r3, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe" DISTDIR="/mnt/hda/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="http://www.linorg.usp.br/gentoo/ ftp://ftp.linorg.usp.br/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/mnt/hda/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa apm arts avi berkdb bitmap-fonts cdr cmipci crypt cups curl dvd encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jpeg junit kde kdeenablefinal libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
This error occurs with arts enabled, and is bug 70696. What's the error if you compile with -arts?
I get the same error. I'll reemerge kdelibs with arts and then try to emerge kdebase.
It worked! Reemerging kdelibs with arts use-flag let me emerge ldebase successfully. Thanks!