Bo Ørsted Andresen wrote:
On Friday 23 June 2006 18:34, Neil Bothwick wrote:
AIUI equery works with global USE
flags, so if emerge --info still shows eds, equery will think
OOo depends on it, no matter what you have in /etc/portage.
I am pretty sure that it uses /var/db/pkg/${category}/${name}/USE
to determine the USE flags that were used when the package was
compiled.
It should, but it doesn't do that. For example, on my system I have
no hal:
$ eix -e hal | grep Installed
Installed: none
But:
$ equery depends hal
[ Searching for packages depending on hal... ]
gnome-base/gnome-vfs-2.12.2
app-cdr/k3b-0.12.15
It apparently produces any package that either depends on hal, or
_conditionally_ depends on hal. It clearly doesn't take USE flags
into account.
$ emerge --info | grep hal
[nothing]
$ equery --version
equery(0.1.4) - Gentoo Package Query Tool
Author(s): Karl Trygve Kalleberg
The previous version didn't list any conditional dependency, even
when the USE flag was set and the package installed, the current
version lists these conditional deps always.
These bugs look relevant:
https://bugs.gentoo.org/show_bug.cgi?id=81012
https://bugs.gentoo.org/show_bug.cgi?id=124053
Benno
--
gentoo-user@gentoo.org mailing list