From: Zac Medico Date: Fri, 8 Feb 2008 01:26:13 +0000 (-0000) Subject: Bug #208708 - Fix warnings for system or world packages that are masked. X-Git-Tag: v2.2_pre1~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=23df221085a894d8ee2901bc235185491d978d08;p=portage.git Bug #208708 - Fix warnings for system or world packages that are masked. svn path=/main/trunk/; revision=9289 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index e8b741086..efb863565 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2082,7 +2082,9 @@ class depgraph(object): continue pkg, existing_node = self._select_package( myroot, atom, onlydeps=onlydeps) - if not pkg: + if not pkg or \ + (pkg.installed and portdb.xmatch("match-all", atom) \ + and not portdb.xmatch("bestmatch-visible", atom)): if not (isinstance(arg, SetArg) and \ arg.name in ("system", "world")): self._show_unsatisfied_dep(myroot, atom)