From 6b197f009d9020f781a675ff11e7bfb783fd17ce Mon Sep 17 00:00:00 2001 From: Etienne Cordonnier Date: Thu, 6 Apr 2023 14:42:59 +0200 Subject: [PATCH] uutils-coreutils: disable musl support musl is not supported because the libc crate does not support functions like "endutxent" at the moment, so src/uucore/src/lib/features.rs disables utmpx when targetting musl. Signed-off-by: Etienne Cordonnier Signed-off-by: Khem Raj --- .../recipes-core/uutils-coreutils/uutils-coreutils_0.0.18.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.18.bb b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.18.bb index 7d60a287ebb..a2e541c87ab 100644 --- a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.18.bb +++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.18.bb @@ -6,6 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=41f7469eaacac62c67d5664fff2c062d" inherit cargo cargo-update-recipe-crates SRC_URI += "git://github.com/uutils/coreutils.git;protocol=https;nobranch=1" + +# musl not supported because the libc crate does not support functions like "endutxent" at the moment, +# so src/uucore/src/lib/features.rs disables utmpx when targetting musl. +COMPATIBLE_HOST:libc-musl = "null" + SRCREV = "eb11c4006f3286efee5226e546f119a20998266b" S = "${WORKDIR}/git"