Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231358 - Error in getmaskingstatus
Summary: Error in getmaskingstatus
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
Depends on:
Blocks: 210077
  Show dependency tree
Reported: 2008-07-09 23:11 UTC by René 'Necoro' Neumann
Modified: 2008-07-23 07:59 UTC (History)
0 users

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

getmaskingstatus.patch (getmaskingstatus.patch,377 bytes, patch)
2008-07-09 23:12 UTC, René 'Necoro' Neumann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René 'Necoro' Neumann 2008-07-09 23:11:10 UTC
Under some circumstances, getmaskingstatus yields an error:

File "/usr/lib/portage/pym/portage/", line 6343, in getmaskingstatus
    settings.setcpv(p, mydb=metadata)
NameError: global name 'p' is not defined

It happens sometimes in Portato (a Portage GUI) and I haven't seen it when running from CLI... but it is really a portage bug nevertheless  ;)
Comment 1 René 'Necoro' Neumann 2008-07-09 23:12:32 UTC
Created attachment 159991 [details, diff]

And this small patch should fix it :)
(not tested, but assumed from reading the code)
Comment 2 Zac Medico gentoo-dev 2008-07-09 23:22:29 UTC
Thanks, you patch is in svn r11004.
Comment 3 Zac Medico gentoo-dev 2008-07-23 07:59:45 UTC
This is fixed in 2.2_rc2.