aboutsummaryrefslogtreecommitdiffstats
path: root/lib/_emerge/depgraph.py
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-30 05:30:04 +0000
committerSam James <sam@gentoo.org>2023-11-06 15:57:56 +0000
commit262b8c9213c6698be4a7e2ce88536568899e6c2a (patch)
tree4b2c2df6c08e3062d748231257eb3587f3e045fc /lib/_emerge/depgraph.py
parentUse documented os.register_at_fork function (diff)
downloadgentoo-portage-262b8c9213c6698be4a7e2ce88536568899e6c2a.tar.xz
gentoo-portage-262b8c9213c6698be4a7e2ce88536568899e6c2a.zip
emerge: fix binpkg-respect-use notice with blockers
Items in _dynamic_config._displayed_list might be blockers, so filter those out. Bug: https://bugs.gentoo.org/916336 Fixes: bb82666b48e18f448661a1a8bf6a39b773cc4b1c Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'lib/_emerge/depgraph.py')
-rw-r--r--lib/_emerge/depgraph.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/_emerge/depgraph.py b/lib/_emerge/depgraph.py
index 85845dc1e2f..0717e0429f6 100644
--- a/lib/_emerge/depgraph.py
+++ b/lib/_emerge/depgraph.py
@@ -1234,7 +1234,11 @@ class depgraph:
def _show_ignored_binaries_respect_use(self, respect_use):
seen = {}
messages = []
- merging = {pkg.cpv for pkg in self._dynamic_config._displayed_list}
+ merging = {
+ pkg.cpv
+ for pkg in self._dynamic_config._displayed_list
+ if isinstance(pkg, Package)
+ }
for pkg, flags in respect_use.items():
# Don't include recursive deps which aren't in the merge list anyway.
if pkg.cpv not in merging: