all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* setlocale: LC_ALL: cannot change locale (en_US.utf8)
@ 2019-05-30 10:44 Josh Holland
  2019-06-01 15:00 ` Josh Holland
  0 siblings, 1 reply; 2+ messages in thread
From: Josh Holland @ 2019-05-30 10:44 UTC (permalink / raw)
  To: help-guix

Hi Guix,

I recently reinstalled Arch Linux with the Guix binary distribution on
my desktop, and since then I've had some strange error messages whenever
a Guix command is running:

/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)

I have LANG set to en_GB.UTF-8, and glibc-locales is installed with
GUIX_LOCPATH set properly:

$ ls $GUIX_LOCPATH/2.28/{en_GB.UTF-8,en_US.UTF-8}
/home/josh/.guix-profile/lib/locale/2.28/en_GB.UTF-8:
LC_ADDRESS  LC_CTYPE           LC_MEASUREMENT  LC_MONETARY  LC_NUMERIC  LC_TELEPHONE
LC_COLLATE  LC_IDENTIFICATION  LC_MESSAGES     LC_NAME      LC_PAPER    LC_TIME

/home/josh/.guix-profile/lib/locale/2.28/en_US.UTF-8:
LC_ADDRESS  LC_CTYPE           LC_MEASUREMENT  LC_MONETARY  LC_NUMERIC  LC_TELEPHONE
LC_COLLATE  LC_IDENTIFICATION  LC_MESSAGES     LC_NAME      LC_PAPER    LC_TIME

I asked in the IRC channel, and the only suggestion was to check whether that copy
of bash was indeed using glibc 2.28, which it is:

/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, not stripped

I've not seen this problem on either of the two other machines I've
installed Guix on, and not before I reinstalled.  Does anybody have
any ideas?

-- 
Josh Holland

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

* Re: setlocale: LC_ALL: cannot change locale (en_US.utf8)
  2019-05-30 10:44 setlocale: LC_ALL: cannot change locale (en_US.utf8) Josh Holland
@ 2019-06-01 15:00 ` Josh Holland
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Holland @ 2019-06-01 15:00 UTC (permalink / raw)
  To: help-guix

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

Hi again Guix,

I had another IRC debugging session with civodul on IRC today, and I
think we made a little progress.  Of course actually reading the error
message properly would have provided a hint to what's going on here:
guix is looking for en_US.utf8, but the files live in en_US.UTF-8.

I did a bit of strace-ing of the guix daemon (full compressed
version attached), but I'm not sure what to make of it really.

-- 
Josh Holland

[-- Attachment #2: log.xz --]
[-- Type: application/octet-stream, Size: 1030944 bytes --]

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

end of thread, other threads:[~2019-06-01 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-30 10:44 setlocale: LC_ALL: cannot change locale (en_US.utf8) Josh Holland
2019-06-01 15:00 ` Josh Holland

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.