/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kpilot/lib -I../../.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/include/libpisock -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O3 -mcpu=i486 -funroll-loops -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o todo-setup.lo `test -f 'todo-setup.cc' || echo './'`todo-setup.cc todo-setup.cc:35:31: korganizerConduit.h: No such file or directory todo-setup.cc: In constructor `ToDoWidgetSetup::ToDoWidgetSetup(QWidget*, const char*)': todo-setup.cc:46: error: invalid use of undefined type `struct VCalWidget' vcal-setup.h:35: error: forward declaration of `struct VCalWidget' todo-setup.cc:48: error: invalid use of undefined type `struct VCalWidget' vcal-setup.h:35: error: forward declaration of `struct VCalWidget' make[4]: *** [todo-setup.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... Session management error: Could not open network socket make[4]: Leaving directory `/var/tmp/portage/kdepim-3.2.0-r2/work/kdepim-3.2.0/kpilot/conduits/vcalconduit' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdepim-3.2.0-r2/work/kdepim-3.2.0/kpilot/conduits' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdepim-3.2.0-r2/work/kdepim-3.2.0/kpilot' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdepim-3.2.0-r2/work/kdepim-3.2.0' make: *** [all] Error 2 !!! ERROR: kde-base/kdepim-3.2.0-r2 failed. !!! Function kde_src_compile, Line 128, Exitcode 2 !!! died running emake, kde_src_compile:make Well, I think that the main line is: Session management error: Could not open network socket I mount an nfs directory from an amd64 server to /mnt/netgentoo. mount --bind /dev /mnt/netgentoo/dev/ mount --bind /dev/pts/ /mnt/netgentoo/dev/pts/ mount --bind /proc/ /mnt/netgentoo/proc/ chroot /mnt/netgentoo /bin/bash source /etc/profile emerge -uD kde Then I run into this error. Johnny Reproducible: Always Steps to Reproduce: 1. emerge -uD kde 2. 3. Actual Results: Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r2) ================================================================= System uname: 2.6.3-gentoo-r2 i686 mobile AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.13 distcc 2.12.1 i486-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=i486 -funroll-loops -pipe" CHOST="i486-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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=i486 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://192.168.1.151 http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.1.191/gentoo-portage" USE="X Xaw3d aalib acl acpi afs alsa apache2 apm arts avi berkdb bonobo cdr crypt cscope cups curl dga directfb doc dvd emacs encode esd ethereal evo fbcon firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile imap imlib informix innodb ipv6 jack java jikes joystick jpeg kde kerberos krb4 ladcca lcm ldap leim libg++ libgda libwww lirc mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi mule mysql nas ncurses nhc98 nls oci8 odbc oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png pnp postgres ppds prelude python qt quicktime readline ruby18 samba sasl scanner sdl slang slp snmp socks5 spell ssl svga tcltk tcpd tetex tiff truetype usb wmf wxwindows x86 xface xinerama xml2 xmms xosd xv zeo zlib"
Change your MAKEOPTS to = "-j1" for this ebuild. I'm working with upstream to get the fix in place.
Now fixed in the 3.2.1 ebuild.
*** Bug 50965 has been marked as a duplicate of this bug. ***