Skip to contentSkip to conversation

Replace EXCLUDE_FROM_WORLD_libc-musl = "1" with COMPATIBLE_HOST_libc-musl = 'null'

PATCH In review Adrian Bunk 2 participants 3 messages Aug 28, 2019 – Aug 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Replace EXCLUDE_FROM_WORLD_libc-musl = "1" with COMPATIBLE_HOST_libc-musl = 'null'

This gives users a proper error message when trying to build a known non-building package.

---
 meta-oe/recipes-kernel/crash/crash_7.2.6.bb                   | 2 +-
 meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.1.bb | 2 +-
 meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.8.bb             | 2 +-
 meta-oe/recipes-test/pm-qa/pm-qa_git.bb                       | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
meta-oe/recipes-kernel/crash/crash_7.2.6.bb +1 -1
index 0a7c384a7..770b99ff0 100644
@@ -117,4 +117,4 @@ RDEPENDS_${PN}_class-cross = ""
 ARM_INSTRUCTION_SET = "arm"
 
 # http://errors.yoctoproject.org/Errors/Details/186964/
-EXCLUDE_FROM_WORLD_libc-musl = "1"
+COMPATIBLE_HOST_libc-musl = 'null'
meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.1.bb +1 -1
index 50dab8d16..051656b5a 100644
@@ -43,4 +43,4 @@ do_install_append() {
 }
 
 # http://errors.yoctoproject.org/Errors/Details/186966/
-EXCLUDE_FROM_WORLD_libc-musl = "1"
+COMPATIBLE_HOST_libc-musl = 'null'
meta-oe/recipes-multimedia/alsa/alsa-oss_1.1.8.bb +1 -1
index e6b9d6b5b..6b955dcfd 100644
@@ -19,4 +19,4 @@ do_configure_prepend () {
 }
 
 # http://errors.yoctoproject.org/Errors/Details/186961/
-EXCLUDE_FROM_WORLD_libc-musl = "1"
+COMPATIBLE_HOST_libc-musl = 'null'
meta-oe/recipes-test/pm-qa/pm-qa_git.bb +1 -1
index 09290909d..7e9971ea4 100644
@@ -65,4 +65,4 @@ do_install () {
 RDEPENDS_${PN} +="bash"
 
 # http://errors.yoctoproject.org/Errors/Details/186956/
-EXCLUDE_FROM_WORLD_libc-musl = "1"
+COMPATIBLE_HOST_libc-musl = 'null'
Signature · 1 line
2.17.1
#1 lore raw

Sorry for the confusing submission, but these were two different patches doing a similar change in different layers that should both be applied.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#2 lore raw
Quoted 4 lines · Adrian Bunk

Sorry for the confusing submission, but these were two different patches doing a similar change in different layers that should both be applied.

such changes are fine across layers

Quoted 10 lines

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed