Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Two apps can't find Java VM darren kirby <bulliver@×××××××××××.org>