Emerging (1 of 8) dev-db/hsqldb-1.8.0.9-r1 to / * hsqldb_1_8_0_9.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking hsqldb_1_8_0_9.zip ;-) ... [ ok ] !!! ERROR: * Unable to determine VM for building from dependencies: NV_DEPEND: || ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) test? ( dev-java/junit:0 ) java-virtuals/servlet-api:2.3 >=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-db/hsqldb-1.8.0.9-r1 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * hsqldb-1.8.0.9-r1.ebuild, line 38: Called java-pkg-2_pkg_setup * java-pkg-2.eclass, line 60: Called java-pkg_init * java-utils-2.eclass, line 2076: Called java-pkg_switch-vm * java-utils-2.eclass, line 2502: Called die * The specific snippet of code: * die "Failed to determine VM for building." * The die message: * Failed to determine VM for building. Reproducible: Always
emerge --info missing please add it and reopen
Solution (taken from http://bugs.gentoo.org/show_bug.cgi?id=237514) java-config-2 is likely broken. It does that periodically I'm not sure why. Just re-emerge java-config and the problem will be solved.