Gentoo Archives: gentoo-java

From: Alistair Bush <ali_bush@g.o>
To: gentoo-java@l.g.o
Subject: [gentoo-java] javatoolkit Depend problem
Date: Mon, 16 Jun 2008 11:15:30
Message-Id: 48564B2F.6040603@gentoo.org
1 While installing a new vm for testing stable I ran into an build error
2 on sys-lib/db. It was caused by the following chain of events.
3
4 1) Follow install documentation.
5 2) Configure USE="java" and JAVA_PKG_STRICT=1 in make.conf before
6 (emerge -avutDN world)ing
7 3) emerge -avutDN world.
8 4) Watch as sys-lib/db attempts to call class-version-verify.py and then
9 dies saying that the class version is incorrect.
10
11 Most should be able to figure this out via the output [1] below.
12
13 So the question is, do we move the DEPEND on javatoolkit. If so where?
14 java-utils-2.eclass? or do we update java-pkg_verify-classes() to check
15 for whether class-version-verify is actually available before attempting
16 to use it?
17
18 Alistair
19
20 [1]
21
22 grep "javatoolkit" /usr/portage/eclass/*java*.eclass
23 /usr/portage/eclass/java-ant-2.eclass:# We need some tools from
24 javatoolkit. We also need portage 2.1 for phase hooks
25 /usr/portage/eclass/java-ant-2.eclass:DEPEND=">=dev-java/javatoolkit-0.2.0-r1
26 ${JAVA_PKG_PORTAGE_DEP} ${JAVA_ANT_E_DEPEND}"
27 /usr/portage/eclass/java-ant-2.eclass: local
28 rewriter3="/usr/share/javatoolkit/xml-rewrite-3.py"
29 /usr/portage/eclass/java-ant-2.eclass: eerror "Do you have
30 dev-java/javatoolkit installed?"
31 --
32 gentoo-java@l.g.o mailing list