summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-01-23 08:19:06 -0800
committerZac Medico <zmedico@gentoo.org>2013-01-23 08:19:06 -0800
commit9ae58b611e7a0d2080f0f48c207c7323dfa06dc3 (patch)
treef6019d0a5557d2619822758c7465e051912cc6b7 /pym/portage/dbapi
parent2f9ee1635ca33f347e6eaa523e965c7172cd481e (diff)
downloadportage-9ae58b611e7a0d2080f0f48c207c7323dfa06dc3.tar.gz
portage-9ae58b611e7a0d2080f0f48c207c7323dfa06dc3.tar.bz2
portage-9ae58b611e7a0d2080f0f48c207c7323dfa06dc3.zip
Package: filter built USE for bug #453400
The enabled flags must be consistent with implicit IUSE, in order to avoid potential inconsistencies in USE dep matching (see bug #453400).
Diffstat (limited to 'pym/portage/dbapi')
-rw-r--r--pym/portage/dbapi/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/dbapi/__init__.py b/pym/portage/dbapi/__init__.py
index 3540c6dc6..79d1e7a3d 100644
--- a/pym/portage/dbapi/__init__.py
+++ b/pym/portage/dbapi/__init__.py
@@ -217,7 +217,9 @@ class dbapi(object):
# Use IUSE to validate USE settings for built packages,
# in case the package manager that built this package
# failed to do that for some reason (or in case of
- # data corruption).
+ # data corruption). The enabled flags must be consistent
+ # with implicit IUSE, in order to avoid potential
+ # inconsistencies in USE dep matching (see bug #453400).
use = frozenset(x for x in metadata["USE"].split()
if x in iuse or iuse_implicit_match(x))
missing_enabled = frozenset(x for x in