On Mon, 2024-02-26 at 20:16 -0500, Randy MacLeod via lists.openembedded.org wrote: > On 2024-02-26 4:59 a.m., Xiangyu Chen via lists.openembedded.org wrote: > From: Xiangyu Chen <xiangyu.c...@windriver.com> > > > > Some locales are not listed in glibc locales support list, but can be > > generated, > > here using ja_JP.SHIFT_JIS as an example. We can add following line into > > local.conf > > to enable and generate it: > > > > GLIBC_GENERATE_LOCALES += "en_GB.UTF-8 en_US.UTF-8 ja_JP.UTF-8 > > ja_JP.SHIFT_JIS" > > IMAGE_LINGUAS += "ja-jp en-us ja-jp.shift-jis" > > > > The localedef tool would report a warning and exit with 1, that cause build > > failure, > > error message as below: > > > > [warning] character map `SHIFT_JIS' is not ASCII compatible, locale not ISO > > C compliant [--no-warnings=ascii] > > > > So add a --no-warnings=ascii in libc-package.bbclass to fix build failure > > if someone needs those locale > > in yocto. > > For context, Xiangyu is changing the libc-package.bbclass so that we can > generate a ja_JP.SJIS / ja_JP.SHIFT_JIS locale > to make another of the bash ptests pass. > > I don't know if that locale is commonly used these days but apparently it's > not POSIX complaint: > > https://discourse.nixos.org/t/building-unsupported-locales-ja-jp-sjis/3612 > > > > > Richard, Mark, Sundeep, Jonathan, Khem, > > > > > > > > > Any idea if this is a change that we should be merging to master > rather than skipping the bash ptest? >
We don't run the bash ptests as they in PTEST_PROBLEMS as they're apparently non-deterministic according to the file. I think I'd therefore just prefer to not do this. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#196256): https://lists.openembedded.org/g/openembedded-core/message/196256 Mute This Topic: https://lists.openembedded.org/mt/104579284/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-