New: russian locale ru_RU:145: LC_TIME: syntax error
https://bugs.busybox.net/show_bug.cgi?id=11671
Bug ID: 11671
Summary: russian locale ru_RU:145: LC_TIME: syntax error
Product: buildroot
Version: 2018.11.2
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: skif at skif-web.ru
CC: buildroot at uclibc.org
Target Milestone: ---
Hello!
I m need to build system with russian locale.
BR2_GENERATE_LOCALE="ru_RU"
# BR2_ENABLE_LOCALE_PURGE is not set
BR2_SYSTEM_ENABLE_NLS=y
But i have error:
Generating locale ru_RU.UTF-8 /home/alexey/dev/ktl/ramdisk/output/host/x86_64-buildroot1-linux-gnu/sysroot/usr/share/i18n/locales/ru_RU:121:LC_TIME: syntax error /home/alexey/dev/ktl/ramdisk/output/host/x86_64-buildroot1-linux-gnu/sysroot/usr/share/i18n/locales/ru_RU:145:LC_TIME: syntax error
no output file produced because warnings were issued
make[1]: *** [Makefile:720: target-finalize] Error 4
make: *** [Makefile:84: _all] Error 2
What's i am doing wrong ang how to fix this error?r?
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11671] russian locale ru_RU:145: LC_TIME: syntax error
https://bugs.busybox.net/show_bug.cgi?id=11671
--- Comment #1 from Peter Seiderer <[email protected]> --- Apply the following two patches:
- host-localedef: Compile against glibc [1]
- localedef: update to glibc-2.28 and various fixes [2]
Fixed the problem for me, tested with raspberrypi3_defconfig, with the following changes:
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
# BR2_ENABLE_LOCALE_PURGE is not set
BR2_GENERATE_LOCALE="ru_RU"
BR2_SYSTEM_ENABLE_NLS=y
Regards,
Peter
[1] https://patchwork.ozlabs.org/patch/950717
[2] https://patchwork.ozlabs.org/patch/1008984
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11671] russian locale ru_RU:145: LC_TIME: syntax error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=11671
--- Comment #2 from Alexey <[email protected]> ---
Thanks a lot,Peter!
I applied your patches, and now building is comlited successful. But in don't have "locale" command in builded system.
May be anyone know, hot to set locale in system and how to add LOCALE command ?
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11671] russian locale ru_RU:145: LC_TIME: syntax error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=11671
--- Comment #3 from Peter Seiderer <[email protected]> --- The 'locale' command is not (yet) installed into the target image, but you should find it under:
- build/glibc-glibc-2.28-69-g1e5c5303a522764d7e9d2302a60e4a32cdb902f1/build/locale/locale
- host/arm-buildroot-linux-gnueabihf/sysroot/usr/bin/locale
For examples on how to set (from program or from environment) see hints at patch two...
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11671] russian locale ru_RU:145: LC_TIME: syntax error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=11671
--- Comment #4 from Alexey <[email protected]> ---
Thanl you very match, Peter!
It's work!
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 11671] russian locale ru_RU:145: LC_TIME: syntax error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=11671
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #5 from Thomas Petazzoni <[email protected]> --- This issue has been fixed by
https://git.buildroot.org/buildroot/commit/package/localedef?id=0ec7169e6c8cfb4bb54defb685bd04bb1da0a2aa.
Thanks!
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.