diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-04-14 16:42:56 -0700 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-05-17 04:07:12 -1000 |
commit | 5b75d8af0ba42cc60a0749813562c2049644050e (patch) | |
tree | 503b55097a908cfec8fdb9d0391ebf8c4aa661c6 /meta | |
parent | d71b2e9385830c47ee4f61730224c70c2e6d2734 (diff) | |
download | poky-5b75d8af0ba42cc60a0749813562c2049644050e.tar.gz |
gawk: Disable known ptest fails on musl
Add needed locale rdeps on musl as well.
(From OE-Core rev: 71f515d63aaf6eeb91170c9ee3eb123935a18da8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 1e71eaf6792727d2335ee2e2ad4c5ce88137fe77)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/gawk/gawk_5.2.1.bb | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/meta/recipes-extended/gawk/gawk_5.2.1.bb b/meta/recipes-extended/gawk/gawk_5.2.1.bb index e381bad148..bbb26231a1 100644 --- a/meta/recipes-extended/gawk/gawk_5.2.1.bb +++ b/meta/recipes-extended/gawk/gawk_5.2.1.bb | |||
@@ -62,8 +62,21 @@ do_install_ptest() { | |||
62 | rm -f ${D}${PTEST_PATH}/test/timeout.* | 62 | rm -f ${D}${PTEST_PATH}/test/timeout.* |
63 | } | 63 | } |
64 | 64 | ||
65 | RDEPENDS:${PN}-ptest += "make" | 65 | do_install_ptest:append:libc-musl() { |
66 | # Reported https://lists.gnu.org/archive/html/bug-gawk/2021-02/msg00005.html | ||
67 | rm -f ${D}${PTEST_PATH}/test/clos1way6.* | ||
68 | # Needs en_US.UTF-8 but then does not work with musl | ||
69 | rm -f ${D}${PTEST_PATH}/test/backsmalls1.* | ||
70 | # Needs en_US.UTF-8 but then does not work with musl | ||
71 | rm -f ${D}${PTEST_PATH}/test/commas.* | ||
72 | # The below two need LANG=C inside the make rule for musl | ||
73 | rm -f ${D}${PTEST_PATH}/test/rebt8b1.* | ||
74 | rm -f ${D}${PTEST_PATH}/test/regx8bit.* | ||
75 | } | ||
76 | |||
77 | RDEPENDS:${PN}-ptest += "make locale-base-en-us" | ||
66 | 78 | ||
67 | RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-en-us locale-base-en-us.iso-8859-1" | 79 | RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-en-us.iso-8859-1" |
80 | RDEPENDS:${PN}-ptest:append:libc-musl = " musl-locales" | ||
68 | 81 | ||
69 | BBCLASSEXTEND = "native nativesdk" | 82 | BBCLASSEXTEND = "native nativesdk" |