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

Bug 15376

Summary: Portage ranks ebuild versions improperly
Product: Portage Development Reporter: Dennis Lin <advertisements>
Component: UnclassifiedAssignee: Nicholas Jones (RETIRED) <carpaski>
Status: RESOLVED WORKSFORME    
Severity: major CC: mholzer
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dennis Lin 2003-02-09 13:03:00 UTC
I'm running Gentoo 1.2 with portage-2.0.46-r12

I was tring to update my system, and I got
# emerge -up world

These are the packages that I would merge, in order:

Calculating world dependencies \
!!! all ebuilds that could satisfy ">=sys-libs/ncurses-5.3" have been masked.
!!!    (dependency required by "net-im/licq-1.2.4-r2" [ebuild])

Digging a little bit deeper, I found that I did in fact have 

ncurses-5.3-r1.ebuild

and it was unmasked.

However, emerge -p ncurses want to give me sys-libs/ncurses-5.2-r7

I did manage to just emerge the 5.3 ebuild file, it didn't complain.  However,
now an emerge -p ncurses gives me

Calculating dependencies ...done!
[ebuild    UD] sys-libs/ncurses-5.2-r7 [5.3-r1] 

I think that this may have a problem where portage is sorting on revision number
before version number.

Reproducible: Always
Steps to Reproduce:
1. emerge -p world
2. emerge -p ncurses
3. emerge ncurses-5.3-r1.ebuild
4. emerge -p ncurses

Actual Results:  
Calculating dependencies ...done!
[ebuild    UD] sys-libs/ncurses-5.2-r7 [5.3-r1] 

Expected Results:  
Calculating dependencies ...done!
[ebuild   R  ] sys-libs/ncurses-5.3-r1
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-02-09 17:04:36 UTC
this is working as expected

ncurses IS MASKED!!
<sys-libs/ncurses-5.2.20020112a
Comment 2 Dennis Lin 2003-02-11 18:18:17 UTC
Running on the appropriate directory of my portage tree, I have

$ grep KEYWORD *.ebuild
ncurses-5.2.20020511-r3.ebuild:KEYWORDS="x86 ppc sparc alpha mips"
ncurses-5.2-r7.ebuild:KEYWORDS="x86 sparc "
ncurses-5.3-r1.ebuild:KEYWORDS="x86 ~ppc ~sparc alpha hppa"
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-02-21 05:24:47 UTC
Is this still and issue?
Reopen if it hasn't corrected itself.

/usr/portage/profiles/package.mask
and /etc/make.profile/packages
are both kinds of masks.