Posting this as new bug as advised by mcummings in bug 21095 comment 14 . The problem was originally reported in bug 21095. I was not the OP, but I did provide some additional comments. When reported earlier, the portage version was 2.0.48-r1. Michael asked me to report this to the portage team if I continue to experience problems after a portage upgrade. Now portage version is 2.0.49-r3. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-ck6) ================================================================= System uname: 2.4.20-ck6 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -s -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math" 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/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 -s -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="ccache autoaddcvs sandbox 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/portage.local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla cdr apache2 gtk2 jikes junit mbox offensive"
This bug can be closed. Going from portage 2.0.49-r3 to 2.0.49-r4 has fixed the issue for me.
rgr
I am using Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23_pre8-gss-r2) and I got the same problems (see also bug 21095): (1) when first emerging dev-perl/XML-XQL, I got: bash-2.05b# emerge -v XML-XQL Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/XML-XQL-0.68 to / >>> md5 src_uri XML-XQL-0.68.tar.gz >>> Unpacking source... >>> Unpacking XML-XQL-0.68.tar.gz to /var/tmp/portage/XML-XQL-0.68/work >>> Source unpacked. ACCESS DENIED unlink: /usr/bin/perl1079703269 Checking if your kit is complete... Looks good Writing Makefile for XML::XQL::Parser Writing Makefile for XML::XQL cp lib/XML/XQL/Query.pod blib/lib/XML/XQL/Query.pod cp lib/XML/XQL/DOM.pm blib/lib/XML/XQL/DOM.pm cp lib/XML/XQL/Tutorial.pod blib/lib/XML/XQL/Tutorial.pod cp lib/XML/XQL/Date.pm blib/lib/XML/XQL/Date.pm cp lib/XML/XQL/DirXQL.pm blib/lib/XML/XQL/DirXQL.pm cp lib/XML/XQL/Strict.pm blib/lib/XML/XQL/Strict.pm cp lib/XML/XQL/Plus.pm blib/lib/XML/XQL/Plus.pm cp lib/XML/XQL/Debug.pm blib/lib/XML/XQL/Debug.pm cp lib/XML/XQL.pm blib/lib/XML/XQL.pm make[1]: Entering directory `/var/tmp/portage/XML-XQL-0.68/work/XML-XQL-0.68/XQLParser' cp Parser.pm ../blib/lib/XML/XQL/Parser.pm make[1]: Leaving directory `/var/tmp/portage/XML-XQL-0.68/work/XML-XQL-0.68/XQLParser' cp bin/xql.pl blib/script/xql.pl /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/xql.pl Manifying blib/man3/XML::XQL::Tutorial.3pm Manifying blib/man3/XML::XQL::DOM.3pm Manifying blib/man3/XML::XQL::Query.3pm Manifying blib/man3/XML::XQL::Date.3pm Manifying blib/man3/XML::XQL.3pm ---------------------- ACCESS VIOLATION SUMMARY ------------------------ LOG FILE = "/tmp/sandbox-dev-perl_-_XML-XQL-0.68-18266.log" unlink: /usr/bin/perl1079703269 ------------------------------------------------------------------------ (2) I run the /usr/portage/dev-lang/perl/files/libperl_rebuilder scrpit, bit I still got the same ACCESS VIOLATION problem (3) I commented the FEATURES in /etc/make.conf (FEATURES="sandbox ccache buildpkg userpriv usersandbox strict sfperms") and finally succeeded in emerge dev-perl/XML-XQL