Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2 1/5] vcontainer-bbmask.inc: add python3-pexpect,-ptyprocess
       [not found] <20260727000247.1623785-3-tim.orling@konsulko.com>
@ 2026-07-29 21:34 ` tim.orling
  2026-07-30  5:25   ` [OE-core] " Mathieu Dubois-Briand
  0 siblings, 1 reply; 2+ messages in thread
From: tim.orling @ 2026-07-29 21:34 UTC (permalink / raw)
  To: openembedded-core; +Cc: Tim Orling

From: Tim Orling <tim.orling@konsulko.com>

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 <tim.orling@konsulko.com>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [OE-core] [PATCH v2 1/5] vcontainer-bbmask.inc: add python3-pexpect,-ptyprocess
  2026-07-29 21:34 ` [PATCH v2 1/5] vcontainer-bbmask.inc: add python3-pexpect,-ptyprocess tim.orling
@ 2026-07-30  5:25   ` Mathieu Dubois-Briand
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Dubois-Briand @ 2026-07-30  5:25 UTC (permalink / raw)
  To: tim.orling, openembedded-core

On Wed Jul 29, 2026 at 11:34 PM CEST, Tim Orling via lists.openembedded.org wrote:
> From: Tim Orling <tim.orling@konsulko.com>
>
> 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 <tim.orling@konsulko.com>
> ---
>  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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-30  5:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260727000247.1623785-3-tim.orling@konsulko.com>
2026-07-29 21:34 ` [PATCH v2 1/5] vcontainer-bbmask.inc: add python3-pexpect,-ptyprocess tim.orling
2026-07-30  5:25   ` [OE-core] " Mathieu Dubois-Briand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox