Portage has tried to emerge ant-core as the dependence to the mc (I've got long USE ;-)) and it has crashed Reproducible: Always Steps to Reproduce: 1. emerge ant-core 2. 3. Actual Results: emerge crashed Expected Results: emerge done Gentoo Base System version 1.4.16 Portage 2.0.51-r14 (hardened/x86, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.28-hardened-r3 i686) ================================================================= System uname: 2.4.28-hardened-r3 i686 Pentium II (Deschutes) Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 16 2005, 18:25:57)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -fforce-addr" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="ftp://vlaai.snt.utwente.nl/pub/os/linux/gentoo/ http://vlaai.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gent oo" MAKEOPTS="-j2" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl acpi afs alsa apm berkdb bzlib calendar cdr cjk crypt ctype cups curl curlwrappers dlloader dvb dvd dvdr encode exif fam fastcgi flac foomaticdb ft p gif gpm gstreamer hardened hardenedphp iconv ipv6 jabber java jpeg kerberos krb4 ldap libwww maildir mcal mime mmx mng nas ncurses nis nls oggvorbis pam p dflib perl php pic pie png postgres python readline samba sockets speex spell ssl tcpd unicode usb vhosts x86 xml2 xpm xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
please provide a full emerge log, otherwise troubleshooting because very difficult. thanks
>>> emerge (1 of 1) dev-java/ant-core-1.6.2 to / >>> md5 src_uri ;-) apache-ant-1.6.2-src.tar.bz2 >>> Unpacking source... >>> Unpacking apache-ant-1.6.2-src.tar.bz2 to /var/tmp/portage/ant-core-1.6.2/work tar: A lone zero block at 34226 * Applying build.sh-exit-fix.patch.gz ... [ ok ] >>> Source unpacked. . ... Bootstrapping Ant Distribution ... Compiling Ant Classes ./bootstrap.sh: line 135: 30803 Segmentation fault "${JAVAC}" $BOOTJAVAC_OPTS -d ${CLASSDIR} ${TOOLS}/bzip2/*.java ${TOOLS}/tar/*.java ${TOOLS}/zip/*.java ${TOOLS}/ant/util/regexp/RegexpMatcher.java ${TOOLS}/ant/util/regexp/RegexpMatcherFactory.java ${TOOLS}/ant/types/*.java ${TOOLS}/ant/*.java ${TOOLS}/ant/taskdefs/*.java ${TOOLS}/ant/taskdefs/compilers/*.java ${TOOLS}/ant/taskdefs/condition/*.java ... Failed compiling Ant classes ! Bootstrap FAILED !!! ERROR: dev-java/ant-core-1.6.2 failed. !!! Function src_compile, Line 48, Exitcode 1 !!! (no error message)
that is not a problem with the ebuild itself, the problem is that you're using hardened and probably also grsecurity features. to make everything which is java related work again use chpax or paxctl to disable the pax restrictions on the javac, java, jar and javadoc binaries. another option could it be to simply disable these restrictions directly, depends on what you're using the computer for.