[bitbake-devel] [PATCH 3/4] bitbake-layers: show-cross-depends: ignore self-satisfied RDEPENDS

Paul Eggleton paul.eggleton at linux.intel.com
Fri May 23 15:22:16 UTC 2014

Overlayed recipes caused this to show false positives because the
overlaying version appeared to be satisfying the overlayed version's
RDEPENDS; but you'd never be building both at the same time.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
 bin/bitbake-layers | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/bitbake-layers b/bin/bitbake-layers
index 326239a..135096b 100755
--- a/bin/bitbake-layers
+++ b/bin/bitbake-layers
@@ -626,6 +626,9 @@ The .bbappend file can impact the dependency.
             for rdep in all_rdeps:
                 all_p = bb.providers.getRuntimeProviders(self.bbhandler.cooker_data, rdep)
                 if all_p:
+                    if f in all_p:
+                        # The recipe provides this one itself, ignore
+                        continue
                     best = bb.providers.filterProvidersRunTime(all_p, rdep,

More information about the bitbake-devel mailing list