summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/libxml
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-04-16 23:04:33 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-20 11:56:06 +0100
commit77b5567f18482020f23a91afe52a4cd884123bbe (patch)
treea2ffae6e1949cb014cf559fc4e0e114d3597708e /meta/recipes-core/libxml
parent2e2450a70450251c9bce7325730970841cd000e0 (diff)
downloadpoky-77b5567f18482020f23a91afe52a4cd884123bbe.tar.gz
libxml2: Disable icu tests on musl
these tests do not work with musl's iconv implementation and would need enabling icu support using --with-icu which we do not enable by default Additionally enable locale with musl too. (From OE-Core rev: 03980db15fa1de2f970705364c2316f17428a3aa) 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-core/libxml')
-rw-r--r--meta/recipes-core/libxml/libxml2_2.10.3.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-core/libxml/libxml2_2.10.3.bb b/meta/recipes-core/libxml/libxml2_2.10.3.bb
index 6b3dd3ec42..0ccd48964f 100644
--- a/meta/recipes-core/libxml/libxml2_2.10.3.bb
+++ b/meta/recipes-core/libxml/libxml2_2.10.3.bb
@@ -40,15 +40,15 @@ inherit autotools pkgconfig binconfig-disabled ptest
40 40
41inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3targetconfig', '', d)} 41inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3targetconfig', '', d)}
42 42
43RDEPENDS:${PN}-ptest += "bash make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'libgcc python3-core python3-logging python3-shell python3-stringold python3-threading python3-unittest ${PN}-python', '', d)}" 43RDEPENDS:${PN}-ptest += "bash make locale-base-en-us ${@bb.utils.contains('PACKAGECONFIG', 'python', 'libgcc python3-core python3-logging python3-shell python3-stringold python3-threading python3-unittest ${PN}-python', '', d)}"
44 44
45RDEPENDS:${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-core', '', d)}" 45RDEPENDS:${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-core', '', d)}"
46 46
47RDEPENDS:${PN}-ptest:append:libc-musl = " musl-locales"
47RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-gconv-ebcdic-us \ 48RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-gconv-ebcdic-us \
48 glibc-gconv-ibm1141 \ 49 glibc-gconv-ibm1141 \
49 glibc-gconv-iso8859-5 \ 50 glibc-gconv-iso8859-5 \
50 glibc-gconv-euc-jp \ 51 glibc-gconv-euc-jp \
51 locale-base-en-us \
52 " 52 "
53 53
54# WARNING: zlib is required for RPM use 54# WARNING: zlib is required for RPM use
@@ -85,6 +85,11 @@ do_install_ptest () {
85 fi 85 fi
86} 86}
87 87
88# with musl we need to enable icu support explicitly for these tests
89do_install_ptest:append:libc-musl () {
90 rm -rf ${D}/${PTEST_PATH}/test/icu_parse_test.xml
91}
92
88do_install:append:class-native () { 93do_install:append:class-native () {
89 # Docs are not needed in the native case 94 # Docs are not needed in the native case
90 rm ${D}${datadir}/gtk-doc -rf 95 rm ${D}${datadir}/gtk-doc -rf