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

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).