From: Yannic Moog Date: Wed, 14 Jan 2026 09:32:05 +0000 (+0100) Subject: icu: split at '.' instead of '-' for major version X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beb0a16ac408d741213b635ab6151f5a921bd129;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git icu: split at '.' instead of '-' for major version With version 78.1, icu adopted '.' as separator between major and minor version. With the upgrade commit, ICU_MAJOR_VER wasn't updated and still tried to split versions with '-' instead of '.'. Fix by using '.' as separator. The error was missed with poky, because PACKAGECONFIG does not contain make-icudata. See do_make_icudata:class-target () { ${@bb.utils.contains('PACKAGECONFIG', 'make-icudata', '', 'exit 0', d)} [...] install -Dm644 ${S}/data/out/icudt${ICU_MAJOR_VER}l.dat ${S}/data/in/icudt${ICU_MAJOR_VER}l.dat } for which the install -Dm644 [...] command above would fail when PACKAGECONFIG contains make-icudata. Fixes: 479d48503dd2 ("upgrade 77-1 -> 78.1") Signed-off-by: Yannic Moog Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/icu/icu_78.1.bb b/meta/recipes-support/icu/icu_78.1.bb index 8827f05f51..ee7245c27b 100644 --- a/meta/recipes-support/icu/icu_78.1.bb +++ b/meta/recipes-support/icu/icu_78.1.bb @@ -13,7 +13,7 @@ CVE_PRODUCT = "international_components_for_unicode" S = "${UNPACKDIR}/icu/source" STAGING_ICU_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/${BPN}/${PV}" -ICU_MAJOR_VER = "${@d.getVar('PV').split('-')[0]}" +ICU_MAJOR_VER = "${@d.getVar('PV').split('.')[0]}" inherit autotools pkgconfig github-releases