Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10252 - JBoss virtual/jdk dependency doesn't work properly
Summary: JBoss virtual/jdk dependency doesn't work properly
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-05 04:52 UTC by Miles Barr
Modified: 2003-03-17 04:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miles Barr 2002-11-05 04:52:46 UTC
JBoss has a runtime dependency like this:

RDEPEND=">=virtual/jdk-1.3"

I've installed sun-jdk version 1.4.1 but when I emerge jboss it tries to install
the IBM jdk version 1.3.1.

I edited the /var/cache/edb/virtuals file so the sun-jdk came before ibm-jdk in
the virtual/jdk entry and the problem went away.

Shouldn't emerge check all entries in the virtual list to see if one of them
meets the criteria rather than just checking the first one?
Comment 1 Ryan Shaw 2003-01-15 08:29:11 UTC
Miles,

Which JDKs (including versions) other than sun-jdk-1.4.1 
did you have installed when you tried to emerge jboss and
it wanted to install ibm-jdk-1.3.1?
Comment 2 Dylan Carlson (RETIRED) gentoo-dev 2003-03-17 04:32:27 UTC
It's been two months.  Closing as WORKSFORME.