summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/gawk
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-04-14 16:42:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-20 11:56:06 +0100
commit66eab8234ce312f358bac2a67ea1fb50e7d67b08 (patch)
treeac9522af489e0ba14045a89307c2a7a3fedc460f /meta/recipes-extended/gawk
parent01f0a371b139d35a6f6f39fdd96f0d1a796684d7 (diff)
downloadpoky-66eab8234ce312f358bac2a67ea1fb50e7d67b08.tar.gz
gawk: Disable known ptest fails on musl
Add needed locale rdeps on musl as well. (From OE-Core rev: 1e71eaf6792727d2335ee2e2ad4c5ce88137fe77) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/gawk')
-rw-r--r--meta/recipes-extended/gawk/gawk_5.2.1.bb17
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
65RDEPENDS:${PN}-ptest += "make" 65do_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
77RDEPENDS:${PN}-ptest += "make locale-base-en-us"
66 78
67RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-en-us locale-base-en-us.iso-8859-1" 79RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-en-us.iso-8859-1"
80RDEPENDS:${PN}-ptest:append:libc-musl = " musl-locales"
68 81
69BBCLASSEXTEND = "native nativesdk" 82BBCLASSEXTEND = "native nativesdk"