Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 81589

Summary: eix falsely says that firefox is not in stable branch
Product: Portage Development Reporter: Ralph Jones <ralph.jones>
Component: Third-Party ToolsAssignee: Benedikt Böhm (RETIRED) <hollow>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ralph Jones 2005-02-11 01:54:01 UTC
eix falsely says that firefox is not in stable branch on my system.

eix firefox gives the following output on my system:

* net-www/mozilla-firefox
Available versions: 0.9.3 ~1.0_pre-r2 ~1.0_rc1 ~1.0_rc2 ~1.0 ~1.0-r1 ~1.0-r2 ~1.0-r3
Installed: 1.0
Homepage: http://www.mozilla.org/projects/firefox/
Description: The Mozilla Firefox Web Browser

emerge -p mozilla-firefox gives the following:
ebuild R ] net-www/mozilla-firefox-1.0

grep firefox /etc/portage/* displays nothing.

grep KEYWORDS displays the following:
mozilla-firefox-0.9.3.ebuild:KEYWORDS="x86 ppc sparc alpha amd64 ia64"
mozilla-firefox-1.0.ebuild:KEYWORDS="alpha amd64 ~arm ~ia64 ppc sparc x86"
mozilla-firefox-1.0_pre-r2.ebuild:KEYWORDS="~alpha amd64 arm ia64 ppc sparc x86"
mozilla-firefox-1.0-r2.ebuild:KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
mozilla-firefox-1.0-r3.ebuild:KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 hppa"
mozilla-firefox-1.0_rc1.ebuild:KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
mozilla-firefox-1.0_rc2.ebuild:KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"

portage seems to correctly know that firefox 1.0 is stable, but eix displays it wrongly. I then edited the file /usr/portage/metadata/cache/net-www/mozilla-firefox-1.0 and changed the order of the architecture list so that x86 came first and did another eix -u. This fixed the problem.

I then played around a bit and found that if there is an architecture with the testing flag before x86 in the list, then eix thinks eix is testing too.

So it looks as if I have found an eix problem.
The eix version is 0.2.0_alpha

Reproducible: Always
Steps to Reproduce:
1. eix firefox on x86 system
result: ~1.0
2. edit /usr/portage/metadata/cache/net-www/mozilla-firefox-1.0
change position of x86 in list so that there are no ~ flags preceding it
3. eix -u
4. eix firefox
result: 1.0 (without ~)




eix version 0.2.0_alpha
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2005-02-11 16:06:40 UTC
This is already fixed upstream, the new release (0.2.0) will be out in a few days, so i won't patch this version. You can try the eix-cvs ebuild if you like: http://eix.sourceforge.net/ebuilds/eix-cvs-0.2.ebuild