From 9ae58b611e7a0d2080f0f48c207c7323dfa06dc3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 23 Jan 2013 08:19:06 -0800 Subject: 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). --- pym/portage/dbapi/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pym/portage/dbapi') 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 -- cgit v1.2.3-1-g7c22