Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-java@g.o
From: Alistair Bush <ali_bush@g.o>
Subject: javatoolkit Depend problem
Date: Mon, 16 Jun 2008 23:14:55 +1200
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?"
-- 
gentoo-java@g.o mailing list


Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
caucho-services, burlap and hessian mess
Next by thread:
Request for testing gnu-jaxp/gnu-jaxp-1.3-r2::java-experimental
Previous by date:
Re: caucho-services, burlap and hessian mess
Next by date:
Request for testing gnu-jaxp/gnu-jaxp-1.3-r2::java-experimental


Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.