From 4e602f8949c38cd75a1603e05c8a20c21e6f884b Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 28 Sep 2023 01:23:12 +0000 Subject: skopeo: mark incompatible with mips When building skopeo for mips(64), we get the following errors: | go.go:(.text+0xdd07fc): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC | go.go:(.text+0xdd0830): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC | go.go:(.text+0xdd0864): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC | collect2: error: ld returned 1 exit status Tag the recipe as incompatible with mips to avoid having it built at all. Signed-off-by: Bruce Ashfield --- recipes-containers/skopeo/skopeo_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-containers/skopeo/skopeo_git.bb b/recipes-containers/skopeo/skopeo_git.bb index c29009a1..b4eaf72b 100644 --- a/recipes-containers/skopeo/skopeo_git.bb +++ b/recipes-containers/skopeo/skopeo_git.bb @@ -13,6 +13,8 @@ DEPENDS = " \ inherit go +COMPATIBLE_HOST = "^(?!mips).*" + RDEPENDS:${PN} = " \ gpgme \ libgpg-error \ -- cgit v1.2.3-54-g00ecf