--------------------------- ACCESS VIOLATION SUMMARY --------------- LOG FILE = "/tmp/sandbox-ant-1.5.4-r1-15408.log" open_wr: /proc/self/maps open_wr: /proc/self/maps --------------------------------------------------------- Always reproducable... From emerge -pv ant: [ebuild U ] dev-java/ant-1.5.4-r1 [1.5.3-r5] -doc From emerge info: Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz Gentoo Base System version 1.4.3.11 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /opt/resin/conf /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs ccache" GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com ftp://ftp.uesb.edu/pub/mirrors/linux/gentoo http://www.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.gentoo.org/gentoo-portage" USE="x86 oss crypt encode foomaticdb gif mad mikmod ncurses nls slang tetex aalib nas bonobo guile pam esd imlib acpi alsa apache2 apm arts avi berkdb cdr cups directfb dga dvd fbcon firebird flac flash freetds gd gdbm gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml imap innodb informix java joystick jpeg kde ldap libg++ libwww mcal motif mozilla mozcalendar mozp3p mozxmlterm mozsvg mozaccess mpeg mysql odbc oci8 oggvorbis opengl pdflib perl plotutils png pnp postgres python qt quicktime readline samba sasl scanner sdl spell sqlite sse ssl svga tcltk tcpd tiff truetype usb wmf wxwindows X xml xml2 xmms xine xv zlib"
Can you please copy all the output even from when you call emerge -uv ant, until it gets the sandbox violation. please also post the "LOG FILE".
localhost root # emerge -uv ant Calculating dependencies ...done! >>> emerge (1 of 1) dev-java/ant-1.5.4-r1 to / >>> md5 src_uri ;-) apache-ant-1.5.4-src.tar.bz2 >>> Unpacking source... >>> Unpacking apache-ant-1.5.4-src.tar.bz2 to /var/tmp/portage/ant-1.5.4-r1/work * Applying build.sh-exit-fix.patch.gz... [ ok ] * Applying rpmbuild.patch.gz... [ ok ]>>> Source unpacked. ... Bootstrapping Ant Distribution ... Compiling Ant Classes ACCESS DENIED open_wr: /proc/self/maps Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. ... Copying Required Files ... Building Ant Distribution ACCESS DENIED open_wr: /proc/self/maps Buildfile: build.xml bootstrap: prepare: check_for_optional_packages: build: Created dir: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/lib Compiling 170 source files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. Copying 1 file to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes Copying 2 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes Copying 2 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl jars: Copying 4 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build Building jar: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/lib/ant.jar Building jar: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/lib/optional.jar dist-lite: Created dir: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/bootstrap Created dir: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/bootstrap/bin Created dir: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/bootstrap/lib Copying 2 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/bootstrap/lib Copying 9 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/bootstrap/bin BUILD SUCCESSFUL Total time: 36 seconds ... Cleaning Up Build Directories ... Done Bootstrapping Ant Distribution ACCESS DENIED open_wr: /proc/self/maps Buildfile: build.xml prepare: check_for_optional_packages: build: Created dir: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes Compiling 452 source files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. Copying 3 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes Copying 2 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes Copying 2 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl jars: Building jar: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/lib/ant.jar Building jar: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/lib/optional.jar dist-lite: Created dir: /var/tmp/portage/ant-1.5.4-r1/image/usr/share/ant Created dir: /var/tmp/portage/ant-1.5.4-r1/image/usr/share/ant/bin Created dir: /var/tmp/portage/ant-1.5.4-r1/image/usr/share/ant/lib Copying 2 files to /var/tmp/portage/ant-1.5.4-r1/image/usr/share/ant/lib Copying 9 files to /var/tmp/portage/ant-1.5.4-r1/image/usr/share/ant/bin main: BUILD SUCCESSFUL Total time: 36 seconds --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-ant-1.5.4-r1-13888.log" open_wr: /proc/self/maps open_wr: /proc/self/maps open_wr: /proc/self/maps --------------------------------------------------------------------------------
Oh the log file: open_wr: /proc/self/maps open_wr: /proc/self/maps open_wr: /proc/self/maps
do you have grsecurity activated on the kernel ?
I have commited to the tree a fix for it, try, and reopen the bug if it happens again.