On 10/24/23 23:45, Bruce Ashfield wrote:
podman has already been marked as incompatible with mips on master.
Is your branch out of date, or did you miss where it was in the recipe ?
There is a local podman recipe with specific version and causes the
issue. When reproduce
with Yocto & meta-virt, I didn't check the error messages carefully.
Sorry for inconvenience, v2 will be sent.
Regards,
Kai
Bruce
On Tue, Oct 24, 2023 at 11:29 AM Kai Kang <[email protected]> wrote:
From: Kai Kang <[email protected]>
Since runtime dependency skopeo has been marked incompatible with mips,
set for podman and umoci accordingly.
buildah and podman-tui rdepends on podman, so mark for them too.
Signed-off-by: Kai Kang <[email protected]>
---
recipes-containers/buildah/buildah_git.bb | 2 ++
recipes-containers/podman-tui/podman-tui_git.bb | 2 ++
recipes-containers/podman/podman_git.bb | 2 ++
recipes-containers/umoci/umoci_git.bb | 2 ++
4 files changed, 8 insertions(+)
diff --git a/recipes-containers/buildah/buildah_git.bb
b/recipes-containers/buildah/buildah_git.bb
index 5155cbb1..ef1feead 100644
--- a/recipes-containers/buildah/buildah_git.bb
+++ b/recipes-containers/buildah/buildah_git.bb
@@ -20,6 +20,8 @@ inherit pkgconfig
inherit features_check
REQUIRED_DISTRO_FEATURES = "seccomp ipv6"
+COMPATIBLE_HOST = "^(?!mips).*"
+
GO_IMPORT = "github.com/containers/buildah"
GO_INSTALL = "${GO_IMPORT}"
GO_WORKDIR = "${GO_INSTALL}"
diff --git a/recipes-containers/podman-tui/podman-tui_git.bb
b/recipes-containers/podman-tui/podman-tui_git.bb
index 1a40d0ec..0b1924f9 100644
--- a/recipes-containers/podman-tui/podman-tui_git.bb
+++ b/recipes-containers/podman-tui/podman-tui_git.bb
@@ -41,6 +41,8 @@ PODMAN_PKG = "github.com/containers/podman-tui"
inherit go goarch
inherit pkgconfig
+COMPATIBLE_HOST = "^(?!mips).*"
+
do_configure[noexec] = "1"
BUILD_TAGS ?= "exclude_graphdriver_btrfs exclude_graphdriver_devicemapper"
diff --git a/recipes-containers/podman/podman_git.bb
b/recipes-containers/podman/podman_git.bb
index dc80eb6c..3e9fec33 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -9,6 +9,8 @@ DESCRIPTION = "Podman is a daemonless container engine for
developing, \
inherit features_check
REQUIRED_DISTRO_FEATURES ?= "seccomp ipv6"
+COMPATIBLE_HOST = "^(?!mips).*"
+
DEPENDS = " \
go-metalinter-native \
go-md2man-native \
diff --git a/recipes-containers/umoci/umoci_git.bb
b/recipes-containers/umoci/umoci_git.bb
index feaf6dff..62b42b8e 100644
--- a/recipes-containers/umoci/umoci_git.bb
+++ b/recipes-containers/umoci/umoci_git.bb
@@ -17,6 +17,8 @@ GO_IMPORT = "github.com/opencontainers/umoci"
inherit goarch
inherit go
+COMPATIBLE_HOST = "^(?!mips).*"
+
# This disables seccomp and apparmor, which are on by default in the
# go package.
EXTRA_OEMAKE="BUILDTAGS=''"
--
2.34.1
--
Kai Kang
Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8394):
https://lists.yoctoproject.org/g/meta-virtualization/message/8394
Mute This Topic: https://lists.yoctoproject.org/mt/102160041/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-