uutils-coreutils: drop (filtered) "selinux" from PACKAGECONFIG ?=
PATCH 1/1 uutils-coreutils: drop (filtered) "selinux" from PACKAGECONFIG ?=
"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.
---
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(-)
meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb +1 -1
@@ -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"
Hi Clayton,
I agree to merge this patch.
Étienne
Quoted 43 lines · Clayton Casciato
"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 <[email protected]>Signed-off-by Clayton Casciato <[email protected]>---
Sponsor: 21SoftWare LLCOE-C whinlatter and master include clang-native:
Discussion:
.../recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0uutils-coreutils_0.0.28.bb b/meta-oe/recipes-core/uutils-coreutils/ uutils-coreutils_0.0.28.bb
index76cecac5a6..41e4f1d831100644meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.28.bb +1
-1@@ -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"
Quoted 14 lines · Clayton Casciato via lists.openembedded.org
"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 <[email protected]>Signed-off-by Clayton Casciato <[email protected]>
Quoted 8 lines
---
Sponsor: 21SoftWare LLCOE-C whinlatter and master include clang-native:
https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/clang?h=whinlatter&id=d77e398095228b34851762858a76640e3c2cb0abDiscussion:
https://lists.openembedded.org/g/openembedded-devel/topic/103440861
Thank you for linking to the discussion. This changes behaviour for scarthgap and in my opinion, not an appropriate change for that branch.
Thanks,
Anuj