amarok-1.3 fails to compile on my box: [...] make[6]: Entering directory `/var/tmp/portage/amarok-1.3/work/amarok-1.3/amarok/src/engine/arts/amarokarts' /usr/kde/3.4/bin/mcopidl -t -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -I/usr/kde/3.4/include/arts ./amarokarts.idl /bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -I/usr/kde/3.4/include/arts -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -pipe -O2 -mmmx -msse -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o synth_stereo_xfade_impl.lo synth_stereo_xfade_impl.cpp /bin/sh ../../../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -I/usr/kde/3.4/include/arts -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -pipe -O2 -mmmx -msse -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o rawscope_impl.lo rawscope_impl.cpp /usr/kde/3.4/bin/mcopidl -t -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -I/usr/kde/3.4/include/arts ./amarokarts.idl rawscope_impl.cpp:22:24: amarokarts.h: No such file or directory [...] here is my emerge info: dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -pipe -O2 -mmmx -msse -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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="-march=pentium3 -pipe -O2 -mmmx -msse -fomit-frame-pointer" DISTDIR="/var/portage/distfiles" FEATURES="autoaddcvs autoconfig cvs digest distcc distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/ http://distfiles.gentoo.org" LC_ALL="fr_FR.UTF-8" LINGUAS="en fr" MAKEOPTS="-j4" PKGDIR="/var/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage/tree" PORTDIR_OVERLAY="/var/portage/overlays/dju" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X X509 Xaw3d a52 aac aalib acpi alsa arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cddb cdparanoia cdr crypt cups curl dga disablexmb divx4linux dts dv dvd dvdr dvdread eds emboss encode expat faad fam fbcon ffmpeg flac gd gdbm geoip gif gimpprint glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal ieee1394 imagemagick imap imlib imlib2 ipv6 jack java javascript jpeg jpeg2k junit kde ladcca lcms ldap libg++ libwww lm_sensors logitech-mouse logrotate lzo mad maildir mailwrapper matroska md5sum mikmod mmx mmxext mng monkey motif mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mysql ncurses nls no_wxgtk1 nowin nptl nptlonly offensive ogg oggvorbis opengl oss pam pcre pdflib perl png portaudio python qt quicktime readline real rtc samba scanner sdl sndfile speex spell sqlite sse sse2 ssl subp svg svga symlink tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vidix vim-with-x visualization vorbis win32codecs wmf wsconvert wxwindows xine xinerama xml2 xosd xprint xv xvid zlib linguas_en linguas_fr userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS thanks.
Have you tried with a different value of MAKEOPTS?
it works with -j1. thanks!
If you can reproduce the failure consistently with -j4 please report it to bugs.kde.org so that amarok/src/engine/arts/amarokarts/Makefile.am can be fixed to be safe for parallel compiling. Anyway it is wise to not use a large value in MAKEOPTS if there's no specific need for it.
I'm using distcc with 2 boxes, that's why I'm using -j4. I don't think it's a too high value, as everything always builded fine with this setting. For amarok-1.3, -j4 always fails while -j1 to -j3 works. I've reported the bug upstream: https://bugs.kde.org/show_bug.cgi?id=111323