1 |
On Sat, 22 May 2010 17:35:24 -0400 |
2 |
Kenneth Prugh wrote: |
3 |
|
4 |
> On Sat, 22 May 2010 16:10:39 -0400 |
5 |
> David Relson <relson@×××××××××××××.com> wrote: |
6 |
> |
7 |
> > [...] |
8 |
> |
9 |
> What does `eselect java-vm list` say? |
10 |
> |
11 |
> Also, You might need to manually emerge dev-java/ant-junit. |
12 |
|
13 |
root@osage ~ # eselect java-vm list |
14 |
Available Java Virtual Machines: |
15 |
[1] emul-linux-x86-java-1.6 |
16 |
[2] sun-jdk-1.6 system-vm |
17 |
[3] sun-jre-bin-1.6 |
18 |
|
19 |
For all 3 packages, version 1.6.0.20 is installed. |
20 |
|
21 |
Manually emerging ant-junit pulls in ant-core as a dependency which |
22 |
fails in the manner previously reported, i.e. |
23 |
|
24 |
* CPV: dev-java/ant-core-1.8.1 |
25 |
* REPO: gentoo |
26 |
* USE: amd64 elibc_glibc kernel_linux multilib userland_GNU |
27 |
!!! ERROR: Package ant-junit was not found! |
28 |
* Unable to determine VM for building from dependencies: |
29 |
NV_DEPEND: >=virtual/jdk-1.4 |
30 |
!dev-java/ant-tasks |
31 |
!dev-java/ant-optional >=dev-java/java-config-2.1.9-r1 |
32 |
source? ( app-arch/zip ) |
33 |
|
34 |
>=dev-java/javatoolkit-0.3.0-r2 |
35 |
* ERROR: dev-java/ant-core-1.8.1 failed: |
36 |
* Failed to determine VM for building. |
37 |
* |
38 |
* Call stack: |
39 |
* ebuild.sh, line 48: Called pkg_setup |
40 |
* ebuild.sh, line 1346: Called java-pkg-2_pkg_setup |
41 |
* java-pkg-2.eclass, line 63: Called java-pkg_init |
42 |
* java-utils-2.eclass, line 2126: Called java-pkg_switch-vm |
43 |
* java-utils-2.eclass, line 2550: Called die |
44 |
* The specific snippet of code: |
45 |
* die "Failed to determine VM for building." |
46 |
* |
47 |
* If you need support, post the output of 'emerge --info |
48 |
=dev-java/ant-core-1.8.1', |
49 |
* the complete build log and the output of 'emerge -pqv |
50 |
=dev-java/ant-core-1.8.1'. !!! When you file a bug report, please |
51 |
include the following information: GENTOO_VM= CLASSPATH="" |
52 |
JAVA_HOME="" JAVACFLAGS="" COMPILER="" |
53 |
and of course, the output of emerge --info |