Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15376 - Portage ranks ebuild versions improperly
Summary: Portage ranks ebuild versions improperly
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-09 13:03 UTC by Dennis Lin
Modified: 2011-10-30 22:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.