I'm trying to upgrade kdelibs from 3.2.0 to 3.2.1. Everytime I try to merge it I get the following: b -L/usr/qt/3/lib -L/usr/kde/3.2/lib -version-info 1:0 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined kwallet.lo kwallet_skel.lo ../../kdecore/libkdecore.la collect2: ld terminated with signal 11 [Segmentation fault] make[3]: *** [libkwalletclient.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.1/work/kdelibs-3.2.1/kwallet/client' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.1/work/kdelibs-3.2.1/kwallet' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.1/work/kdelibs-3.2.1' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.2.1 failed. !!! Function kde_src_compile, Line 128, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: 1. emerge kdelibs # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3) ================================================================= System uname: 2.6.4 i686 AMD Athlon(tm) XP 1600+ 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="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -ftracer" 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/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/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dmow X Xaw3d acpi alsa apache2 avi berkdb bidi bonobo cdr crypt cups directfb doc dvd encode esd fbcon foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib java jikes joystick jpeg lcms libg++ libwww mad mikmod mmx motif mozilla mpeg mpi ncurses nls oggvorbis opengl pam pda pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb videos wmf wxwindows x86 xml xml2 xmms xv zlib"
i have the same error but with arts instead of kwallet: /bin/sed: can't read /var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la: No such file or directory libtool: link: `/var/tmp/portage/qt-3.3.0/image/usr/qt/3/lib/libqt-mt.la' is not a valid libtool archive make[3]: *** [libartskde.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.1/work/kdelibs-3.2.1/arts/kde' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.1/work/kdelibs-3.2.1/arts' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.2.1/work/kdelibs-3.2.1' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.2.1 failed. !!! Function kde_src_compile, Line 128, Exitcode 2 !!! died running emake, kde_src_compile:make server root # emerge info Portage 2.0.50-r2 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23-gss) ================================================================= System uname: 2.4.23-gss i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" 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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apache2 apm arts avi berkdb crypt cups directfb dvd encode esd fbcon foomaticdb gdbm gif gphoto2 gpm gtk gtk2 imap imlib java jpeg kde lcms ldap libg++ libwww mad maildir mikmod mmx motif mpeg mpg mysql ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres python qt qtmt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb x86 xml xml2 xmms xosd xv zlib linguas_de"
segfault makes me think you have some bad memory or processor is getting hot. it's a local issue, unfortunately, so there's not much we can do.
Confirmed that it was my memory. It was strange as that was the only package giving me problems, it always stopped at the same spot, and nothing else seemed wrong with my computer. At amu rate memtest86 found the bad memory stick and upon relpacing it the package compiles fine.