Summary: | Make java eclasses warn when there's both virtual/jdk and virtual/jre atoms in DEPEND | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petteri Räty (RETIRED) <betelgeuse> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | asturm |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Petteri Räty (RETIRED)
2010-07-25 16:19:46 UTC
repoman actually spits out a dependency.missingslot warning if you get this wrong but the error message doesn't relate specifically to this problem. All our >= virtual entries fall foul of dependency.missingslot but repoman knows that this is okay for DEPEND=">=virtual/jdk-x.x" and RDEPEND=">=virtual/jre-x.x". It's only when you mix them up that it complains. I know to look out for this but other developers have misinterpreted it and incorrect restricted the virtuals to a specific SLOT. In rare situations, such as ant-core, it is correct to mix these up so it shouldn't be a fatal error. By the same token, it should probably be a repoman warning rather than an eqawarn. |