html5 apps failing to build with "icu error"
Description
Environment
relates to
Activity
Walt Miner December 18, 2023 at 3:27 PM
Close for QQ M2

Jan-Simon Moeller November 28, 2023 at 9:32 PM

Jan-Simon Moeller November 28, 2023 at 1:19 PM
Update: Upstream YP commit
disabled the .dat file generation due to issues in the autobuilder. But this did break node apparently.
Experiment is now:

Jan-Simon Moeller November 24, 2023 at 2:43 PMEdited
I can confirm that this reproduces in a ubuntu 18.04 chroot environment.
Steps:
a) debootstrap minimal env, add full ubuntu sources.list , apt-get dist-upgrade, install yocto dependencies but no other dependencies.
b) then build master as usual.
A manual build leads to this log:
Actually it is already plain "npm" as even 'npm --help' fails:
strace:
npm is started from the npm-native or node-npm-native package.
icu is read-in from:
and
So esentially it must be icu-native (vers 70). The ubuntu 18.04 is older ... iirc icu60 .
So diagnosis so far:
we do read the -native build for npm, we do read the -native icu , both built with YP. still we do fail.
The call to icu is actually in node already (npm calls node internally).
Well, there is no ".dat" file anywhere in recipe-sysroots (not for target and not for native).
Our node version is configured to use "system-icu" aka the one in the system (or -native sysroot).
But our build of icu-native does not ship a .dat file (target won't either).
So there is a mismatch.
Now we can compile node with --with-intl=none
and yes, it will solve this one, but then webpack fails due to exactly this.
Catch-22 right now. Need to see what we can do.

Jan-Simon Moeller November 23, 2023 at 1:45 PM
Will repro in chroot env (ubuntu 18.04) first and give details.
Details
Assignee
Jan-Simon MoellerJan-Simon MoellerReporter
Jan-Simon MoellerJan-Simon MoellerFix versions
Labels
Priority
Major
Details
Details
Assignee

Reporter

See: https://build.automotivelinux.org/job/ci-platform-meta-agl-demo-verify-CIB-html5-qemux86-64/402/consoleFull