emerge java-config gives: >>> Unpacking java-config-1.2.11.tar.bz2 to /var/tmp/portage/java-config-1.2.11/work >>> Source unpacked. running build running build_py creating build creating build/lib creating build/lib/java_config copying ./java_config/__init__.py -> build/lib/java_config copying ./java_config/jc_envgen.py -> build/lib/java_config copying ./java_config/jc_output.py -> build/lib/java_config copying ./java_config/jc_util.py -> build/lib/java_config copying ./java_config/jc_iface.py -> build/lib/java_config copying ./java_config/jc_options.py -> build/lib/java_config copying ./java_config/jc_exceptions.py -> build/lib/java_config copying ./java_config/cfg_parse.py -> build/lib/java_config >>> Test phase [not enabled]: dev-java/java-config-1.2.11 touch: cannot touch `.tested': Permission denied !!! ERROR: dev-java/java-config-1.2.11 failed. !!! Function dyn_test, Line 940, Exitcode 1 !!! Failed to 'touch .tested' in /var/tmp/portage/java-config-1.2.11 !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge info: Gentoo Base System version 1.4.16 Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1-rf18 x86_64) ================================================================= System uname: 2.6.9-gentoo-r1-rf18 x86_64 4 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-g -march=k8 -mtune=k8 -O3 -pipe -fomit-frame-pointer -fstack-protector" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /home /opt/zetagrid /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/bind /var/freenet /var/qmail/control /var/www" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-g -march=k8 -mtune=k8 -O3 -pipe -fomit-frame-pointer -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks nostrip sandbox userpriv usersandbox" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi aim alsa apache2 arts berkdb bitmap-fonts bonobo canna cdr crypt css cups debug divx4linux dts dvd esd ethereal f77 fam fbcon flac foomaticdb fortran freetype gd gdbm gif gimpprint glut gmail gnome gpm gstreamer gtk gtkhtml guile imagemagick imap imlib innodb ipv6 jack java jp2 jpeg kde kerberos libwww lzw lzw-tiff mad maildir mikmod motif mozilla msn multilib mysql ncurses nls nptl ntlm oav oggvorbis opengl oss pam pda pdflib perl php png postgres python qt readline ruby samba sasl sdl slang speex ssl tcltk tcpd tetex theora tiff truetype usb userlocales wmf xine xml xml2 xmms xpm xrandr xv xvid zlib"
This has been covered. There is not JIT for amd64 unless you use the 1.1.x development series of mono. I have ebuilds mostly working for the 1.1.2 release, but they are by no means ready for portage yet. *** This bug has been marked as a duplicate of 58653 ***
What does this have to do with AMD64 or JIT? The error is purely a permissions issue - it cannot touch .tested since it is seems to be trying to create a file in a directory that the portage user does not have write access to. This is a problem with a fair number of ebuilds, and my understanding is that it just requires some kind of tweaking. I was able to workaround it and compile this just fine by removing userpriv/usersandbox from my features. This does not change the fact that it should build fine with these features enabled.
I'm beginning to think that this is some kind of portage/emerge issue, and not necessarily package specific. I've gotten this error several times in the last week or so. In another bug report, the suggestion was to delete everything in /var/tmp/portage, and this fixed the problem. Perhaps this should be reclassified as a portage bug?
*** This bug has been marked as a duplicate of 69932 ***