On Wed Jul 29, 2026 at 11:34 PM CEST, Tim Orling via lists.openembedded.org wrote: > 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.
Hi Tim, I believe this is a patch for meta-virtualization, right? And I believe it's the same for the other patch? [PATCH v2 5/5] docs: add container-yocto-builder.md Thanks, Mathieu -- Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#242311): https://lists.openembedded.org/g/openembedded-core/message/242311 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]] -=-=-=-=-=-=-=-=-=-=-=-
