I am currently updating my gentoo machine, but i get stuck while emergin eclipse.
Code: Select all
* checking hamcrest-1.1.tgz ;-) ... [ ok ]
Traceback (most recent call last):
File "/usr/bin/depend-java-query", line 8, in <module>
from java_config_2 import __version__
ImportError: No module named java_config_2
* Unable to determine VM for building from dependencies:
NV_DEPEND: >=virtual/jdk-1.5
>=dev-java/jarjar-0.9
=dev-java/qdox-1.6* >=dev-java/java-config-2.0.33-r1 >=sys-apps/portage-2.1.2.7 source? ( app-arch/zip ) >=dev-java/javatoolkit-0.2.0-r1 >=sys-apps/portage-2.1.2.7 >=dev-java/ant-core-1.7.0
VNEED:
*
* ERROR: dev-java/hamcrest-core-1.1 failed.
* Call stack:
* ebuild.sh, line 49: Called pkg_setup
* ebuild.sh, line 1254: Called java-pkg-2_pkg_setup
* java-pkg-2.eclass, line 60: Called java-pkg_init
* java-utils-2.eclass, line 2073: Called java-pkg_switch-vm
* java-utils-2.eclass, line 2499: Called die
* The specific snippet of code:
* die "Failed to determine VM for building."
* The die message:
* Failed to determine VM for building.
*
* 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-java/hamcrest-core-1.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/hamcrest-core-1.1/temp/die.env'.
*
!!! When you file a bug report, please include the following information:
GENTOO_VM= CLASSPATH="." JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
Code: Select all
aim-rush src # emerge --info
Portage 2.2_rc1 (default-linux/x86/2006.1/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.15-gentoo-r1-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4800+-with-glibc2.0
Timestamp of tree: Wed, 02 Jul 2008 06:32:01 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.4.3-r4, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.2.5
sys-apps/sandbox: 1.2.18.1-r3
sys-devel/autoconf: 2.13, 2.62-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.4
virtual/os-headers: 2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
LDFLAGS=""
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac bash-completion berkdb bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr eds emboss encode esd fam fftw firefox flac fortran gdbm gif gimp glut gnome gnuplot gpm gstreamer gtk gtk2 hal iconv imagemagick ipv6 isdnlog jpeg kde latex ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session sid spell spl sse sse-filters sse2 ssl tcpd tetex threads tiff truetype unicode v4l vorbis win32codecs wma x86 xinerama xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAYCode: Select all
aim-rush src # emerge -p sun-jdk
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-java/sun-jdk-1.6.0.06 Code: Select all
aim-rush src # java -version
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
Thank You
Jody


