public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alistair Bush <ali_bush@gentoo.org>
To: gentoo-java@lists.gentoo.org
Subject: [gentoo-java] javatoolkit Depend problem
Date: Mon, 16 Jun 2008 23:14:55 +1200	[thread overview]
Message-ID: <48564B2F.6040603@gentoo.org> (raw)

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@lists.gentoo.org mailing list



                 reply	other threads:[~2008-06-16 11:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48564B2F.6040603@gentoo.org \
    --to=ali_bush@gentoo.org \
    --cc=gentoo-java@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox