When trying to emerge libidn-0.6.5 i got this error message * Enabling generation-2 compatibility ... * There was a problem determining which VM to use for generation-1 * You may need to set your generation-1 VM again, and run env-update && source/etc/profile * Also, make sure you have followed the Java Upgrade Guide: * http://www.gentoo.org/proj/en/java/java-upgrade.xml [ !! ] !!! ERROR: net-dns/libidn-0.6.5 failed. Call stack: ebuild.sh, line 1561: Called dyn_setup ebuild.sh, line 668: Called pkg_setup ebuild.sh, line 1254: Called java-pkg_pkg_setup java-pkg.eclass, line 41: Called die !!! Couldn't determine VM for generation-1 !!! If you need support, post the topmost build error, and the call stack if relevant. But i have -java in USE. I had to remove java-pkg from the inherit line in the ebuild to be able to complete the merge.
I think the fix for this would be to have a check around the compatibility which checks for the presence of java in IUSE... if it isn't present, run the check. if it is present, and the java use flag is enabled, then run the check. Aside from that, you will likely want to use the upgrade guide regardless, just to let you koow.
*** Bug 141159 has been marked as a duplicate of this bug. ***
I commmitted a fix last week to the java-pkg eclass which should make it have the error if the package has IUSE=java, and the user has indicated -java. This should be fixed now.