From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dqmr7-0004lf-GU for garchives@archives.gentoo.org; Fri, 08 Jul 2005 07:01:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j686xNHq001692; Fri, 8 Jul 2005 06:59:23 GMT Received: from mail.moodmedia.ro (mail.moodmedia.ro [194.176.186.204]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j686tPSj003507 for ; Fri, 8 Jul 2005 06:55:25 GMT Received: from [192.168.0.2] (NS.moodmedia.ro [194.176.186.201]) by mail.moodmedia.ro (8.12.8/8.12.534) with ESMTP id j686sHvB004395 for ; Fri, 8 Jul 2005 09:54:17 +0300 Message-ID: <42CE2024.6070003@moodmedia.ro> Date: Fri, 08 Jul 2005 09:41:40 +0300 From: Catalin Grigoroscuta User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050629 X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] equery caching? References: <42CD4CF7.8020905@moodmedia.ro> In-Reply-To: Content-Type: multipart/alternative; boundary="------------020502060606050804050003" X-MailScanner: Found to be clean X-Archives-Salt: f6ab194f-fe8f-47a2-93e5-500aa6588ce2 X-Archives-Hash: 77ba175de67629eff9b849d0909a14df This is a multi-part message in MIME format. --------------020502060606050804050003 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi again, Even with eupdtaedb, same result. I think this might be a bug in equery. Should I put it in bugzilla? Here is the proof for what I think is a bug: see the output of "equery hasuse motif" and "equery uses emacs". The results are contradictory. catalin ~ # equery hasuse motif [ Searching for USE flag motif in all categories among: ] * installed packages [I--] [ ] app-editors/emacs-21.4-r1 (21) [I--] [ ] app-text/xpdf-3.00-r8 (0) [I--] [ ] x11-terms/rxvt-2.7.10-r2 (0) catalin ~ # equery uses emacs [ Searching for packages matching emacs... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for app-editors/emacs-21.4-r1 ] U I + + X : Adds support for X11 - - Xaw3d : Adds support of the 3d athena widget set - - gnome : Adds GNOME support + + leim : Adds input methods support to Emacs - - lesstif : Use lesstif over openmotif in cases where a program supports both - - motif : Adds motif support (x11-libs/openmotif x11-libs/lesstif) + + nls : - - nosendmail : If you do not want to install any MTA Wade Brown wrote: >Equery, esearch, and einfo (I think) are from an index built by >running eupdatedb. I'd imagine you're using esync which is just a >very small script that does emerge sync && eupdatedb, so doing a fresh >esync would alleviate the problem you seem to be having, albeit with a >bit of overkill. Just run eupdatedb as root and see if everything >updates properly. > >On 7/7/05, Catalin Grigoroscuta wrote: > > >>Hello, >> >>I've just rebuilt my system without "motif" use flag (with emerge >>--newuse, etc). >>Everything works fine, except that equery shows stale data. >> >>For example: >>1. "equery depends emacs" shows openmotif as dependency, but emacs is >>rebuilt without motif USE ("emerge -pv emacs" clearly shows this). >>2. "equery hasuse motif" also shows emacs >> >>Is there any caching done by equery? How can I invalidate it? >> >>Thank you, >>Catalin >> >>-- >>gentoo-user@gentoo.org mailing list >> >> >> >> > > > --------------020502060606050804050003 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi again,

Even with eupdtaedb, same result.
I think this might be a bug in equery. Should I put it in bugzilla?
Here is the proof for what I think is a bug: see the output of "equery hasuse motif" and "equery uses emacs". The results are contradictory.

catalin ~ # equery hasuse motif
[ Searching for USE flag motif in all categories among: ]
 * installed packages
[I--] [  ] app-editors/emacs-21.4-r1 (21)
[I--] [  ] app-text/xpdf-3.00-r8 (0)
[I--] [  ] x11-terms/rxvt-2.7.10-r2 (0)
catalin ~ # equery uses emacs
[ Searching for packages matching emacs... ]
[ Colour Code : set unset ]
[ Legend    : Left column  (U) - USE flags from make.conf              ]
[           : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for app-editors/emacs-21.4-r1 ]
 U I
 + + X          : Adds support for X11
 - - Xaw3d      : Adds support of the 3d athena widget set
 - - gnome      : Adds GNOME support
 + + leim       : Adds input methods support to Emacs
 - - lesstif    : Use lesstif over openmotif in cases where a program supports both
 - - motif      : Adds motif support (x11-libs/openmotif x11-libs/lesstif)
 + + nls        : <unknown>
 - - nosendmail : If you do not want to install any MTA


Wade Brown wrote:
Equery, esearch, and einfo (I think) are from an index built by
running eupdatedb.  I'd imagine you're using esync which is just a
very small script that does emerge sync && eupdatedb, so doing a fresh
esync would alleviate the problem you seem to be having, albeit with a
bit of overkill.  Just run eupdatedb as root and see if everything
updates properly.

On 7/7/05, Catalin Grigoroscuta <c.grigoroscuta@moodmedia.ro> wrote:
  
Hello,

I've just rebuilt my system without "motif" use flag (with emerge
--newuse, etc).
Everything works fine, except that equery shows stale data.

For example:
1. "equery depends emacs" shows openmotif as dependency, but emacs is
rebuilt without motif USE ("emerge -pv emacs" clearly shows this).
2. "equery hasuse motif" also shows emacs

Is there any caching done by equery? How can I invalidate it?

Thank you,
Catalin

--
gentoo-user@gentoo.org mailing list


    

  

--------------020502060606050804050003-- -- gentoo-user@gentoo.org mailing list