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

Changqing Li changqing.li at windriver.com
Fri Mar 6 08:18:21 UTC 2020


yes,  this fix is not right,  just find that meta-python depend on 
meta-oe,  so this will cause a loop.

I will find another solution for this.

On 3/6/20 3:54 PM, Martin Jansa wrote:
> Can we fix mozjs instead?
>
> On Fri, Mar 6, 2020 at 6:38 AM <changqing.li at windriver.com 
> <mailto:changqing.li at windriver.com>> wrote:
>
>     From: Changqing Li <changqing.li at windriver.com
>     <mailto: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
>     <http://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
>     <mailto: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
>
>     -- 
>     _______________________________________________
>     Openembedded-devel mailing list
>     Openembedded-devel at lists.openembedded.org
>     <mailto:Openembedded-devel at lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


More information about the Openembedded-devel mailing list