Show masking reasons for --binpkg-respect-use. Thanks to Sebastian Luther
authorZac Medico <zmedico@gentoo.org>
Sun, 21 Mar 2010 21:47:28 +0000 (21:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 21 Mar 2010 21:47:28 +0000 (21:47 -0000)
(few) for this patch.

svn path=/main/trunk/; revision=15840

pym/_emerge/depgraph.py

index 2470e6a0d8cd33cf33d90d359ac8c9aade84c00a..99fce457b03c2f82818e39dc208ac953366ecba2 100644 (file)
@@ -2180,6 +2180,8 @@ class depgraph(object):
                                                missing_use.append(pkg)
                                                if not mreasons:
                                                        continue
+                                       if pkg.built and not mreasons:
+                                               mreasons = ["use flag configuration mismatch"]
                                masked_packages.append(
                                        (root_config, pkgsettings, cpv, metadata, mreasons))