Summary: | dev-java/jaxen-1.1.4: Missing dep on jdom-jaxen | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | New packages | Assignee: | Java team <java> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=482750 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Patrick Lauer
2013-08-15 03:23:16 UTC
FEATURES="-test" emerge -1 jdom-jaxen That works - so it's an optional dependency triggered by the test phase? $ equery d dev-java/jdom-jaxen:1.0 * These packages depend on jdom-jaxen: dev-java/jdom-1.0-r4 (~dev-java/jdom-jaxen-1.0) $ equery d dev-java/jdom:1.0 * These packages depend on dev-java/jdom: dev-java/jaxen-1.1.4 (dev-java/jdom:1.0) dev-java/jdom-jaxen-1.0-r1 (~dev-java/jdom-1.0) dev-java/saxon-9.2.0.6 (dev-java/jdom:1.0) $ . jaxen/jaxen-1.1.4.ebuild ; echo DEPEND: ${DEPEND} ; echo RDEPEND: ${RDEPEND} -bash: inherit: command not found DEPEND: >=virtual/jdk-1.4 test? ( dev-java/ant-junit:0 ) dev-java/dom4j:1 dev-java/jdom:1.0 dev-java/xom:0 RDEPEND: >=virtual/jre-1.4 dev-java/dom4j:1 dev-java/jdom:1.0 dev-java/xom:0 $ . jdom/jdom-1.0-r2.ebuild ; echo PDEPEND: ${PDEPEND} -bash: inherit: command not found PDEPEND: ~dev-java/jdom-jaxen- Tricky situation; jaxen should pull in jdom, and jdom on its own turn should pull in jdom-jaxen. But, because it is a PDEPEND, jdom can possibly be merged after jdom-jaxen; so, appears we do need to add a dependency to avoid this on all its reverse dependencies despite the package not really using it. The other option is to rewrite PMs to merge PDEPENDs before merging reverse dependencies... It might be the case that PDEPENDs already merge before reverse dependencies; if that is the case, your Portage tree is broken. Which appears to be the case, since you don't have the package installed; but well, just to make it work despite a broken dep tree I will add it explicitly. + 15 Aug 2013; Tom Wijsman <TomWij@gentoo.org> +jaxen-1.1.4-r1.ebuild: + Revision bump. dev-java/jdom-jaxen:1.0 added as a common dependency because + dev-java/jdom:1.0 needs it, fixes bug #481112 reported by Patrick Lauer + (bonsaikitten). I'm trying to install sci-biology/beast-mcmc-1.7.5 which depends on dev-java/jdom-jaxen and now get [ebuild N ] sci-biology/beast-mcmc-1.7.5 39,567 kB [nomerge ] dev-java/jdom-jaxen-1.0-r1:1.0 [ebuild N ] dev-java/jaxen-1.1.4-r1:1.1 USE="-doc -examples -source {-test}" 0 kB [ebuild N ] dev-java/jdom-jaxen-1.0-r1:1.0 0 kB This results in bug #482750. + 30 Aug 2013; Tom Wijsman <TomWij@gentoo.org> -jaxen-1.1.4-r1.ebuild: + Remove revision bump which causes a circular dependency as seen in bug + #482750, bug reported by Camaron and Ted Tanberry; this revision bump was + introduced for bug #481112 where the dependency should be indirectly installed + because it is a dependency of the jdom dependency. |