From aff3227b5e4a3dee9bceb120aac11f4bf3ac6409 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 3 Dec 2004 06:32:11 +0000 Subject: [PATCH] Fix oemake 'world' logic bug. --- bin/oemake | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bin/oemake b/bin/oemake index fea006f..c44d5cd 100644 --- a/bin/oemake +++ b/bin/oemake @@ -491,13 +491,20 @@ def build_depgraph(): for f in make.pkgdata.keys(): d = make.pkgdata[f] if oe.data.getVar('BROKEN', d, 1) or oe.data.getVar('EXCLUDE_FROM_WORLD', d, 1): + oe.debug(2, "OEMAKE skipping %s due to BROKEN/EXCLUDE_FROM_WORLD" % f) continue terminal = True pn = oe.data.getVar('PN', d, 1) for p in pn_provides[pn]: - if p in all_depends or p.startswith('virtual/'): + if p.startswith('virtual/'): + oe.debug(2, "OEMAKE skipping %s due to %s provider starting with virtual/" % (f, p)) terminal = False break + for pf in providers[p]: + if oe.data.getVar('PN', make.pkgdata[pf], 1) != pn: + oe.debug(2, "OEMAKE skipping %s due to both us and %s providing %s" % (f, pf, p)) + terminal = False + break if terminal: __world_target.add(pn) -- 2.7.4