it is strange, on another ~x86 box it was no problem to compile this package. I can't really understand why it doesn't work here... Reproducible: Always Steps to Reproduce: 1. emerge -u kde-base/arts Actual Results: Making check in artsc make[1]: Entering directory `/var/tmp/portage/arts-1.3.1/work/arts-1.3.1/artsc' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/var/tmp/portage/arts-1.3.1/work/arts-1.3.1/artsc' Making check in examples make[1]: Entering directory `/var/tmp/portage/arts-1.3.1/work/arts-1.3.1/examples' make helloserver helloclient referenceinfo irdemo x11commtest streamsound hellomain flow artsctest artscrec artsccat artscmt dcasttest hellodynamic hellodynamic2 testasubsys testaggregation playtofile testthreads testnothreads catfile testdhandle make[2]: Entering directory `/var/tmp/portage/arts-1.3.1/work/arts-1.3.1/examples' ../mcopidl/mcopidl ../examples/hello.idl g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mcop -I../flow -I../flow -I../soundserver -I../soundserver -I../artsc -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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=pentium3 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -c -o hello.o `test -f 'hello.cc' || echo './'`hello.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mcop -I../flow -I../flow -I../soundserver -I../soundserver -I../artsc -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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=pentium3 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -c -o helloserver.o `test -f 'helloserver.cc' || echo './'`helloserver.cc In file included from ../mcop/core.h:6, from helloserver.cc:26: ../mcop/common.h: In function `void Arts::writeObject(Arts::Buffer&, T*)': ../mcop/common.h:87: error: invalid use of undefined type `struct Arts::ObjectReference' ../mcop/dispatcher.h:48: error: forward declaration of `struct Arts::ObjectReference' ../mcop/common.h:93: error: invalid use of undefined type `struct Arts::ObjectReference' ../mcop/dispatcher.h:48: error: forward declaration of `struct Arts::ObjectReference' ../mcop/common.h:94: error: invalid use of undefined type `struct Arts::ObjectReference' ../mcop/dispatcher.h:48: error: forward declaration of `struct Arts::ObjectReference' ../mcop/common.h:95: error: invalid use of undefined type `struct Arts::ObjectReference' ../mcop/dispatcher.h:48: error: forward declaration of `struct Arts::ObjectReference' ../mcop/common.h: In function `void Arts::readObject(Arts::Buffer&, T*&)': ../mcop/common.h:103: error: invalid use of undefined type `struct Arts::ObjectReference' ../mcop/dispatcher.h:48: error: forward declaration of `struct Arts::ObjectReference' make[2]: *** [helloserver.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/arts-1.3.1/work/arts-1.3.1/examples' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/arts-1.3.1/work/arts-1.3.1/examples' make: *** [check-recursive] Error 1 !!! ERROR: kde-base/arts-1.3.1 failed. !!! Function src_test, Line 520, Exitcode 0 !!! Make check failed. See above for details. emerge info Portage 2.0.51_rc9 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r8 i686) ================================================================= System uname: 2.6.8-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -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.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks maketest sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd dvdr esd f77 foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 guile imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg mplayer nas ncurses network nls oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype x86 xine xml2 xmms xprint xv zlib"
Apparently it has been broken with gcc 3.4 since long time: http://bugs.kde.org/show_bug.cgi?id=82208
Looks like you can just disable maketest in FEATURES (I think that's the testing flag), and it should emerge for you.
*** This bug has been marked as a duplicate of 60641 ***