From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: Changqing Li <changqing.li@eng.windriver.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization] [PATCH] oci-image-tools: don't build for riscv64
Date: Mon, 4 Sep 2023 03:05:24 +0000 [thread overview]
Message-ID: <ZPVJdC6MVeoKurB+@gmail.com> (raw)
In-Reply-To: <20230901090308.3242531-1-changqing.li@windriver.com>
Since riscv isn't tested with meta-virt at all, this isn't
the only recipe that has either build or runtime issues.
This is staged to master-next.
Bruce
In message: [meta-virtualization] [PATCH] oci-image-tools: don't build for riscv64
on 01/09/2023 Changqing Li wrote:
> From: Changqing Li <changqing.li@windriver.com>
>
> Currently oci-image-tools has a do_compile error for riscv64. The
> problem could be reproduced by:
> MACHINE=qemuriscv64 bitbake oci-image-tools
>
> So explicitly set COMPATIBLE_HOST here to avoid it building for riscv64.
> When someone interested in using this recipe for riscv64 fixes the
> compile issue, this setting could be removed.
>
> Also don't build packagegroup-container/packagegroup-kubernetes since
> they depends on oci-image-tools
>
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
> recipes-containers/oci-image-tools/oci-image-tools_git.bb | 2 ++
> recipes-core/packagegroups/packagegroup-container.bb | 2 ++
> recipes-core/packagegroups/packagegroup-kubernetes.bb | 2 ++
> 3 files changed, 6 insertions(+)
>
> diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
> index 4beb3a63..8c5020b3 100644
> --- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb
> +++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
> @@ -29,6 +29,8 @@ EXTRA_OEMAKE="BUILDTAGS=''"
>
> S = "${WORKDIR}/git/src/github.com/opencontainers/image-tools"
>
> +COMPATIBLE_HOST:riscv64 = "null"
> +
> do_compile() {
> export GOARCH="${TARGET_GOARCH}"
> export GOROOT="${STAGING_LIBDIR}/go"
> diff --git a/recipes-core/packagegroups/packagegroup-container.bb b/recipes-core/packagegroups/packagegroup-container.bb
> index 8d418e95..c41576a3 100644
> --- a/recipes-core/packagegroups/packagegroup-container.bb
> +++ b/recipes-core/packagegroups/packagegroup-container.bb
> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
>
> inherit packagegroup
>
> +COMPATIBLE_HOST:riscv64 = "null"
> +
> PACKAGES = "\
> packagegroup-container \
> packagegroup-lxc \
> diff --git a/recipes-core/packagegroups/packagegroup-kubernetes.bb b/recipes-core/packagegroups/packagegroup-kubernetes.bb
> index 70dc9713..7e6937b1 100644
> --- a/recipes-core/packagegroups/packagegroup-kubernetes.bb
> +++ b/recipes-core/packagegroups/packagegroup-kubernetes.bb
> @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
>
> inherit packagegroup
>
> +COMPATIBLE_HOST:riscv64 = "null"
> +
> # k3s has this restriction
> inherit features_check
> REQUIRED_DISTRO_FEATURES ?= "seccomp"
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8263): https://lists.yoctoproject.org/g/meta-virtualization/message/8263
> Mute This Topic: https://lists.yoctoproject.org/mt/101090972/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
next prev parent reply other threads:[~2023-09-04 3:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-01 9:03 [PATCH] oci-image-tools: don't build for riscv64 changqing.li
2023-09-04 3:05 ` Bruce Ashfield [this message]
2023-09-06 14:24 ` [meta-virtualization] " Randy MacLeod
2023-09-14 1:59 ` Changqing Li
2023-09-14 2:03 ` Changqing Li
2023-09-15 17:28 ` Bruce Ashfield
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=ZPVJdC6MVeoKurB+@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=changqing.li@eng.windriver.com \
--cc=meta-virtualization@lists.yoctoproject.org \
/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.