On Sat, Dec 28, 2024 at 4:02 AM hongxu via lists.yoctoproject.org
<[email protected]> wrote:

> The go related recipe (such as docker-moby, podman) inherited
> goarch.bbclass in which centralize definition of COMPATIBLE_HOST
>
> Due to the packagegroup runtime depends on these go related recipes,
> inherits goarch.bbclass to apply the same COMPATIBLE_HOST
>
> $ echo "MACHINE = 'qemuppc'" >> conf/local.conf
> $ bitbake world
> ERROR: Nothing RPROVIDES 'podman' (but
> meta-virtualization/recipes-core/packagegroups/packagegroup-container.bb
> RDEPENDS on or otherwise requires it)
> podman was skipped: incompatible with host powerpc-wrs-linux (not in
> COMPATIBLE_HOST)
> NOTE: Runtime target 'podman' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['podman']
> ERROR: Required build target 'meta-world-pkgdata' has no buildable
> providers.
> Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
> 'packagegroup-container', 'podman']
>

Is this also happening for supported architectures ? It may be that you
picked a bad example, but these recipes are absolutely not supported for
ppc, so I'd expect them to fail.

Bruce



>
> Signed-off-by: Hongxu Jia <[email protected]>
> ---
>  recipes-core/packagegroups/packagegroup-container.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-core/packagegroups/packagegroup-container.bb
> b/recipes-core/packagegroups/packagegroup-container.bb
> index 21402d65..3e2d2a25 100644
> --- a/recipes-core/packagegroups/packagegroup-container.bb
> +++ b/recipes-core/packagegroups/packagegroup-container.bb
> @@ -2,7 +2,7 @@ SUMMARY = "All packages for container host"
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM =
> "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
>
> -inherit packagegroup
> +inherit packagegroup goarch
>
>  COMPATIBLE_HOST = "^(?!(mips|riscv)).*"
>
> --
> 2.34.1
>
>
> 
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9067): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9067
Mute This Topic: https://lists.yoctoproject.org/mt/110315544/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to