[oe] [meta-oe][PATCH] layer.conf: add meta-python to LAYERDEPENDS
Jeremy A. Puhlman
jpuhlman at mvista.com
Fri Mar 6 17:48:44 UTC 2020
On 3/6/2020 8:12 AM, Khem Raj wrote:
> On Thu, Mar 5, 2020 at 11:55 PM Martin Jansa <martin.jansa at gmail.com> wrote:
>> Can we fix mozjs instead?
> perhaps thats better fix, maybe it can made optional via packageconfig ?
> or marked incompatible if meta-python is not included
So that would be the logical thing, but wont that fail the
yocto-layer-check, which
was the original reason for the change request in the first place?
One of the checks is that the configuration of packages is the same
before and
after you add the new layer. If configuration changes in mozjs when you
add the
meta-networking layer, that should trigger a fail. In this instance the
change
is instituted by the original mozjs recipe so it should be legal, but I
don't think
the checker is able to validate that is it?
>> On Fri, Mar 6, 2020 at 6:38 AM <changqing.li at windriver.com> wrote:
>>
>>> 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
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel at lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Jeremy A. Puhlman
jpuhlman at mvista.com
More information about the Openembedded-devel
mailing list