bonobo compilation fails with echo-client.o: if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DG_LOG_DOMAIN=\"Echo\" -I../.. -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -falign-loops=4 -MT echo-client.o -MD -MP -MF ".deps/echo-client.Tpo" \ -c -o echo-client.o `test -f 'echo-client.c' || echo './'`echo-client.c; \ then mv -f ".deps/echo-client.Tpo" ".deps/echo-client.Po"; \ else rm -f ".deps/echo-client.Tpo"; exit 1; \ fi echo-client.c: In function `main': echo-client.c:15: error: `Bonobo_Sample_Echo' undeclared (first use in this function) echo-client.c:15: error: (Each undeclared identifier is reported only once echo-client.c:15: error: for each function it appears in.) echo-client.c:15: error: syntax error before "echo_server" echo-client.c:29: error: `echo_server' undeclared (first use in this function) orbit-idl-2 2.8.3 compiling mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule make[3]: *** [echo-client.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/usr/tmp/portage/libbonobo-2.4.3/work/libbonobo-2.4.3/samples/echo' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/tmp/portage/libbonobo-2.4.3/work/libbonobo-2.4.3/samples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/tmp/portage/libbonobo-2.4.3/work/libbonobo-2.4.3' make: *** [all] Error 2 !!! ERROR: gnome-base/libbonobo-2.4.3 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure
emerge info ? If you use less jobs/no distcc etc. ?
setting MAKEOPTS="-j1" instead of "-j2" fixes the problem
still emerge info ? I'm not inclined to limit jobs because of 1 report, especially if you use distcc or the like.
This borked: Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23-ck1) ================================================================= System uname: 2.4.23-ck1 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/local/download/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/local/download/portage/packages-athlon-xp" PORTAGE_TMPDIR="/usr/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/download/portage" SYNC="rsync://192.168.0.1/gentoo-portage" USE="3dnow 3ds S3TC X X509 Xaw3d aalib acl acpi acpi4linux afs alsa altivec amd apache2 apm arts artswrappersuid atlas autofs avi berkdb bidi bindist bonobo cdr clamav clisp cmucl crypt cscope cups curl dedicated dga directfb dnd doc dv dvd dvdr emacs emacs-w3 encode esd ethereal etwin evo expat faad fax fbcon fbdev ffmpeg flac flash foomaticdb gb gcl gd gd-external gdbm ggi gif glut gmtfull gmthigh gmtsuppl gmttria gnome gnomedb gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hbci icc imagemagick imap imlib innodb ipalias ipv6 irmc jack java javascript jbig jikes joystick jpeg junit justify kde kerberos krb4 lcd lcms ldam leim libdsk libg++ libgda libwww lirc ltsp lucid mad matroska mbox mcal md5sum mikmod mmx mng motif mozaccess mozcalendar mozctl mozilla mozinterfaceinfo mozsvg mozxmlterm mpeg mpi mule music mysql nas ncurses nls nocd nvidia nviz oav objc oci8 odbc offensive ofx oggvorbis oldworld openal opengl opie oss pam parse-clocks passfile pcap pcmcia pda pdflib perl php pic plotutils png pnp postgres ppds prelude psyco python qhull qt quicktime readline rplay ruby ruby18 samba sasl scanner sdl skey slang slp snmp socks5 sox spell sqlite src sse ssl svga tcltk tcpd tetex tiff transcode transparent-proxy truetype trusted type1 unicode usb v4l videos vim-with-x wmf wxwin wxwindows x86 xchattext xine xinerama xml xml2 xmms xosd xv xvid yaz zlib"
its known that orbit-idl idl compiling doesn't work well with parallel makes. i think this warrants restricting to MAKEOPTS="-j1". foser, what do you think? or should we just not compile the "samples" directory? because that seems to be the only place they muck around with IDLs
I'd vote for moving to -j1, but I can't reproduce this with either series. Jeremy, does this happen for you with the 2.6 releases?
this has been dead for a long time, shouldn't we have had more reports if it still is a problem ?
I just got the problem right now. Trying -j1.
I just got back from vacation, so sorry for the delayed response. 2.6.0 emerged with -j2 for me.
not reliable reproducable seeing all the different replies we got, closing this as wontfix for now.
libbonobo-2.8 just failed with the same error here. As in comment #2, setting MAKEOPTS="-j1" instead of "-j2" fixes the problem. I guess restricting MAKEOPTS="-j1" is the safer solution than leaving it as is.
Just to add that there are two other people experiencing the same problem: http://forums.gentoo.org/viewtopic.php?p=1652842#1652842