Gentoo Archives: gentoo-user

From: Wade Brown <wanderer.wcb@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] equery caching?
Date: Fri, 08 Jul 2005 14:38:36
Message-Id: cee44eb305070807295404b0dd@mail.gmail.com
In Reply to: Re: [gentoo-user] equery caching? by Zac Medico
1 Whoops, you're right, I thought that equery was part of the other
2 etools just because of the naming convention. Pity what not having
3 access to a gentoo box at work anymore will do to a man.
4
5 On 7/8/05, Zac Medico <zmedico@×××××.com> wrote:
6 > Catalin Grigoroscuta wrote:
7 >
8 > >> I've just rebuilt my system without "motif" use flag (with emerge
9 > >> --newuse, etc).
10 > >> Everything works fine, except that equery shows stale data.
11 > >> For example:
12 > >> 1. "equery depends emacs" shows openmotif as dependency, but emacs is
13 > >> rebuilt without motif USE ("emerge -pv emacs" clearly shows this).
14 >
15 > The depends query shows all depends regardless of whether they are enabled or not (by USE flags).
16 >
17 > >> 2. "equery hasuse motif" also shows emacs
18 > >> Is there any caching done by equery? How can I invalidate it?
19 >
20 > The hasuse query shows all USE flags regardless of whether they are enabled or not.
21 >
22 > There is no cache, it queries the database directly.
23 >
24 > > I did not use esync, I did not even know about it, and I do not recall
25 > > seeing it in install docs...
26 > > It is quite strange why equery (which is in gentoolkit package) relies
27 > > on eupdatedb (which is in esearch package), and gentoolkit does not
28 > > depend on esearch.
29 > > If it were not for your answer, I wouldn't have known about esync and
30 > > eupdatedb.
31 > > I think maybe the install docs should be updated, or at least put
32 > > esearch as a dependency of gentoolkit.
33 >
34 > Gentoolkit and equery do not depend on esearch.
35 >
36 > > Even with eupdtaedb, same result.
37 > > I think this might be a bug in equery. Should I put it in bugzilla?
38 > > Here is the proof for what I think is a bug: see the output of "equery
39 > > hasuse motif" and "equery uses emacs". The results are contradictory.
40 >
41 > I explained this above. If you file a bug then AFAIKT it's a feature request.
42 >
43 > Zac
44 > --
45 > gentoo-user@g.o mailing list
46 >
47 >
48
49 --
50 gentoo-user@g.o mailing list