Summary: | equery should take || ( package1 package2 ) dependencies into consideration and only use the relevant one | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | JING Cheng <jingcheng01> |
Component: | Current packages | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED DUPLICATE | ||
Severity: | minor | CC: | douglasjanderson, pqGungnir |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
JING Cheng
2008-10-23 05:27:56 UTC
Additionally here is the results of equery d elementtree: [ Searching for packages depending on elementtree... ] dev-python/gdata-1.0.8 (dev-python/elementtree) gnome-extra/avant-window-navigator-0.2.6-r1 (dev-python/elementtree) Both packages have the following RDEPEND: || ( >=dev-lang/python-2.5 dev-python/elementtree ) Since you have python-2.5 installed you don't need dev-python/elementtree. It seems as if equery does not detect the optional dependency. Re-assigning to tools-portage, if this is a bug, it's in equery. Tools-portage, please evaluate. I can confirm this bug for app-portage/gentoolkit-0.2.4.2 for a similar case: equery depends dev-python/celementtree [ Searching for packages depending on dev-python/celementtree... ] dev-java/javatoolkit-0.3.0-r2 (dev-python/celementtree) I don't have celementtree installed, and javatoolkit-0.3.0-r2.ebuild contains: RDEPEND="dev-python/pyxml || ( >=dev-lang/python-2.5 dev-python/celementtree )" Btw: an alternative tool from app-portage/portage-utils-0.1.29 does not have this issue. "qdepends -Q dev-python/celementtree" returns no result. Duping this with Bug #258507, since it is a clearer description of the problem. *** This bug has been marked as a duplicate of bug 258507 *** |