When attempting to emerge the kdemultimedia package, or any package depending thereon, the compile process fails. I can provide the complete error output text if so requested. However, I believe the following extraction to be relevant and sufficient. ########################################################################### (...) make[4]: Entering directory `/var/tmp/portage/kdemultimedia-3.2.2-r1/work/kdemu ltimedia-3.2.2/arts/midi' /usr/kde/3.2/bin/mcopidl -t -I/usr/kde/3.2/include/arts ./artsmidi.idl /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arts/runtime -I./freeverb -I/usr/kde/3.2/include/arts -I/u sr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPO RT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fno-excep tions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_N O_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o midimanager_impl.lo midimanager _impl.cc In file included from midimanager_impl.cc:23: midimanager_impl.h:26:22: artsmidi.h: No such file or directory In file included from midimanager_impl.cc:23: midimanager_impl.h:32: error: parse error before `,' token midimanager_impl.h:37: error: syntax error before `;' token midimanager_impl.h:40: error: 'AlsaMidiGateway' is used as a type, but is not defined as a type. midimanager_impl.h:44: error: parse error before `public' (...) make: *** [all] Error 2 !!! ERROR: kde-base/kdemultimedia-3.2.2-r1 failed. !!! Function kde_src_compile, Line 129, Exitcode 2 !!! died running emake, kde_src_compile:make Calculating dependencies ...done! >>> emerge (1 of 1) kde-base/kdemultimedia-3.2.2-r1 to / >>> md5 src_uri ;-) kdemultimedia-3.2.2.tar.bz2 ########################## emerge info ################################ Gentoo Base System version 1.4.10 Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-REH-1) ================================================================= System uname: 2.4.25-REH-1 i686 AMD Athlon(tm) XP 2600+ Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/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 apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib" ############################################################################# Reproducible: Always Steps to Reproduce: emerge kdemultimedia Actual Results: The emerge fails with the error text as described. This is a fresh installation which I am building. Thusly, there should be no residual files left over from older revisions of software. I started with the version 1.4 cd-rom #1 and performed a stage 1 install. This is my first stage 1 install, though I believe I did it correctly. Believing that Bug 51235 might apply, I followed the suggestion provided by Hiel Van Campen in executing the following command, and then attempted to emerge again. fix_libtool_files.sh 'gcc -dumpversion' --oldarch i386-pc-linux-gnu The error output text I detail in this report resulted from this second attempt to emerge, following the fix_libtool_files.sh operation. I did not collect the error output text from my first attempt to emerge, thus I do not know what effect, if any, the fix_libtool_files.sh command might have had on my system. I am reporting this as a "major" bug for the same reasons presented by Chase <chase@osdev.org> in Bug 51235.
it's a parallel make problem - using -j1 will fix it.
Very good! The -j1 make option does fix the problem for me. Thanks!
For my own reference, The fix for this is to add the line: libartsmidi_la_COMPILE_FIRST = artsmidi.h to kdemultimedia/arts/midi/Makefile.am This will probably get fixed after the feature freeze
should be fixed in 3.3.0+