All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11671] New: russian locale ru_RU:145: LC_TIME: syntax error
@ 2019-02-08 15:36 bugzilla at busybox.net
  2019-02-08 20:46 ` [Buildroot] [Bug 11671] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-02-08 15:36 UTC (permalink / raw)
  To: buildroot

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?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 11671] russian locale ru_RU:145: LC_TIME: syntax error
  2019-02-08 15:36 [Buildroot] [Bug 11671] New: russian locale ru_RU:145: LC_TIME: syntax error bugzilla at busybox.net
@ 2019-02-08 20:46 ` bugzilla at busybox.net
  2019-02-12 14:10 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-02-08 20:46 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11671

--- Comment #1 from Peter Seiderer <ps.report@gmx.net> ---
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 11671] russian locale ru_RU:145: LC_TIME: syntax error
  2019-02-08 15:36 [Buildroot] [Bug 11671] New: russian locale ru_RU:145: LC_TIME: syntax error bugzilla at busybox.net
  2019-02-08 20:46 ` [Buildroot] [Bug 11671] " bugzilla at busybox.net
@ 2019-02-12 14:10 ` bugzilla at busybox.net
  2019-02-12 19:28 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-02-12 14:10 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11671

--- Comment #2 from Alexey <skif@skif-web.ru> ---
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 ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 11671] russian locale ru_RU:145: LC_TIME: syntax error
  2019-02-08 15:36 [Buildroot] [Bug 11671] New: russian locale ru_RU:145: LC_TIME: syntax error bugzilla at busybox.net
  2019-02-08 20:46 ` [Buildroot] [Bug 11671] " bugzilla at busybox.net
  2019-02-12 14:10 ` bugzilla at busybox.net
@ 2019-02-12 19:28 ` bugzilla at busybox.net
  2019-02-15 11:18 ` bugzilla at busybox.net
  2019-08-15 13:20 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-02-12 19:28 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11671

--- Comment #3 from Peter Seiderer <ps.report@gmx.net> ---
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...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 11671] russian locale ru_RU:145: LC_TIME: syntax error
  2019-02-08 15:36 [Buildroot] [Bug 11671] New: russian locale ru_RU:145: LC_TIME: syntax error bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2019-02-12 19:28 ` bugzilla at busybox.net
@ 2019-02-15 11:18 ` bugzilla at busybox.net
  2019-08-15 13:20 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-02-15 11:18 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11671

--- Comment #4 from Alexey <skif@skif-web.ru> ---
Thanl you very match, Peter!
It's work!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 11671] russian locale ru_RU:145: LC_TIME: syntax error
  2019-02-08 15:36 [Buildroot] [Bug 11671] New: russian locale ru_RU:145: LC_TIME: syntax error bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2019-02-15 11:18 ` bugzilla at busybox.net
@ 2019-08-15 13:20 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-08-15 13:20 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11671

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #5 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
This issue has been fixed by
https://git.buildroot.org/buildroot/commit/package/localedef?id=0ec7169e6c8cfb4bb54defb685bd04bb1da0a2aa.
Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-15 13:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08 15:36 [Buildroot] [Bug 11671] New: russian locale ru_RU:145: LC_TIME: syntax error bugzilla at busybox.net
2019-02-08 20:46 ` [Buildroot] [Bug 11671] " bugzilla at busybox.net
2019-02-12 14:10 ` bugzilla at busybox.net
2019-02-12 19:28 ` bugzilla at busybox.net
2019-02-15 11:18 ` bugzilla at busybox.net
2019-08-15 13:20 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.