Не собирается dev-games/crystalspace-1.2

swig -java -c++ -java -package org.crystalspace3d -I./include -I./include -outdir ./out/linuxx86/optimize/plugins/cscript/csjava/src/org/crystalspace3d -o ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp ./include/bindings/cspace.i
sed 's/\([ ]*#[ ]*include[ ][ ]*[<"]Python.h[>"]\)/\
#ifndef __STDC_CONSTANT_MACROS\
#define __STDC_CONSTANT_MACROS\
#endif\
#ifndef __STDC_LIMIT_MACROS\
#define __STDC_LIMIT_MACROS\
#endif\
#ifndef DEBUG_PYTHON\
#undef _DEBUG\
#endif\
\1/g
/$Header:/d
s/new[ ][ ]*(\([^)][^)]*\))[ ]*\[/new \1 [/g
s/[ ]*#[ ]*define[ ][ ]*SWIG_init[ ]*init_\(.*\)/#define SWIG_init SWIG_init_\1/g
s/\([ ]*#[ ]*include[ ][ ]*[<"]perl.h[>"]\)/\
#ifndef _DIRENT_H_\
#define _DIRENT_H_\
#endif\
\1/g' < ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp > ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp.sed
rm -f ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp
mv -f ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp.sed ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp

...failed RunSwig ./out/linuxx86/optimize/plugins/cscript/csjava/csjava.cpp ...
...skipped
csjava.o for lack of
csjava.cpp...
...skipped libcsjava.so for lack of
csjava.o...
...failed updating 1 target(s)...
...skipped 2 target(s)...
...updated 452 target(s)...
*
* ERROR: dev-games/crystalspace-1.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4167: Called die
* The specific snippet of code:
* jam -q || die "compile failed"
* The die message:
* compile failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-games/crystalspace-1.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-games/crystalspace-1.2/temp/environment'.
*
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge dev-games/crystalspace-1.2, Log file:

>>> '/var/tmp/portage/dev-games/crystalspace-1.2/temp/build.log'

* Messages for package dev-games/crystalspace-1.2:

*
* ERROR: dev-games/crystalspace-1.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4167: Called die
* The specific snippet of code:
* jam -q || die "compile failed"
* The die message:
* compile failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-games/crystalspace-1.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-games/crystalspace-1.2/temp/environment'.
*

* Regenerating GNU info directory index...
* Processed 160 info files.

* IMPORTANT: 2 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.

Что не так с джавой?

make.conf

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -march=athlon-xp -pipe"
CXXFLAGS="${CFLAGS}"
# This should not be changed unless you know exactly what you are doing. You
# should probably be using a different stage, instead.
CHOST="i686-pc-linux-gnu"

GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo "

SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"

SYNC="rsync://rsync.gentoo.org/gentoo-portage"

USE="3dnow 7zip X a52 aac aalib acpi ada adsl aften agg aiglx aim alsa amarok
amd amr amrnb apache2 ares asm aspell aspnet aspnet2 audacious audiofile
auth authfile automount background beagle berkdb bittorrent blender-game
bluetooth bonjour builder bzip2 c++ cairo caps capslib cdio cgi
consolekit contentcache cpio css curl cxx cyrillic dbus dhcp directfb
divx djvu dynamic elf encode expat f90 fam fastbuild fat ffmpeg flac
flash flv fmod fontconfig force-cgi-redirect fortran95 ftp fuse gd gdm
gfortran gif git glib glitz glut gmp gnome gnome-keyring gnutls graphics
grub gstreamer gtk h323 hal hash httpd icons icq id3 id3tag imap imlib
innodb ipv6 java java6 javascript jpeg jpeg2k lame ldap ldap-sasl libffi
libgadu libgcrypt libgda libssh2 libwww lj lua mad magic mikmod ming
mixer mjpeg mmx mng modelock modperl mono motif mp2 mp3 mp3rtp mp4
mp4live mpeg mpeg2 mplayer mssql mysql nautilus net network
networkmanager nls nntp nptl nptlonly ntfs objc objc++ objc-gc ocaml
ocamlduce ocamlopt odbc office ogg openal opengl opengl-video openssh
openssl opensslcrypt opera oscar overload pango pcap pdf php pic pidgin
png pnm pop posix qq qsa qt-static qt4 quicktime radio rar raw rdesktop
remote resolvconf rtc sdl sdl-image sdl-sound sdlaudio sendmail server
sharedext silc slang smtp socks5 spell sqlite sse stats subversion suexec
svg svga svgz systray tcl tetex tga tgif threads tiff tk tls truetype
userlocales vnc vorbis weather webdav webdav-neon webdav-serf webmail
win32codecs wma wmf wmp wxwindows xcb xfs xft xml xmlwriter xpm xrender
xv zip"
ACCEPT_KEYWORDS="~x86"
PORT_DIR="/usr/portage"
PKGDIR="/usr/portage/packages"
#PKGDIR="/mnt/d/All"
#PORTAGE_BINHOST="/usr/portage/All"
SNAPHOT="yes"
FEATURES="nodocs"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="radeon"
ALSA_CARDS="emu10k1"
GENTOO_VM=sun-jdk-1.6
CLASSPATH=""
JAVA_HOME="/opt/sun-jdk"
JAVACFLAGS="-source 1.4 -target 1.4"
COMPILER=""
LINGUAS=ru