| Summary: | russian locale ru_RU:145: LC_TIME: syntax error | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Alexey <skif> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2018.11.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Alexey
2019-02-08 15:36:04 UTC
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 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 ? 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... Thanl you very match, Peter! It's work! This issue has been fixed by https://git.buildroot.org/buildroot/commit/package/localedef?id=0ec7169e6c8cfb4bb54defb685bd04bb1da0a2aa. Thanks! |