gcc -shared nautilus-printers.lo -L/var/tmp/portage/nautilus-2.4.2/work/nautilus-2.4.2/libnautilus/.libs -L/usr/X11R6/lib -L/usr/lib -lnautilus -lnautilus-private -leel-2 -lgailutil -lglade-2.0 -lgnome-desktop-2 -lgnomeui-2 -lSM -lICE -lstartup-notification-1 -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgnomecupsui-1.0 -lgnomecups-1.0 -lcups -lssl -lcrypto -lnsl -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -Wl,--export-dynamic -Wl,-soname -Wl,libnautilus-printers-view.so -o .libs/libnautilus-printers-view.so /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lnautilus-private collect2: ld returned 1 exit status libtool: install: error: relink `libnautilus-printers-view.la' with the above command before installing it make[3]: *** [install-bonoboLTLIBRARIES] Error 1 make[3]: Leaving directory `/var/tmp/portage/nautilus-2.4.2/work/nautilus-2.4.2/components/printers' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/var/tmp/portage/nautilus-2.4.2/work/nautilus-2.4.2/components/printers' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/nautilus-2.4.2/work/nautilus-2.4.2/components' make: *** [install-recursive] Error 1 !!! ERROR: gnome-base/nautilus-2.4.2 failed. !!! Function einstall, Line 388, Exitcode 2 !!! einstall failed emerge -p gnome These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] gnome-extra/gucharmap-1.2.0 [ebuild N ] media-plugins/gst-plugins-gnomevfs-0.6.4 [ebuild N ] gnome-base/nautilus-2.4.2 [ebuild N ] media-plugins/gst-plugins-libpng-0.6.4 [ebuild N ] gnome-extra/nautilus-media-0.3.3.1 [ebuild N ] gnome-extra/gnome2-user-docs-2.4.1 [ebuild N ] net-www/epiphany-1.0.7 [ebuild N ] sys-devel/gdb-6.0 [ebuild N ] gnome-extra/bug-buddy-2.4.2 [ebuild N ] gnome-base/control-center-2.4.0 [ebuild N ] gnome-extra/gnome-utils-2.4.1 [ebuild N ] gnome-extra/gcalctool-4.3.16 [ebuild N ] gnome-extra/gconf-editor-2.4.0 [ebuild N ] app-arch/file-roller-2.4.4-r2 [ebuild N ] gnome-base/gnome-session-2.4.2 [ebuild N ] gnome-extra/gnome-games-2.4.2 [ebuild N ] gnome-extra/acme-2.4.2-r1 [ebuild N ] gnome-base/gnome-2.4.2 I'm emerging gnome's parts one by one or a couple at a time. I don't know if plain "emerge gnome" would have done it without problems, but I did expect that emerging in parts would also work without problems. There have been many packages that have failed with the same problem "Function einstall, Line 388, Exitcode 2". libbonobo wouldn't emerge until I randomly emerged and re-emerged other parts. xmms also failed. vte failed, until I did manually "make && make install" and then re-emerged it. Reproducible: Always Steps to Reproduce: 1. emerge yelp gpdf nautilus gucharmap 2. 3. Actual Results: Nautilus fails to emerge 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.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="-j3 -w -s" 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 esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mozilla 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"
it shouldn't really matter, if you have that much problems i rather expect hardware trouble or something. Does it fail reproducable at _exactly_ the same spot every time ? Anyway, the only thing i can think of here is your makeopts, try if -j1 does a better job.
Didn't help. I did "emerge pkgconfig intltool glib libxml2 ORBit2 libIDL libbonobo", and libbonobo failed at (Function einstall, Line 388, Exitcode 2), and after that tried "emerge nautilus" three times, but it always got into an infinite loop (filed a separate bug). But libbonobo will fail exactly at the same place, no matter what dependencies I re-emerge, what optimizations or MAKEOPTS I use. Or what do you suggest?
I'll do "emerge world -e" while waiting for something to change. I'll use MAKEOPTS="-j1", and have only 279 ebuilds to do. The machine is a Celeron 433MHz
btw, i'm not sure about this, but is a mendocino celeron really a pentium2 ? Isn't it a i586/pentium ?
And in general, if all of this fails for you i really strongly suggest you check your machine's health, this works for anyone out there. I actually doubt its a problem on our side if you have so much and all these different failures everywhere.
Recompiling kernel, including PIIx -> enabling DMA, disabling APIC and doing "emerge world -e" fixed the underlying problem. I'll see what else I can do with the machine.