Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213815 - dev-java/xerces-2.9.1 emerge fails: "Failed to determine VM for building."
Summary: dev-java/xerces-2.9.1 emerge fails: "Failed to determine VM for building."
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-18 11:56 UTC by Andreas K. Hüttel
Modified: 2008-03-18 12:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2008-03-18 11:56:09 UTC
>>> Emerging (17 of 30) dev-java/xerces-2.9.1 to /
>>> Downloading 'http://distfiles.gentoo.org/distfiles/Xerces-J-src.2.9.1.tar.gz'
--12:08:55--  http://distfiles.gentoo.org/distfiles/Xerces-J-src.2.9.1.tar.gz
           => `/usr/portage/distfiles/Xerces-J-src.2.9.1.tar.gz'
Auflösen des Hostnamen »distfiles.gentoo.org«.... 140.211.166.134, 64.50.238.52, 216.165.129.135, ...
Verbindungsaufbau zu distfiles.gentoo.org|140.211.166.134|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 1.711.507 (1.6M) [application/x-gzip]

100%[===========================================================================================================>] 1.711.507    675.51K/s

12:08:58 (673.28 KB/s) - »/usr/portage/distfiles/Xerces-J-src.2.9.1.tar.gz« gespeichert [1711507/1711507]

 * checking ebuild checksums ;-) ...                                                                                                             [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                           [ ok ]
 * checking Xerces-J-src.2.9.1.tar.gz ;-) ...                                                                                                    [ 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.4
        >=dev-java/xjavac-20041208-r4
        dev-java/xml-commons-external:1.3
        >=dev-java/xml-commons-resolver-1.2
        dev-java/xalan-serializer  >=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/xerces-2.9.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *               ebuild.sh, line 1244:  Called java-pkg-2_pkg_setup
 *       java-pkg-2.eclass, line   54:  Called java-pkg_init
 *     java-utils-2.eclass, line 2054:  Called java-pkg_switch-vm
 *     java-utils-2.eclass, line 2480:  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/xerces-2.9.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/xerces-2.9.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

===================================================


bellini ~ # emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24.2-akh3 i686)
=================================================================
System uname: 2.6.24.2-akh3 i686 Intel(R) Pentium(R) M processor 2.00GHz
Timestamp of tree: Mon, 17 Mar 2008 23:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LINGUAS="en de nl"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X accessibility acl acpi alsa arts bash-completion berkdb bluetooth bzip2 cdparanoia cdr cli cracklib crypt css cups curl dbus dga dri dvdread emacs encode exif ffmpeg firefox fortran gdbm gif gnuplot gpm gps gtk hal iconv imagemagick imap isdnlog java jpeg kde latex ldap lm_sensors mbox midi mime mmx mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl php png pppd python qt3 qt4 rdesktop readline reflection resolvconf sasl scanner session spl sse sse2 ssl subversion svg syslog tcpd tetex tiff unicode usb x86 xcomposite xine xorg 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de nl" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-18 12:05:16 UTC
Re-emerge java-config. Running python-updater is not optional after python upgrades.