Hi Darren
darren kirby wrote on 25/08/08 23:29:
Hello all,
Checked bugzy but I cannot find anything relevant.
I have two apps here, icu4j-3.8.1-r1 and xpp3-1.1.4c-r1 which are both failing
upon world updates with similar messages:
* checking icu4j-3_8_1-src.jar ;-) ...
[ ok ]
Traceback (most recent call last):
File "/usr/bin/depend-java-query", line 8, in <module>
from java_config_2 import __version__
ImportError: No module named java_config_2
* Unable to determine VM for building from dependencies:
NV_DEPEND: test? ( || ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) )
!test? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5*
=virtual/jdk-1.4* ) )
and:
* checking xpp3-1.1.4c_src.zip ;-) ...
[ ok ]
Traceback (most recent call last):
File "/usr/bin/depend-java-query", line 8, in <module>
from java_config_2 import __version__
ImportError: No module named java_config_2
* Unable to determine VM for building from dependencies:
NV_DEPEND: >=virtual/jdk-1.4
app-arch/unzip
test? ( dev-java/ant-junit ) >=dev-java/java-config-2.0.33-r1
=sys-apps/portage-2.1.2.7 source? ( app-arch/zip )
=dev-java/javatoolkit-0.2.0-r1 >=sys-apps/portage-2.1.2.7
=dev-java/ant-core-1.7.0
'eselect java-vm list' reports:
Available Java Virtual Machines:
[1] sun-jdk-1.5
[2] sun-jdk-1.6 system-vm
Which should satisfy the above tests shouldn't it? Is there something I am
missing here? Please note that I am fairly clueless about Java, and have no
idea what these two packages even do. I am just trying to do a 'emerge -uD
world' and portage seems to want to update both of them
Thanks for consideration,
-d
As illogical as this may sound, you probably need to run python-updater
to fix this problem.
Cheers, Dave