core-updates: guile: warning: failed to install locale

  • Done
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Marius Bakke
  • sirgazil
Owner
unassigned
Submitted by
sirgazil
Severity
normal
S
S
sirgazil wrote on 24 Apr 2020 20:44
(name . bug-guix)(address . bug-guix@gnu.org)
171ad80fb67.e07cde6f4688.5180594174465336788@zoho.com
I'm using the GNU system distributed by Guix.


## Steps to reproduce

1. guix pull --branch=core-updates
2. guix --version (or any other guix command)


## Expected result

????????????????????
$ guix --version
guix (GNU Guix) 4affa9182d93c77505c40e95964b8ab9d436298b
Copyright (C) 2020 the Guix authors
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
????????????????????


## Unexpected result

????????????????????
$ guix --version
guile: warning: failed to install locale
hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and
defining `GUIX_LOCPATH', along these lines:

guix package -i glibc-utf8-locales
export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

guix (GNU Guix) 4affa9182d93c77505c40e95964b8ab9d436298b
Copyright (C) 2020 the Guix authors
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law
????????????????????

This warning is confusing because I'm using the GNU system. The "Application Setup" section, as far as I understand, is for Guix on foreign distros.


## System information

????????????????????
$ LANG=C guix describe
Generation 75 Apr 24 2020 12:03:48 (current)
guix 4affa91
branch: core-updates
commit: 4affa9182d93c77505c40e95964b8ab9d436298b
sirgazil-x 5ef0404
branch: master
commit: 5ef04045d14e154e7792b42762155be63cf34076
????????????????????



---
M
M
Marius Bakke wrote on 24 Apr 2020 23:44
875zdoftjh.fsf@devup.no
sirgazil via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

Toggle quote (43 lines)
> I'm using the GNU system distributed by Guix.
>
>
> ## Steps to reproduce
>
> 1. guix pull --branch=core-updates
> 2. guix --version (or any other guix command)
>
>
> ## Expected result
>
> ????????????????????
> $ guix --version
> guix (GNU Guix) 4affa9182d93c77505c40e95964b8ab9d436298b
> Copyright (C) 2020 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> ????????????????????
>
>
> ## Unexpected result
>
> ????????????????????
> $ guix --version
> guile: warning: failed to install locale
> hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and
> defining `GUIX_LOCPATH', along these lines:
>
> guix package -i glibc-utf8-locales
> export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
>
> See the "Application Setup" section in the manual, for more info.
>
> guix (GNU Guix) 4affa9182d93c77505c40e95964b8ab9d436298b
> Copyright (C) 2020 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law
> ????????????????????
>
> This warning is confusing because I'm using the GNU system. The "Application Setup" section, as far as I understand, is for Guix on foreign distros.

This is expected, because the new Guix is built against a different
glibc, and the updated glibc-locales are not yet installed on your
system.

It will go away after reconfiguring the system on the branch, but then
you will get the same warning if you try using packages from older
generations.

You can add (locale-libcs (list glibc glibc-2.29)) in your OS
configuration to get rid of the warning in the latter case.

Closing as not a bug!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6jXbMACgkQoqBt8qM6
VPr2Qwf/fxtaO0qtX2VE3GSO8DDdZvsu8FzziAorgNrai26+UMb7iJS+wHm+emir
0HBOVAm3O1OZscwL1qOMz30oek2oAJic2gwxCbdbnBRUHMzpGMjvUtSe6N/Yhlxg
+EFzbbqA5EGid/8S6B9zWYTSckrq6xi6+xvmWn9SijK0tCLlG+M+Mfieui9pUxMy
i+aqhvgZw3oQnGJR8hTPC+TMl9hcX7pFCZC1lF1jbcPK+m+seLJkWcCqyBczaTK4
bf3ctqkJzhNVEwRHpBE6/ykTn3d6Q8OmqxWUIMpef23mznCbWuu+wnE2gibQF4ln
sA/wE+i94XVXDjWuDsU9EIVdBUDXvQ==
=Uc9T
-----END PGP SIGNATURE-----

Closed
L
L
Ludovic Courtès wrote on 3 May 2020 22:00
(address . 40826@debbugs.gnu.org)
87ftcgyejm.fsf@gnu.org
Hi,

Marius Bakke <mbakke@fastmail.com> skribis:

Toggle quote (3 lines)
> You can add (locale-libcs (list glibc glibc-2.29)) in your OS
> configuration to get rid of the warning in the latter case.

Seeing that it would be again that time of the year when people have
locale problems :-), I went ahead and made it the default value for
‘locale-libcs’ in 0eed77127592323d89f56c215a15374a1aaae110.

It costs very little and hopefully saves people problems.

Ludo’.
?