Summary: | dev-java/jamvm-1.5.4-r2 has circular dependency via dev-java/gnu-classpath | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maxim Kammerer <mk> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=416819 https://bugs.gentoo.org/show_bug.cgi?id=421223 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | gnu-classpath.patch |
Description
Maxim Kammerer
2012-06-14 12:25:01 UTC
Created attachment 315299 [details, diff]
gnu-classpath.patch
gnu-classpath needs a jdk at build time which already provides a jre. Also RDEPEND is correct, PDEPEND only works if there are no reverse dependencies requiring the functionality added trough the availability of the package in PDEPEND. See jdom-jaxen for an example of how that can go wrong. So all there is to this is, the resolver isn't clever enough and jamvm must be installed in two steps, same as with icedtea. *** This bug has been marked as a duplicate of bug 382421 *** I see now that PDEPEND doesn't work well. However, what about a simpler solution than waiting for bug #382421 to resolve? The only reason that gnu-classpath RDEPENDs on virtual/jre is the scripts in /usr/gnu-classpath-0.98/bin. I suspect that these scripts are rarely necessary -- e.g., jamvm supplies its own scripts in /usr/lib/jamvm/bin. I suggest separating installation of /usr/gnu-classpath-0.98/bin into a USE flag, say USE=tools. Should I open a separate enhancement request for that? Separate enhancement request filed: bug #421223. |