emerge ant-core failes Reproducible: Always Steps to Reproduce: 1.emerge -qv ant-commons-core 2. 3. Actual Results: * CPV: dev-java/ant-core-1.8.1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU !!! ERROR: Package ant-junit was not found! * Unable to determine VM for building from dependencies: NV_DEPEND: >=virtual/jdk-1.4 !dev-java/ant-tasks !dev-java/ant-optional >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/javatoolkit-0.3.0-r2 * ERROR: dev-java/ant-core-1.8.1 failed: * Failed to determine VM for building. * * Call stack: * ebuild.sh, line 48: Called pkg_setup * ebuild.sh, line 1346: Called java-pkg-2_pkg_setup * java-pkg-2.eclass, line 63: Called java-pkg_init * java-utils-2.eclass, line 2126: Called java-pkg_switch-vm * java-utils-2.eclass, line 2550: Called die * The specific snippet of code: * die "Failed to determine VM for building."
Created attachment 232417 [details] output of emerge --info =dev-java/ant-core-1.8.
Created attachment 232419 [details] emerge -pqv =dev-java/ant-core-1.8.
Please attach build.log as well.
Created attachment 232683 [details] build.log
Created attachment 232685 [details] output of "emerge -d ant-core"
Created attachment 232687 [details] eclass-debug output (from emerge -d ant-core)
### "java-config -L" reports ### The following VMs are available for generation-2: *) OpenJDK6/IcedTea6 1.8 [icedtea6] 2) Sun JDK 1.6.0.20 [sun-jdk-1.6] ### "java -version" reports ### java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8) (Gentoo build 1.6.0_18-b18) OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)
Try to run java-check-environment.
Created attachment 232793 [details] java-check-environment output java-check-environments runs, but indicates 3 issues: !!! ERROR: Package ant-junit was not found! * Broken dependencies for * Please try emerge -uD1 = --- lack of ant-junit is known; attempts to emerge it fail in the same manner as attempts to emerge ant-core -- the "broken dependencies" line doesn't name anything after "for" -- the "try emerge" line doesn't say what to emerge
Must be some orphan file. Try grep ant-junit /usr/share/*/package.env
root@osage dev-java # grep ant-junit /usr/share/*/package.env /usr/share/ant-tasks/package.env:CLASSPATH="/usr/share/ant-nodeps/lib/ant-nodeps.jar:/usr/share/ant-junit/lib/ant-junit.jar:/usr/share/ant-trax/lib/ant-trax.jar:/usr/share/ant-antlr/lib/ant-antlr.jar:/usr/share/ant-apache-bcel/lib/ant-apache-bcel.jar:/usr/share/ant-apache-bsf/lib/ant-apache-bsf.jar:/usr/share/ant-apache-log4j/lib/ant-apache-log4j.jar:/usr/share/ant-apache-oro/lib/ant-apache-oro.jar:/usr/share/ant-apache-regexp/lib/ant-apache-regexp.jar:/usr/share/ant-apache-resolver/lib/ant-apache-resolver.jar:/usr/share/ant-commons-logging/lib/ant-commons-logging.jar:/usr/share/ant-commons-net/lib/ant-commons-net.jar:/usr/share/ant-javamail/lib/ant-javamail.jar:/usr/share/ant-jdepend/lib/ant-jdepend.jar:/usr/share/ant-jsch/lib/ant-jsch.jar:/usr/share/ant-swing/lib/ant-swing.jar" /usr/share/ant-tasks/package.env:DEPEND="ant-core:ant-nodeps:ant-junit:ant-trax:ant-antlr:ant-apache-bcel:ant-apache-bsf:ant-apache-log4j:ant-apache-oro:ant-apache-regexp:ant-apache-resolver:ant-commons-logging:ant-commons-net:ant-javamail:ant-jdepend:ant-jsch:ant-swing"
emerge gentoolkit equery belongs /usr/share/ant-tasks does it output any package? if not, just remove the directory
Please reopen if problem still exists and you provide the requested info.