On Tue, 2026-01-13 at 11:43 +0100, Alexander Kanavin wrote:
> On Tue, 13 Jan 2026 at 09:27, Yannic Moog via lists.openembedded.org
> <[email protected]> wrote:
> > 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.
> > -ICU_MAJOR_VER = "${@d.getVar('PV').split('-')[0]}"
> > +ICU_MAJOR_VER = "${@d.getVar('PV').split('.')[0]}"
> 
> Presumably this change comes from build problems you are observing,
> but it doesn't explain why plain poky is building fine without this
> fix. Can you look into that please?

Yep. I was mistaken initially. The task that failed for me is the 
do_make_icudata.

Within that task, the last command fails:

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
}

We do not see it with poky, because PACKAGECONFIG does not contain make-icudata.
We have the following in a bbappend of our distro layer:

FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += "file://filter.json"
PACKAGECONFIG += "make-icudata"
PACKAGECONFIG:pn-icu-native += " make-icudata"

which triggers the error.

Yannic

> 
> Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#229262): 
https://lists.openembedded.org/g/openembedded-core/message/229262
Mute This Topic: https://lists.openembedded.org/mt/117240383/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to