When updating my computer, something requires dbus to be installed. But the latest stable version of dbus did not compile. It turned out that it does not work if MAKEOPTS='-j2'. I suggest adding -j1 to the make line in the ebuild. The file natMessages.cc cannot be compile, because the Messages.h file is not (yet) there: demokrit ~ # emerge -av --oneshot dbus These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-apps/dbus-0.60-r3 +X -debug -doc +gcj +gtk -mono +python +qt (-selinux) +xml2 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] y >>> emerge (1 of 1) sys-apps/dbus-0.60-r3 to / [ ......... ] Making all in dbus make[5]: Entering directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60/gcj/org/freedesktop/dbus' gcj -C Message.java -d ../../.. /bin/sh ../../../../libtool --mode=compile i686-pc-linux-gnu-g++ -I../../../.. -I../../../../gcj/org/freedesktop/dbus -O2 -march=pentium4 -pipe -DDBUS_API_SUBJECT_TO_CHANGE=1 -c -o 'natMessage.lo' 'natMessage.cc' /bin/sh ../../../../libtool --mode=compile gcj -I../../../.. -I../../../../gcj/org/freedesktop/dbus -c -o 'Message.lo' 'Message.java' mkdir .libs i686-pc-linux-gnu-g++ -I../../../.. -I../../../../gcj/org/freedesktop/dbus -O2 -march=pentium4 -pipe -DDBUS_API_SUBJECT_TO_CHANGE=1 -c natMessage.cc -fPIC -DPIC -o .libs/natMessage.o gcj -I../../../.. -I../../../../gcj/org/freedesktop/dbus -c Message.java -fPIC -o .libs/Message.o gcj -I../../../.. -I../../../../gcj/org/freedesktop/dbus -c Message.java -o Message.o >/dev/null 2>&1 gcjh Message natMessage.cc:8:21: Message.h: No such file or directory natMessage.cc:15: error: `org' has not been declared make[5]: *** [natMessage.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60/gcj/org/freedesktop/dbus' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60/gcj/org/freedesktop' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60/gcj/org' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60/gcj' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dbus-0.60-r3/work/dbus-0.60' make: *** [all] Error 2 !!! ERROR: sys-apps/dbus-0.60-r3 failed. !!! Function src_compile, Line 106, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message.
Search before reporting bugs... *** This bug has been marked as a duplicate of 117960 ***