[oe] [meta-oe][PATCH] layer.conf: add meta-python to LAYERDEPENDS

changqing.li at windriver.com changqing.li at windriver.com
Fri Mar 6 05:37:56 UTC 2020


From: Changqing Li <changqing.li at windriver.com>

yocto-check-layer/test_world failed since error:
ERROR: test_world (common.CommonCheckLayer)
ERROR: Nothing PROVIDES 'python3-pytoml-native' (but
/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb
DEPENDS on or otherwise requires it). Close matches:
  python3-numpy-native
  python3-pycairo-native
  python3-rpm-native
ERROR: Required build target 'meta-world-pkgdata' has no buildable
providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'mozjs', 'python3-pytoml-native']

mozjs depend on recipe under meta-python, but meta-python
isn't in LAYERDEPENDS, so error occurred. Fix by add
it into LAYERDEPENDS.

Signed-off-by: Changqing Li <changqing.li at windriver.com>
---
 meta-oe/conf/layer.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf
index c537736..0ce0ad2 100644
--- a/meta-oe/conf/layer.conf
+++ b/meta-oe/conf/layer.conf
@@ -27,7 +27,10 @@ BBFILE_PRIORITY_openembedded-layer = "6"
 # cause compatibility issues with other layers
 LAYERVERSION_openembedded-layer = "1"
 
-LAYERDEPENDS_openembedded-layer = "core"
+LAYERDEPENDS_openembedded-layer = " \
+    core \
+    meta-python \
+"
 
 LAYERSERIES_COMPAT_openembedded-layer = "thud warrior zeus"
 
-- 
2.7.4



More information about the Openembedded-devel mailing list