Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41280 - gnome-base/libbonobo-2.4.3 compilation fails
Summary: gnome-base/libbonobo-2.4.3 compilation fails
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 11:46 UTC by Jeremy Huddleston (RETIRED)
Modified: 2005-02-15 10:32 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 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-11 11:46:43 UTC
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
Comment 1 foser (RETIRED) gentoo-dev 2004-02-12 06:41:18 UTC
emerge info ?

If you use less jobs/no distcc etc. ?
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-12 10:46:55 UTC
setting MAKEOPTS="-j1" instead of "-j2" fixes the problem
Comment 3 foser (RETIRED) gentoo-dev 2004-02-12 11:07:09 UTC
still emerge info ? I'm not inclined to limit jobs because of 1 report, especially if you use distcc or the like.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-12 11:13:24 UTC
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"

Comment 5 Alastair Tse (RETIRED) gentoo-dev 2004-02-13 03:12:20 UTC
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 
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2004-08-06 01:06:37 UTC
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?
Comment 7 foser (RETIRED) gentoo-dev 2004-08-06 04:26:26 UTC
this has been dead for a long time, shouldn't we have had more reports if it still is a problem ?
Comment 8 Kevin O'Shea 2004-08-08 20:14:27 UTC
I just got the problem right now.  Trying -j1.
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-17 14:12:54 UTC
I just got back from vacation, so sorry for the delayed response.  2.6.0 emerged with -j2 for me.
Comment 10 foser (RETIRED) gentoo-dev 2004-08-17 14:27:34 UTC
not reliable reproducable seeing all the different replies we got, closing this as wontfix for now.
Comment 11 Sok Ann Yap 2005-02-15 10:23:16 UTC
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.
Comment 12 Sok Ann Yap 2005-02-15 10:32:56 UTC
Just to add that there are two other people experiencing the same problem:
http://forums.gentoo.org/viewtopic.php?p=1652842#1652842