[OE-core] [PATCH 1/2] bluez5: add needed character encoding for ptests

Ross Burton ross.burton at intel.com
Tue Oct 8 10:46:04 UTC 2019


The test-gobject-header test suite needs UTF-16 encoding:

test_decode_header_name_ascii:
assertion failed (err == NULL):
Unicode conversion failed:
Conversion from character set ?UTF-16BE? to ?UTF-8? is not supported (g-obex-error-quark, 256)

Add gconv-utf-16 to the bluez5-ptest RDEPENDS.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-connectivity/bluez5/bluez5.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index 6c79ed0606b..f582a07e22a 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -155,3 +155,5 @@ do_install_ptest() {
 	cp -r ${B}/unit/ ${D}${PTEST_PATH}
 	rm -f ${D}${PTEST_PATH}/unit/*.o
 }
+
+RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-utf-16"
-- 
2.20.1



More information about the Openembedded-core mailing list