FS#41903 - [mkinitcpio] 'mkinitcpio -L' shows read character errors

Attached to Project: Arch Linux
Opened by jb (jb.1234abcd) - Wednesday, 10 September 2014, 07:43 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 11 September 2014, 14:10 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
$ mkinitcpio -L
==> Available hooks
column: read failed: Invalid or incomplete multibyte or wide character

�� This hook is deprecated in favor of 'block'
�� This hook is deprecated in favor of 'keyboard'
$

Additional info:
* package version(s)
core/mkinitcpio 18-2

* config and/or log files etc.
original /etc/mkinitcpio.conf

Steps to reproduce:
as above
This task depends upon

Closed by  Dave Reisner (falconindy)
Thursday, 11 September 2014, 14:10 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Set a locale other than C, as per the installation guide.
Comment by Dave Reisner (falconindy) - Thursday, 11 September 2014, 12:34 GMT
This only happens when you use a non-utf8 locale.

$ LC_CTYPE=C mkinitcpio -L
==> Available hooks
column: read failed: Invalid or incomplete multibyte or wide character

¹ This hook is deprecated in favor of 'block'
² This hook is deprecated in favor of 'keyboard'

Are you intentionally using LC_CTYPE=C or LANG=C?
Comment by jb (jb.1234abcd) - Thursday, 11 September 2014, 13:38 GMT
This is original per installation (09.2014 iso). No customization.

$ echo $LC_CTYPE

$ echo $LANG
C
$ grep -r LC_CTYPE /etc/profile*
/etc/profile.d/locale.sh:unset LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES \
/etc/profile.d/locale.sh:[ -n "$LC_CTYPE" ] && export LC_CTYPE
$ grep -r LANG /etc/profile*
/etc/profile.d/locale.sh:unset LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES \
/etc/profile.d/locale.sh:LANG=${LANG:-C}
/etc/profile.d/locale.sh:export LANG
$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
$ localectl list-locales
en_US.utf8
$
Comment by Dave Reisner (falconindy) - Thursday, 11 September 2014, 13:42 GMT
There's a lot of things that Arch doesn't "customize", but we absolutely document the need for you to generate and set a locale.

Do you intend to use LC_CTYPE=C long term? Or have you just not yet set your locale?
Comment by jb (jb.1234abcd) - Thursday, 11 September 2014, 13:47 GMT
I forgot to include the display for 'grep -r LC_CTYPE /etc/profile*' - edited my comment above.
Comment by jb (jb.1234abcd) - Thursday, 11 September 2014, 14:06 GMT
$ locale -a
C
POSIX
en_US.utf8
$

Loading...