Gentoo Archives: gentoo-user

From: darren kirby <bulliver@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Two apps can't find Java VM
Date: Mon, 25 Aug 2008 21:31:00
Message-Id: 200808251529.35667.bulliver@badcomputer.org
1 Hello all,
2
3 Checked bugzy but I cannot find anything relevant.
4
5 I have two apps here, icu4j-3.8.1-r1 and xpp3-1.1.4c-r1 which are both failing
6 upon world updates with similar messages:
7
8 * checking icu4j-3_8_1-src.jar ;-) ...
9 [ ok ]
10 Traceback (most recent call last):
11 File "/usr/bin/depend-java-query", line 8, in <module>
12 from java_config_2 import __version__
13 ImportError: No module named java_config_2
14 * Unable to determine VM for building from dependencies:
15 NV_DEPEND: test? ( || ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) )
16 !test? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5*
17 =virtual/jdk-1.4* ) )
18
19 and:
20
21 * checking xpp3-1.1.4c_src.zip ;-) ...
22 [ ok ]
23 Traceback (most recent call last):
24 File "/usr/bin/depend-java-query", line 8, in <module>
25 from java_config_2 import __version__
26 ImportError: No module named java_config_2
27 * Unable to determine VM for building from dependencies:
28 NV_DEPEND: >=virtual/jdk-1.4
29 app-arch/unzip
30 test? ( dev-java/ant-junit ) >=dev-java/java-config-2.0.33-r1
31 >=sys-apps/portage-2.1.2.7 source? ( app-arch/zip )
32 >=dev-java/javatoolkit-0.2.0-r1 >=sys-apps/portage-2.1.2.7
33 >=dev-java/ant-core-1.7.0
34
35 'eselect java-vm list' reports:
36
37 Available Java Virtual Machines:
38 [1] sun-jdk-1.5
39 [2] sun-jdk-1.6 system-vm
40
41 Which should satisfy the above tests shouldn't it? Is there something I am
42 missing here? Please note that I am fairly clueless about Java, and have no
43 idea what these two packages even do. I am just trying to do a 'emerge -uD
44 world' and portage seems to want to update both of them
45
46 Thanks for consideration,
47 -d
48 --
49 darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
50 "...the number of UNIX installations has grown to 10, with more expected..."
51 - Dennis Ritchie and Ken Thompson, June 1972

Replies

Subject Author
Re: [gentoo-user] Two apps can't find Java VM Dave Jones <Dave.Jones@××××××.nl>