Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 10252

Summary: JBoss virtual/jdk dependency doesn't work properly
Product: Gentoo Linux Reporter: Miles Barr <miles>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.