Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48447 - Traceback on the new getmaskingreason()
Summary: Traceback on the new getmaskingreason()
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-20 03:20 UTC by Jason Stubbs (RETIRED)
Modified: 2004-04-20 08:02 UTC (History)
0 users

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 Jason Stubbs (RETIRED) gentoo-dev 2004-04-20 03:20:53 UTC
Package masked in /etc/portage/package.mask caused the following:

Calculating world dependencies /
!!! all ebuilds that could satisfy ">=gnome-base/ORBit2-2.9" have been masked.
!!! possible candidates are:
- gnome-base/ORBit2-2.10.0 (masked by: package.mask)
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2617, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1187, in xcreate
    if not self.create(myk,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 867, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1086, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 867, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1086, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 867, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1086, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 867, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1086, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 867, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1025, in select_dep
    comment = portage.getmaskingreason(p)
  File "/usr/lib/portage/pym/portage.py", line 3496, in getmaskingreason
    if l[0] == "#":
IndexError: string index out of range
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-04-20 07:52:03 UTC
Can you tell me which revision of package.mask caused that, as the entry for ORBit2 is commented in the current version (and I can't reproduce it by simply uncommenting). The only possible reason for this exception that I see atm is if the package.mask is empty, but then the package wouldn't be masked ;)
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-04-20 08:02:55 UTC
Ok, I guess you had that entry in your /etc/portage/pckage.mask, right? My statement about empty package.mask was wrong, just forgot that pmaskdict contains the entries from both package.mask files. Fixed in CVS.