Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137923 - ebuild depend on dev-java/java-config via java-pkg.eclass with useflag -java
Summary: ebuild depend on dev-java/java-config via java-pkg.eclass with useflag -java
Status: RESOLVED DUPLICATE of bug 137971
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 137955 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-25 04:22 UTC by Florian Steinel
Modified: 2006-06-25 13:53 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 Florian Steinel 2006-06-25 04:22:13 UTC
The eclass java-pkg.eclass sets DEPEND and RDEPEND to dev-java/java-config .
But dev-libs/cyrus-sasl is build with -java useflag, so no need for java-config .
As conditional inherits with depencies on useflags are not allowed, i don't know if this can be fixed?
(Maybe an version 2 of java-pkg.eclass with DEPEND / RDEPEND and version 1 without?)
This depend was introduced with commit 1.36 in java-config.

dev-libs/cyrus-sasl-2.1.21-r2
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-25 11:04:02 UTC
*** Bug 137955 has been marked as a duplicate of this bug. ***
Comment 2 Florian Steinel 2006-06-25 11:15:44 UTC
May be this (in java-pkg.eclass):
+if useq java; then
 JAVA_CONFIG_DEP="|| ( =dev-java/java-config-1.3* =dev-java/java-config-1.2* )"
 DEPEND="${JAVA_CONFIG_DEP}"
 RDEPEND="${JAVA_CONFIG_DEP}"
+fi
would help?
But this spits the following QA warnings:
Calculating world dependencies 
QA Notice: USE Flag 'java' not in IUSE for dev-libs/cyrus-sasl-2.1.19-r1
QA Notice: USE Flag 'java' not in IUSE for dev-libs/cyrus-sasl-2.1.21-r1
QA Notice: USE Flag 'java' not in IUSE for dev-libs/cyrus-sasl-2.1.21
QA Notice: USE Flag 'java' not in IUSE for dev-libs/cyrus-sasl-2.1.20
QA Notice: USE Flag 'java' not in IUSE for dev-libs/cyrus-sasl-2.1.20-r3
QA Notice: USE Flag 'java' not in IUSE for dev-libs/cyrus-sasl-2.1.20-r2
QA Notice: USE Flag 'java' not in IUSE for dev-libs/cyrus-sasl-2.1.20-r1
QA Notice: USE Flag 'java' not in IUSE for dev-libs/cyrus-sasl-2.1.21-r2
Hhm
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-06-25 13:53:15 UTC

*** This bug has been marked as a duplicate of 137971 ***