>>> emerge (1 of 1) app-shells/ksh-93.20040229 to / >>> md5 src_uri ;-) INIT.2004-02-29.tgz >>> md5 src_uri ;-) ast-ksh.2004-02-29.tgz >>> md5 src_uri ;-) ast-ksh-locale.2003-04-22.tgz >>> Unpacking source... nls >>> Unpacking INIT.2004-02-29.tgz to /var/tmp/portage/ksh-93.20040229/work /usr/sbin/ebuild.sh: line 1427: 29781 Segmentation fault ${S}/bin/package read !!! ERROR: app-shells/ksh-93.20040229 failed. !!! Function src_unpack, Line 38, Exitcode 139 !!! (no error message) If I execute it by hand, it works, no segfault: /var/tmp/portage/ksh-93.20040229/work# bin/package read package: update /var/tmp/portage/ksh-93.20040229/work/bin/execrate ------------ NOTICE -- LICENSED SOFTWARE -- SEE README FOR DETAILS ------------ README lib/package/ast-ksh.pkg lib/package/ast.lic lib/package/LICENSES/ast lib/package/gen/ast-ksh.ver lib/package/ksh.pkg .... Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-gentoo) ================================================================= System uname: 2.6.5-gentoo i686 Pentium III (Coppermine) Gentoo Base System version 1.4.6 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox sfperms userpriv usersandbox" 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="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl adns apache2 berkdb crypt curl flash gd gdbm gif gpm imap innodb java jpeg ldap libg++ libwww maildir mcal memlimit ncurses nls noauthcram nptl oss pam pdflib pg-hier pg-intdatetime pg-vacuumdelay pic png python readline samba slang slp spell sse ssl tcpd tiff truetype x86 xml xml2 zlib"
>>> md5 src_uri ;-) INIT.2004-02-29.tgz >>> md5 src_uri ;-) ast-ksh.2004-02-29.tgz >>> md5 src_uri ;-) ast-ksh-locale.2003-04-22.tgz >>> Unpacking source... nls >>> Unpacking INIT.2004-02-29.tgz to /var/tmp/portage/ksh-93.20040229/work free(): invalid pointer 0x8122c40! /usr/sbin/ebuild.sh: line 1427: 2045 Segmentation fault ${S}/bin/package read !!! ERROR: app-shells/ksh-93.20040229 failed. !!! Function src_unpack, Line 38, Exitcode 139 !!! (no error message) Same problem on gentoo with a 2.6.4 kernel on a p4, emerging from ~x86; another in #gentoo on freenode reported exactly the same segfault :)
was a sandbox issue. Fixed in portage-2.0.50-r5