--8<-- >>> Compiling source in /var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6 ... make -j3 --load-average=2 make all-recursive make[1]: Entering directory `/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6' Making all in src make[2]: Entering directory `/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6/src' Making all in eggdbus make[3]: Entering directory `/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6/src/eggdbus' glib-genmarshal eggdbusmarshal.list --prefix=eggdbus_marshal --header > eggdbusmarshal.h ( top_builddir=`cd ../.. && pwd`; \ cd . && glib-mkenums --template eggdbusenumtypes.c.template eggdbusinterface.h eggdbusconnection.h eggdbuserror.h eggdbusmessage.h ) > \ eggdbusenumtypes.c.tmp && mv eggdbusenumtypes.c.tmp eggdbusenumtypes.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -DPACKAGE_LIBEXEC_DIR=\""/usr/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/etc"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\" -DPACKAGE_LOCALSTATE_DIR=\""/var/lib"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LIB_DIR=\""/usr/lib64"\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_EGG_DBUS_COMPILATION -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -march=nocona -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -c -o eggdbus_binding_tool-eggdbusbindingtool.o `test -f 'eggdbusbindingtool.c' || echo './'`eggdbusbindingtool.c In file included from ../../src/eggdbus/eggdbuserror.h:29, from eggdbusbindingtool.c:26: ../../src/eggdbus/eggdbustypes.h:31:38: error: eggdbus/eggdbusenumtypes.h: No such file or directory make[3]: *** [eggdbus_binding_tool-eggdbusbindingtool.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6/src/eggdbus' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6' make: *** [all] Error 2 make: INTERNAL: Exiting with 4 jobserver tokens available; should be 3! * ERROR: dev-libs/eggdbus-0.6 failed: * emake failed * * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3077: Called _eapi2_src_compile * ebuild.sh, line 629: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-libs/eggdbus-0.6', * the complete build log and the output of 'emerge -pqv =dev-libs/eggdbus-0.6'. * The complete build log is located at '/var/log/portage/dev-libs:eggdbus-0.6:20091118-094407.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/eggdbus-0.6/temp/environment'. * S: '/var/tmp/portage/dev-libs/eggdbus-0.6/work/eggdbus-0.6' --8<-- With MAKEOPTS="-j1" it compiled fine.
... as you can guess from the log-output it helps to install gtk-doc first.
bah, wrong bug, sorry.
I think you can solve this by adding: emake -C src/eggdbus eggdbusenumtypes.h before emake itself, that will ensure the file is there.
Created attachment 219073 [details, diff] Fix parallel make
volkmar, ok to apply in tree?
No response in 2 weeks, so applied the patch, + 23 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> eggdbus-0.6.ebuild: + Fix parallel make wrt #293607, thanks to Wolfram Schlich for reporting.