diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-08-27 08:52:00 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-28 11:31:21 +0100 |
commit | ed929bed4cccdf9836dff149ac8beab62abbfbd3 (patch) | |
tree | 4cca70e52e46fb298938b240f61ce6d21ca62806 | |
parent | b0efa1952c7eee4fbf834042e290ab804492ba9d (diff) | |
download | poky-ed929bed4cccdf9836dff149ac8beab62abbfbd3.tar.gz |
world-broken.inc: Remove
Move still required entries as COMPATIBLE_HOST_libc-musl = 'null'
to individual recipes.
This also gives users a proper error message when trying to build
a known non-building package.
(From OE-Core rev: 8bbb17d2dcafa9b4e26941a55932f4be2782e1d1)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/distro/defaultsetup.conf | 1 | ||||
-rw-r--r-- | meta/conf/distro/include/world-broken.inc | 27 | ||||
-rw-r--r-- | meta/recipes-devtools/prelink/prelink_git.bb | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/pseudo/pseudo_git.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/qemu/qemu_4.1.0.bb | 4 | ||||
-rw-r--r-- | meta/recipes-rt/rt-tests/rt-tests_1.1.bb | 4 |
6 files changed, 13 insertions, 28 deletions
diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaultsetup.conf index 9b1ee20aaa..66fd246526 100644 --- a/meta/conf/distro/defaultsetup.conf +++ b/meta/conf/distro/defaultsetup.conf | |||
@@ -1,7 +1,6 @@ | |||
1 | include conf/distro/include/default-providers.inc | 1 | include conf/distro/include/default-providers.inc |
2 | include conf/distro/include/default-versions.inc | 2 | include conf/distro/include/default-versions.inc |
3 | include conf/distro/include/default-distrovars.inc | 3 | include conf/distro/include/default-distrovars.inc |
4 | include conf/distro/include/world-broken.inc | ||
5 | include conf/distro/include/maintainers.inc | 4 | include conf/distro/include/maintainers.inc |
6 | 5 | ||
7 | TCMODE ?= "default" | 6 | TCMODE ?= "default" |
diff --git a/meta/conf/distro/include/world-broken.inc b/meta/conf/distro/include/world-broken.inc deleted file mode 100644 index 42cacfdf2e..0000000000 --- a/meta/conf/distro/include/world-broken.inc +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | # | ||
2 | # Exclude known broken packages | ||
3 | # | ||
4 | |||
5 | # rt-tests needs PI mutex support in libc | ||
6 | EXCLUDE_FROM_WORLD_pn-rt-tests_libc-musl = "1" | ||
7 | |||
8 | # error: use of undeclared identifier '_STAT_VER' | ||
9 | EXCLUDE_FROM_WORLD_pn-pseudo_libc-musl = "1" | ||
10 | |||
11 | # error: error.h: No such file or directory | ||
12 | EXCLUDE_FROM_WORLD_pn-prelink_libc-musl = "1" | ||
13 | |||
14 | # error: obstack.h: No such file or directory | ||
15 | EXCLUDE_FROM_WORLD_pn-systemtap_libc-musl = "1" | ||
16 | EXCLUDE_FROM_WORLD_pn-systemtap-uprobes_libc-musl = "1" | ||
17 | |||
18 | # error: a parameter list without types is only allowed in a function definition | ||
19 | # void (*_function)(sigval_t); | ||
20 | EXCLUDE_FROM_WORLD_pn-qemu_libc-musl = "1" | ||
21 | |||
22 | # error: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Werror=format=] | ||
23 | # snprintf(buf, size, "%s", strerror_r(err, sbuf, sizeof(sbuf))); | ||
24 | EXCLUDE_FROM_WORLD_pn-perf_libc-musl = "1" | ||
25 | |||
26 | # error: 'RTLD_NEXT' was not declared in this scope | ||
27 | EXCLUDE_FROM_WORLD_pn-gcc-sanitizers_libc-musl = "1" | ||
diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb index b1261d5942..f0946de2cc 100644 --- a/meta/recipes-devtools/prelink/prelink_git.bb +++ b/meta/recipes-devtools/prelink/prelink_git.bb | |||
@@ -36,6 +36,9 @@ SRC_URI = "git://git.yoctoproject.org/prelink-cross.git;branch=cross_prelink_sta | |||
36 | " | 36 | " |
37 | UPSTREAM_CHECK_COMMITS = "1" | 37 | UPSTREAM_CHECK_COMMITS = "1" |
38 | 38 | ||
39 | # error: error.h: No such file or directory | ||
40 | COMPATIBLE_HOST_libc-musl = 'null' | ||
41 | |||
39 | TARGET_OS_ORIG := "${TARGET_OS}" | 42 | TARGET_OS_ORIG := "${TARGET_OS}" |
40 | OVERRIDES_append = ":${TARGET_OS_ORIG}" | 43 | OVERRIDES_append = ":${TARGET_OS_ORIG}" |
41 | 44 | ||
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index 6cf711e4c2..9d2e349087 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb | |||
@@ -12,3 +12,5 @@ SRCREV = "060058bb29f70b244e685b3c704eb0641b736f73" | |||
12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
13 | PV = "1.9.0+git${SRCPV}" | 13 | PV = "1.9.0+git${SRCPV}" |
14 | 14 | ||
15 | # error: use of undeclared identifier '_STAT_VER' | ||
16 | COMPATIBLE_HOST_libc-musl = 'null' | ||
diff --git a/meta/recipes-devtools/qemu/qemu_4.1.0.bb b/meta/recipes-devtools/qemu/qemu_4.1.0.bb index 76776098d0..f0c1daabe1 100644 --- a/meta/recipes-devtools/qemu/qemu_4.1.0.bb +++ b/meta/recipes-devtools/qemu/qemu_4.1.0.bb | |||
@@ -2,6 +2,10 @@ BBCLASSEXTEND = "nativesdk" | |||
2 | 2 | ||
3 | require qemu.inc | 3 | require qemu.inc |
4 | 4 | ||
5 | # error: a parameter list without types is only allowed in a function definition | ||
6 | # void (*_function)(sigval_t); | ||
7 | COMPATIBLE_HOST_libc-musl = 'null' | ||
8 | |||
5 | DEPENDS = "glib-2.0 zlib pixman bison-native" | 9 | DEPENDS = "glib-2.0 zlib pixman bison-native" |
6 | 10 | ||
7 | RDEPENDS_${PN}_class-target += "bash" | 11 | RDEPENDS_${PN}_class-target += "bash" |
diff --git a/meta/recipes-rt/rt-tests/rt-tests_1.1.bb b/meta/recipes-rt/rt-tests/rt-tests_1.1.bb index b673cd784f..5aa0aa10c3 100644 --- a/meta/recipes-rt/rt-tests/rt-tests_1.1.bb +++ b/meta/recipes-rt/rt-tests/rt-tests_1.1.bb | |||
@@ -14,6 +14,10 @@ SRC_URI += " \ | |||
14 | file://run-ptest \ | 14 | file://run-ptest \ |
15 | file://rt_bmark.py \ | 15 | file://rt_bmark.py \ |
16 | " | 16 | " |
17 | |||
18 | # rt-tests needs PI mutex support in libc | ||
19 | COMPATIBLE_HOST_libc-musl = 'null' | ||
20 | |||
17 | # Do not install hwlatdetect | 21 | # Do not install hwlatdetect |
18 | EXTRA_OEMAKE += "PYLIB=''" | 22 | EXTRA_OEMAKE += "PYLIB=''" |
19 | 23 | ||