From: Tim Orling <[email protected]> For container-yocto-builder, the container is the "host" and so we need the "Build Host Packages" equivalent in [1]. When we are building with mc:container-aarch64,-x86-64 multiconfig and the vcontainer distro, we need python3-pexpect and its dependency python3-ptyprocess to fulfill packagegroup-yocto-builder-extras. Otherwise we see a build-time error like:
ERROR: Nothing RPROVIDES 'python3-pexpect' (but mc:container-aarch64: .../meta-virtualization/recipes-core/packagegroups/packagegroup-yocto-builder.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'python3-pexpect' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-pexpect'] ERROR: Required build target 'packagegroup-yocto-builder' has no buildable providers. Missing or unbuildable dependency chain was: ['packagegroup-yocto-builder', 'python3-pexpect'] Remove the layer-wide meta-python BBMASK and allow these specific recipes. Once meta-python is allowed, there was an error for meta-oe/dynamic-layers/meta-python which we do not need for the above recipes. It can be enabled in the future when needed. [1] https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html#build-host-packages Signed-off-by: Tim Orling <[email protected]> --- conf/distro/include/vcontainer-bbmask.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/distro/include/vcontainer-bbmask.inc b/conf/distro/include/vcontainer-bbmask.inc index 0c9b8b02..572ebc4a 100644 --- a/conf/distro/include/vcontainer-bbmask.inc +++ b/conf/distro/include/vcontainer-bbmask.inc @@ -94,6 +94,9 @@ BBMASK += "meta-openstack/recipes-dbs/postgresql/" BBMASK += "meta-oe/dynamic-layers/networking-layer/recipes-core/" BBMASK += "meta-openstack/recipes-extended/libvirt/" BBMASK += "meta-webserver/recipes-(?!httpd/nginx)" +# To satisfy RDEPENDS for packagegroup-yocto-builder-extras in mc:container-* +BBMASK += "meta-python/recipes-devtools/python/python3-(?!pexpect|ptyprocess)" +BBMASK += "meta-oe/dynamic-layers/meta-python/recipes-core/packagegroups/" # --------------------------------------------------------------------------- # Entire layers with 0 recipes in the container image dependency graph. @@ -101,7 +104,7 @@ BBMASK += "meta-webserver/recipes-(?!httpd/nginx)" # does not warn about zero files matching BBFILE_PATTERN. # --------------------------------------------------------------------------- BBMASK += "meta-filesystems/" -BBMASK += "meta-python/" + # Warning suppression for these fully-masked layers is in meta-virt-host.conf # (BBFILE_PATTERN_IGNORE_EMPTY) because BitBake checks the base datastore, # not per-multiconfig datastores. -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#242295): https://lists.openembedded.org/g/openembedded-core/message/242295 Mute This Topic: https://lists.openembedded.org/mt/120510637/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
