Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Add C.UTF-8 locale to /etc/default/glibc-locales
@ 2024-03-07  1:16 beginner3456789
  2024-03-07  1:31 ` classabbyamp
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: beginner3456789 @ 2024-03-07  1:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2970 bytes --]

New issue by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/49162

Description:
### Is this a new report?

Yes

### System Info

Void 6.7.7_1 x86_64 GenuineIntel uptodate rrFFF

### Package(s) Affected

glibc-locales-2.38_5 GNU C library - locale data files

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

commented at https://github.com/archlinux/mkinitcpio/commit/5db56e248463033f3d70f192d517498e906b2569

### Expected behaviour

The mkinitcpio was changed to locale C.UTF-8 except the /etc/default/glibc-locales doesn't have that choice. So I had to add the choice `C UTF-8` to the /etc/default/glibc-locales and now there are no errors with mkinitcpio:
```
$ xbps-reconfigure -f glibc-locales
glibc-locales: configuring ...
Generating GNU libc locales...
  en_US.UTF-8... done.
  en_US.ISO-8859-1... done.
  C.UTF-8... done.
glibc-locales: configured successfully.

```

### Actual behaviour

```
==> Starting build: '6.7.7_1'
  -> Running build hook: [base]
/usr/lib/initcpio/functions: line 838: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'advansys'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'isci'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
==> WARNING: Possibly missing firmware for module: 'ums_eneub6250'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
/usr/lib/initcpio/functions: line 838: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.7.7_1.img'
bsdtar: Failed to set default localebsdtar: 
Failed to set default locale
==> Initcpio image generation successful
```

### Steps to reproduce

This problem maybe only affects mkinitcpio and started after updating mkinitcpio from v37.3 to v38 and installing kernel 6.7.7_1. Then downgraing to mkinitcpio 37.7 returned the error free behaviour. Then adding the `C UTF-8` choice to /etc/default/glibc-locales allowed installing kernel 6.7.7_1 without the above errors about the "cannot change locale". So glibc 2.35 changes about C.UTF-8 need to appear in the locales. This should be easy to fix except I am unsure about the correct syntax for the C.UTF-8 entry in the /etc/default/glibc-locales. For reference: https://sourceware.org/glibc/wiki/Proposals/C.UTF-8


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

* Re: Add C.UTF-8 locale to /etc/default/glibc-locales
  2024-03-07  1:16 [ISSUE] Add C.UTF-8 locale to /etc/default/glibc-locales beginner3456789
@ 2024-03-07  1:31 ` classabbyamp
  2024-03-07  1:41 ` beginner3456789
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2024-03-07  1:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/49162#issuecomment-1982175968

Comment:
already in progress https://github.com/void-linux/void-packages/pull/49146 

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

* Re: Add C.UTF-8 locale to /etc/default/glibc-locales
  2024-03-07  1:16 [ISSUE] Add C.UTF-8 locale to /etc/default/glibc-locales beginner3456789
  2024-03-07  1:31 ` classabbyamp
@ 2024-03-07  1:41 ` beginner3456789
  2024-03-07  1:42 ` oreo639
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: beginner3456789 @ 2024-03-07  1:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/49162#issuecomment-1982185146

Comment:
> already in progress #49146

I ran a search for glibc and mkinitcpio before starting this issue and did not find the #49146 issue. Should I close this issue or do something else?


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

* Re: Add C.UTF-8 locale to /etc/default/glibc-locales
  2024-03-07  1:16 [ISSUE] Add C.UTF-8 locale to /etc/default/glibc-locales beginner3456789
  2024-03-07  1:31 ` classabbyamp
  2024-03-07  1:41 ` beginner3456789
@ 2024-03-07  1:42 ` oreo639
  2024-03-07  1:44 ` oreo639
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: oreo639 @ 2024-03-07  1:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/49162#issuecomment-1982186414

Comment:
Thanks for pointing out the commit.

> Starting with glibc 2.39, LC_ALL=C.UTF-8 overrides LANGUAGE

That's a little problematic since we are currently using glibc 2.38.

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

* Re: Add C.UTF-8 locale to /etc/default/glibc-locales
  2024-03-07  1:16 [ISSUE] Add C.UTF-8 locale to /etc/default/glibc-locales beginner3456789
                   ` (2 preceding siblings ...)
  2024-03-07  1:42 ` oreo639
@ 2024-03-07  1:44 ` oreo639
  2024-03-07  1:44 ` oreo639
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: oreo639 @ 2024-03-07  1:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 415 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/49162#issuecomment-1982186414

Comment:
Thanks for pointing out the commit.

> Starting with glibc 2.39, LC_ALL=C.UTF-8 overrides LANGUAGE

That's a little problematic since we are currently using glibc 2.38.

> Should I close this issue or do something else?

Just leave it until the issue is resolved.

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

* Re: Add C.UTF-8 locale to /etc/default/glibc-locales
  2024-03-07  1:16 [ISSUE] Add C.UTF-8 locale to /etc/default/glibc-locales beginner3456789
                   ` (3 preceding siblings ...)
  2024-03-07  1:44 ` oreo639
@ 2024-03-07  1:44 ` oreo639
  2024-03-07  1:45 ` oreo639
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: oreo639 @ 2024-03-07  1:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 415 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/49162#issuecomment-1982186414

Comment:
Thanks for pointing out the commit.

> Starting with glibc 2.39, LC_ALL=C.UTF-8 overrides LANGUAGE

That's a little problematic since we are currently using glibc 2.38.

> Should I close this issue or do something else?

Leave it open until the issue is resolved.

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

* Re: Add C.UTF-8 locale to /etc/default/glibc-locales
  2024-03-07  1:16 [ISSUE] Add C.UTF-8 locale to /etc/default/glibc-locales beginner3456789
                   ` (4 preceding siblings ...)
  2024-03-07  1:44 ` oreo639
@ 2024-03-07  1:45 ` oreo639
  2024-03-07  1:49 ` beginner3456789
  2024-03-17  4:27 ` [ISSUE] [CLOSED] " ahesford
  7 siblings, 0 replies; 9+ messages in thread
From: oreo639 @ 2024-03-07  1:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/49162#issuecomment-1982186414

Comment:
Thanks for pointing out the commit.

> Starting with glibc 2.39, LC_ALL=C.UTF-8 overrides LANGUAGE

That's a little problematic since we are currently using glibc 2.38.

> Should I close this issue or do something else?

You don't need to do anything, classabbyamp is just linking the relevant PR.

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

* Re: Add C.UTF-8 locale to /etc/default/glibc-locales
  2024-03-07  1:16 [ISSUE] Add C.UTF-8 locale to /etc/default/glibc-locales beginner3456789
                   ` (5 preceding siblings ...)
  2024-03-07  1:45 ` oreo639
@ 2024-03-07  1:49 ` beginner3456789
  2024-03-17  4:27 ` [ISSUE] [CLOSED] " ahesford
  7 siblings, 0 replies; 9+ messages in thread
From: beginner3456789 @ 2024-03-07  1:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

New comment by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/49162#issuecomment-1982192395

Comment:
OK. Doing nothing...


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

* Re: [ISSUE] [CLOSED] Add C.UTF-8 locale to /etc/default/glibc-locales
  2024-03-07  1:16 [ISSUE] Add C.UTF-8 locale to /etc/default/glibc-locales beginner3456789
                   ` (6 preceding siblings ...)
  2024-03-07  1:49 ` beginner3456789
@ 2024-03-17  4:27 ` ahesford
  7 siblings, 0 replies; 9+ messages in thread
From: ahesford @ 2024-03-17  4:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3073 bytes --]

Closed issue by beginner3456789 on void-packages repository

https://github.com/void-linux/void-packages/issues/49162

Description:
### Is this a new report?

Yes

### System Info

Void 6.7.7_1 x86_64 GenuineIntel uptodate rrFFF

### Package(s) Affectedhttps://sourceware.org/glibc/wiki/Proposals/C.UTF-8

glibc-locales-2.38_5 GNU C library - locale data files

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

commented at https://github.com/archlinux/mkinitcpio/commit/5db56e248463033f3d70f192d517498e906b2569

### Expected behaviour

The mkinitcpio was changed to locale C.UTF-8 except the /etc/default/glibc-locales doesn't have that choice. So I had to add the choice `C UTF-8` to the /etc/default/glibc-locales and now there are no errors with mkinitcpio:
```
$ xbps-reconfigure -f glibc-locales
glibc-locales: configuring ...
Generating GNU libc locales...
  en_US.UTF-8... done.
  en_US.ISO-8859-1... done.
  C.UTF-8... done.
glibc-locales: configured successfully.

```

### Actual behaviour

```
==> Starting build: '6.7.7_1'
  -> Running build hook: [base]
/usr/lib/initcpio/functions: line 838: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'advansys'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'isci'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
==> WARNING: Possibly missing firmware for module: 'ums_eneub6250'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
/usr/lib/initcpio/functions: line 838: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-6.7.7_1.img'
bsdtar: Failed to set default localebsdtar: 
Failed to set default locale
==> Initcpio image generation successful
```

### Steps to reproduce

This problem maybe only affects mkinitcpio and started after updating mkinitcpio from v37.3 to v38 and installing kernel 6.7.7_1. Then downgrading to mkinitcpio 37.7 returned the error free behaviour. Then adding the `C UTF-8` choice to /etc/default/glibc-locales allowed installing mkinitcpio 38 and kernel 6.7.7_1 without the above errors about the "cannot change locale". 

So glibc 2.35 changes about C.UTF-8 need to appear in the locales. This should be easy to fix except I am unsure about the correct syntax for the C.UTF-8 entry in the /etc/default/glibc-locales. For reference: https://sourceware.org/glibc/wiki/Proposals/C.UTF-8


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

end of thread, other threads:[~2024-03-17  4:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-07  1:16 [ISSUE] Add C.UTF-8 locale to /etc/default/glibc-locales beginner3456789
2024-03-07  1:31 ` classabbyamp
2024-03-07  1:41 ` beginner3456789
2024-03-07  1:42 ` oreo639
2024-03-07  1:44 ` oreo639
2024-03-07  1:44 ` oreo639
2024-03-07  1:45 ` oreo639
2024-03-07  1:49 ` beginner3456789
2024-03-17  4:27 ` [ISSUE] [CLOSED] " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).