When I emerge libbonobo, I get the error like this: -------------------------------------------------------------------------- gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DSERVER_LIBEXECDIR=\"/var/tmp/portage/libbonobo-2.4.3/image//usr/libexec\" -DBONOBO_ACTIVATION_LOCALEDIR=\"/var/tmp/portage/libbonobo-2.4.3/image//usr/share/locale\" -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DVERSION=\"2.4.3\" -DG_DISABLE_DEPRECATED -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -MT Bonobo_GenericFactory-common.lo -MD -MP -MF .deps/Bonobo_GenericFactory-common.Tpo -c Bonobo_GenericFactory-common.c -fPIC -DPIC -o .libs/Bonobo_GenericFactory-common.o In file included from Bonobo_GenericFactory-common.c:9: Bonobo_GenericFactory.h:115: error: syntax error before "POA_Bonobo_Unknown__epv" Bonobo_GenericFactory.h:115: warning: no semicolon at end of struct or union Bonobo_GenericFactory.h:117: error: syntax error before '}' token Bonobo_GenericFactory.h:117: warning: data definition has no type or storage class Bonobo_GenericFactory.h:121: error: syntax error before "POA_Bonobo_GenericFactory__vepv" Bonobo_GenericFactory.h:121: warning: no semicolon at end of struct or union Bonobo_GenericFactory.h:122: warning: data definition has no type or storage class Bonobo_GenericFactory.h:132: error: syntax error before '*' token Bonobo_GenericFactory.h:136: error: syntax error before ')' token Bonobo_GenericFactory-common.c:16: error: syntax error before '*' token Bonobo_GenericFactory-common.c:27: error: syntax error before ')' token make[2]: *** [Bonobo_GenericFactory-common.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/libbonobo-2.4.3/work/libbonobo-2.4.3/bonobo-activation' make[1]: *** [install] Error 2 make[1]: Leaving directory `/var/tmp/portage/libbonobo-2.4.3/work/libbonobo-2.4.3/bonobo-activation' make: *** [install-recursive] Error 1 !!! ERROR: gnome-base/libbonobo-2.4.3 failed. !!! Function einstall, Line 388, Exitcode 2 !!! einstall failed ------------------------------------------------------------------------- I tried again ,the same error. Reproducible: Couldn't Reproduce Steps to Reproduce: 1.re-emerge 2.unset USE Actual Results: can't worked Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.3-rc2-gentoo) ================================================================= System uname: 2.6.3-rc2-gentoo i686 Intel(R) Pentium(R) 4 CPU 1.70GHz Gentoo Base System version 1.4.3.8p1 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.5-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/var/ftproot/pub/gentoo/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb cdr cjk crypt cups directfb encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
recompile libIDL & ORBit2 and try again. What versions do you have of libIDL, ORBit2 ?
This is my libIDL and ORBit2 version: ======================================================= root root # emerge -p libIDL ORBit2 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-libs/libIDL-0.8.2 [ebuild R ] gnome-base/ORBit2-2.8.3 ======================================================= I am going to re-emerge libIDL and ORBit2... Maybe it worked.
Yes! the error has been fixed ! Thank you a lots!
Got this here: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DSERVER_LIBEXECDIR=\"/var/tmp/portage/libbonobo-2.4.3/image//usr/libexec\" -DBONOBO_ACTIVATION_LOCALEDIR=\"/var/tmp/portage/libbonobo-2.4.3/image//usr/share/locale\" -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DVERSION=\"2.4.3\" -DG_DISABLE_DEPRECATED -Os -mcpu=pentium2 -pipe -MT Bonobo_GenericFactory-common.lo -MD -MP -MF .deps/Bonobo_GenericFactory-common.Tpo -c Bonobo_GenericFactory-common.c -fPIC -DPIC -o .libs/Bonobo_GenericFactory-common.o In file included from Bonobo_GenericFactory-common.c:9: Bonobo_GenericFactory.h:115: error: syntax error before "POA_Bonobo_Unknown__epv" Bonobo_GenericFactory.h:115: warning: no semicolon at end of struct or union Bonobo_GenericFactory.h:117: error: syntax error before '}' token Bonobo_GenericFactory.h:117: warning: data definition has no type or storage class Bonobo_GenericFactory.h:121: error: syntax error before "POA_Bonobo_GenericFactory__vepv" Bonobo_GenericFactory.h:121: warning: no semicolon at end of struct or union Bonobo_GenericFactory.h:122: warning: data definition has no type or storage class Bonobo_GenericFactory.h:132: error: syntax error before '*' token Bonobo_GenericFactory.h:136: error: syntax error before ')' token Bonobo_GenericFactory-common.c:16: error: syntax error before '*' token Bonobo_GenericFactory-common.c:27: error: syntax error before ')' token make[2]: *** [Bonobo_GenericFactory-common.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/libbonobo-2.4.3/work/libbonobo-2.4.3/bonobo-activation' make[1]: *** [install] Error 2 make[1]: Leaving directory `/var/tmp/portage/libbonobo-2.4.3/work/libbonobo-2.4.3/bonobo-activation' make: *** [install-recursive] Error 1 !!! ERROR: gnome-base/libbonobo-2.4.3 failed. !!! Function einstall, Line 388, Exitcode 2 !!! einstall failed I tried re-emerging bison, libIDL and ORBit2, and used no MAKEOPTS, which oddly results in a parallel make, because this is a dual cpu box. Tried also with MAKEOPTS="-j1", to no avail Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.2) ================================================================= System uname: 2.6.2 i686 Celeron (Mendocino) Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-Os -mcpu=pentium2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -mcpu=pentium2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang ssl svga tcpd truetype x86 xml2 xmms xv zlib" These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-devel/bison-1.875 [ebuild R ] dev-libs/libIDL-0.8.2 [ebuild R ] gnome-base/ORBit2-2.8.3 [ebuild N ] gnome-base/libbonobo-2.4.3
Found out that -j2 was because of make.globals, and that the ebuild file disables parallel makes. Yet that doesn't help with my problem.
Did "emerge pkgconfig intltool glib libxml2 ORBit2 libIDL libbonobo" with MAKEOPTS=-j1 and -O0 (optimizations disabled). Didn't help. libbonobo fails always in the same place. "emerge nautilus" failed before that with the same error (Function einstall, Line 388, Exitcode 2), but now "emerge nautilus" leads to an infinite loop (tried three times now).
Everything OK. I left the machine doing a "emerge world -e" yesterday. It has done 157 of 280, and libbonobo emerged fine. The machine is an Abit BP6 (v1.0) dual Celeron with a faulty APIC. I accidentally compiled PIIx as a module (in 2.6 kernel), so I couldn't enable DMA, which made the APIC problem far worse. Now I have DMA enabled and "noapic" passed to the kernel. Works like a charm.