Re: [meta-oe][dunfell][PATCH] meta-oe/conf/layer.conf: depend on meta-python

Martin Jansa

NAK meta-oe cannot depend on meta-python, fix your ostree change to respect both PTEST_ENABLED and BBFILES_COLLECTIONS.

And more importantly make sure that all these changes you're proposing for dunfell are already merged in master and if you believe that they are specific only for dunfell, then you will need to explain it in the commit message.

On Tue, Jun 8, 2021 at 7:04 AM akash hadke <akash.hadke@...> wrote:
From: Mikko Rapeli <mikko.rapeli@...>

Fixes yocto-layers-check error:

ERROR: Nothing RPROVIDES 'python3-pyyaml' (but /home/builder/src/base/meta-openembedded/meta-oe/recipes-extended/ostree/
 RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python3-pyyaml' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-pyyaml']
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'ostree', 'python3-pyyaml']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Signed-off-by: Mikko Rapeli <mikko.rapeli@...>
Signed-off-by: akash hadke <akash.hadke@...>
 meta-oe/conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf
index adcec83..efdd04a 100644
--- a/meta-oe/conf/layer.conf
+++ b/meta-oe/conf/layer.conf
@@ -34,7 +34,7 @@ perl-layer:${LAYERDIR}/dynamic-layers/perl-layer/recipes-*/*/*.bb \
 # 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 dunfell"


Join to automatically receive all group messages.