I wanted to try out the new KDE. kdeaccessibility isn't vital to me, but it might be to someone else. I have "-arts" in my USE flags and as you'll see, that leads to a problem with kdeaccessibility because one of the files tries to include some of arts' header files. Also note that the ebuild for kdeaccessibility-3.4.0_beta1 uses the package kdeaccessibility-3.3.91.tar.bz2. Reproducible: Always Steps to Reproduce: 1. make sure that arts and the header files for arts are not installed 2. USE="-arts" emerge kde-3.4.0_beta1 (or kdeaccessibility-3.4.0_beta1) Actual Results: Here's where the compilation failed: g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../ksayit/KTTSD_Lib -I/usr/kde/3.4/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -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 -O2 -march=pentium4 -fomit-frame-pointer -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 -fexceptions -c -o fxpluginhandler.o fxpluginhandler.cpp In file included from effectstack.cpp:20: effectstack.h:16:26: arts/kmedia2.h: No such file or directory effectstack.h:19:34: arts/kartsdispatcher.h: No such file or directory effectstack.h:20:30: arts/kartsserver.h: No such file or directory effectstack.h:21:30: arts/soundserver.h: No such file or directory In file included from effectstack.cpp:20: effectstack.h:42: error: 'KArtsDispatcher' is used as a type, but is not defined as a type. effectstack.h:43: error: 'KArtsServer' is used as a type, but is not defined as a type. effectstack.h:44: error: 'StereoEffectStack' is used as a type, but is not defined as a type. In file included from effectstack.cpp:21: fxpluginhandler.h:25:30: arts/kartsserver.h: No such file or directory fxpluginhandler.h:26:27: arts/artsflow.h: No such file or directory In file included from fxpluginhandler.h:31, from effectstack.cpp:21: ksayit_fxplugin.h:21:30: arts/kartsserver.h: No such file or directory ksayit_fxplugin.h:22:27: arts/artsflow.h: No such file or directory ... and so on for 100 more lines or so. Expected Results: Successful emerge of all packages related to kde-3.4.0_beta1 including kdeaccessibility-3.4.0_beta1 # emerge info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz 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.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.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/share/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X adns alsa apm avi berkdb bitmap-fonts cdr crypt cups dba dvd dvdr encode esd f77 fam flac font-server foomaticdb gd gdbm gif gpm gtk2 imagemagick imap imlib ipv6 javascript joystick jpeg kde libg++ libwww mad mikmod mmx motif mozdevelopmozilla mpeg mysql ncurses nls nptl oggvorbis openal opengl pam pcre pdflib perl png python qt quicktime readline samba sdl slang soap sockets spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts x86 xine xml xml2 xmlrpc xprint xsl xv zlib"
See http://bugs.kde.org/show_bug.cgi?id=97106 I added use arts || export DO_NOT_COMPILE="${DO_NOT_COMPILE} ksayit" as a workaround for now.
I've fixed the bug upstream, so it should be okay for the next release.