public inbox for openembedded-devel@lists.openembedded.org
 help / color / mirror / Atom feed
From: Clayton Casciato <majortomtosourcecontrol@gmail.com>
To: anuj.mittal@oss.qualcomm.com, openembedded-devel@lists.openembedded.org
Cc: Yi Zhao <yi.zhao@windriver.com>,
	joe.macdonald@siemens.com,
	Vincent Davis Jr <vince@underview.tech>,
	raj.khem@gmail.com, ecordonnier@snap.com
Subject: [meta-oe][scarthgap][PATCH] uutils-coreutils: drop (filtered) "selinux" from PACKAGECONFIG ?=
Date: Thu, 26 Mar 2026 11:24:57 -0600	[thread overview]
Message-ID: <293a5ad3-bf5c-4cec-85d5-4121e01b76b6@gmail.com> (raw)

"selinux" adds a dependency on clang-native.

clang-native is provided by meta-clang.

If meta-clang is not included, this surfaces parse-time errors such as:
ERROR: Nothing PROVIDES 'clang-native' (but
[...]/uutils-coreutils_0.0.28.bb DEPENDS on or otherwise requires it)

This is an issue in the default case - where uutils-coreutils is not
enabled.

Suggested-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>
---
Sponsor: 21SoftWare LLC

OE-C whinlatter and master include clang-native:
https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/clang?h=whinlatter&id=d77e398095228b34851762858a76640e3c2cb0ab

Discussion:
https://lists.openembedded.org/g/openembedded-devel/topic/103440861

 .../recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb
index 76cecac5a6..41e4f1d831 100644
--- a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb
+++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb
@@ -22,7 +22,7 @@ require ${BPN}-crates.inc
 PROVIDES = "coreutils"
 RPROVIDES:${PN} = "coreutils"
 
-PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
+PACKAGECONFIG ?= ""
 
 PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
 


             reply	other threads:[~2026-03-26 17:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-26 17:24 Clayton Casciato [this message]
2026-03-26 17:49 ` [meta-oe][scarthgap][PATCH] uutils-coreutils: drop (filtered) "selinux" from PACKAGECONFIG ?= Etienne Cordonnier
2026-04-03  7:41 ` [oe] " Anuj Mittal

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=293a5ad3-bf5c-4cec-85d5-4121e01b76b6@gmail.com \
    --to=majortomtosourcecontrol@gmail.com \
    --cc=anuj.mittal@oss.qualcomm.com \
    --cc=ecordonnier@snap.com \
    --cc=joe.macdonald@siemens.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    --cc=vince@underview.tech \
    --cc=yi.zhao@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox