javatoolkit Depend problem

Alistair Bush <[email protected]> Mon, 16 Jun 2008 23:14:55 +1200
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
While installing a new vm for testing stable I ran into an build error 
on sys-lib/db.  It was caused by the following chain of events.

1) Follow install documentation.
2) Configure USE="java" and JAVA_PKG_STRICT=1 in make.conf before 
(emerge -avutDN world)ing
3) emerge -avutDN world.
4) Watch as sys-lib/db attempts to call class-version-verify.py and then 
dies saying that the class version is incorrect.

Most should be able to figure this out via the output [1] below.

So the question is,  do we move the DEPEND on javatoolkit.  If so where? 
java-utils-2.eclass?  or do we update java-pkg_verify-classes() to check 
for whether class-version-verify is actually available before attempting 
to use it?

Alistair

[1]

grep "javatoolkit" /usr/portage/eclass/*java*.eclass
/usr/portage/eclass/java-ant-2.eclass:# We need some tools from 
javatoolkit. We also need portage 2.1 for phase hooks
/usr/portage/eclass/java-ant-2.eclass:DEPEND=">=dev-java/javatoolkit-0.2.0-r1 
${JAVA_PKG_PORTAGE_DEP} ${JAVA_ANT_E_DEPEND}"
/usr/portage/eclass/java-ant-2.eclass:          local 
rewriter3="/usr/share/javatoolkit/xml-rewrite-3.py"
/usr/portage/eclass/java-ant-2.eclass:          eerror "Do you have 
dev-java/javatoolkit installed?"
-- 
[email protected] mailing list