Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122237 - dbus-0.60-r3 fails to compile with MAKEOPTS='-j2'
Summary: dbus-0.60-r3 fails to compile with MAKEOPTS='-j2'
Status: RESOLVED DUPLICATE of bug 117960
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-09 04:14 UTC by Jakob Schiotz
Modified: 2006-02-09 04:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakob Schiotz 2006-02-09 04:14:13 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-09 04:16:59 UTC
Search before reporting bugs...

*** This bug has been marked as a duplicate of 117960 ***