On Sat, 22 May 2010 17:35:24 -0400
Kenneth Prugh wrote:
> On Sat, 22 May 2010 16:10:39 -0400
> David Relson <[email protected]> wrote:
>
> > [...]
>
> What does `eselect java-vm list` say?
>
> Also, You might need to manually emerge dev-java/ant-junit.
r...@osage ~ # eselect java-vm list
Available Java Virtual Machines:
[1] emul-linux-x86-java-1.6
[2] sun-jdk-1.6 system-vm
[3] sun-jre-bin-1.6
For all 3 packages, version 1.6.0.20 is installed.
Manually emerging ant-junit pulls in ant-core as a dependency which
fails in the manner previously reported, i.e.
* 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."
*
* If you need support, post the output of 'emerge --info
=dev-java/ant-core-1.8.1',
* the complete build log and the output of 'emerge -pqv
=dev-java/ant-core-1.8.1'. !!! 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