Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103112 - log4j-1.2.11 depends on openjms even if USE-flag jms is not set
Summary: log4j-1.2.11 depends on openjms even if USE-flag jms is not set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-20 02:08 UTC by Tiziano Müller (RETIRED)
Modified: 2005-08-20 10:15 UTC (History)
2 users (show)

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 Tiziano Müller (RETIRED) gentoo-dev 2005-08-20 02:08:43 UTC
I assume that there is a little typo in the RDEPEND line:     
jms? || ( =dev-java/openjms-0.7.6* =dev-java/openjms-bin-0.7.6* )"     
     
which should actually be:     
jms? ( =dev-java/openjms-0.7.6* =dev-java/openjms-bin-0.7.6* )"    
   
   
With the original version, the line   
use jms && antflags="${antflags} -Djms.jar=/opt/openjms/lib/jms-1.0.2a.jar"   
in src_compile() doesn't really make sense, does it?  
  

Reproducible: Always
Steps to Reproduce:
Comment 1 Markus Krainer 2005-08-20 02:46:22 UTC
I think the correct RDEPEND for 'jms' should actually be:

jms? ( || ( =dev-java/openjms-0.7.6* =dev-java/openjms-bin-0.7.6* ) )"

(Added betelgeuse@gentoo.org to CC as he's in cvs $Header:$; hope that's ok)
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-08-20 04:34:40 UTC
Well I get the java@gentoo.org email so it is useless to add me to CC. I should
have been more thorough when doing the version bump. Sorry about that. Actually
it is the use jms && antflags="${antflags}
-Djms.jar=/opt/openjms/lib/jms-1.0.2a.jar"    that should be fixed.

jms? ( =dev-java/openjms-0.7.6* =dev-java/openjms-bin-0.7.6* )"   
This means that both openjms and openjms-bin are needed, which is not the case.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2005-08-20 05:01:17 UTC
I reverted to the old behaviour because depending on openjms would bring a
circular dependency.
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2005-08-20 10:15:03 UTC
And depending on dev-java/openjms, which depends on dev-java/jms, where the 
user has to register at Sun is also not such a good idea, for just having the 
log4j emerged...