From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: peng.zhang1.cn@windriver.com
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization][master][walnascar][PATCH] packagegroup-container: fix do_package_wrte_rpm issue in multilib build
Date: Wed, 16 Jul 2025 14:48:43 -0400 [thread overview]
Message-ID: <aHf0C57p1v4i3JAU@gmail.com> (raw)
In-Reply-To: <20250715071349.2948270-1-peng.zhang1.cn@windriver.com>
merged.
Bruce
In message: [meta-virtualization][master][walnascar][PATCH] packagegroup-container: fix do_package_wrte_rpm issue in multilib build
on 15/07/2025 Zhang, Peng (Paul) (CN) via lists.yoctoproject.org wrote:
> From: Zhang Peng <peng.zhang1.cn@windriver.com>
>
> When build lib32-packagegroup-container, the follwing error occurred:
>
> ERROR: lib32-packagegroup-container-1.0-r0 do_package_write_rpm: An allarch packagegroup shouldn't
> depend on packages which are dynamically renamed (lib32-ipset-dbg to ipset-dbg)
> ERROR: lib32-packagegroup-container-1.0-r0 do_package_write_rpm: An allarch packagegroup shouldn't
> depend on packages which are dynamically renamed (lib32-ipset to ipset)
> ERROR: lib32-packagegroup-container-1.0-r0 do_package_write_rpm: An allarch packagegroup shouldn't
> depend on packages which are dynamically renamed (lib32-ipset-dev to ipset-dev)
>
> To resolve this issue in a multilib build, set PACKAGE_ARCH appropriately to avoid using allarch.
>
> Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
> ---
> recipes-core/packagegroups/packagegroup-container.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/recipes-core/packagegroups/packagegroup-container.bb b/recipes-core/packagegroups/packagegroup-container.bb
> index f5e20344..b94e6799 100644
> --- a/recipes-core/packagegroups/packagegroup-container.bb
> +++ b/recipes-core/packagegroups/packagegroup-container.bb
> @@ -2,6 +2,8 @@ SUMMARY = "All packages for container host"
> LICENSE = "MIT"
> LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
>
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> inherit packagegroup
>
> COMPATIBLE_HOST = "^(?!(mips|riscv)).*"
> --
> 2.50.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9308): https://lists.yoctoproject.org/g/meta-virtualization/message/9308
> Mute This Topic: https://lists.yoctoproject.org/mt/114162900/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
prev parent reply other threads:[~2025-07-16 18:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-15 7:13 [meta-virtualization][master][walnascar][PATCH] packagegroup-container: fix do_package_wrte_rpm issue in multilib build peng.zhang1.cn
2025-07-16 18:48 ` Bruce Ashfield [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aHf0C57p1v4i3JAU@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=meta-virtualization@lists.yoctoproject.org \
--cc=peng.zhang1.cn@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.