unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40826: core-updates: guile: warning: failed to install locale
@ 2020-04-24 18:44 sirgazil via Bug reports for GNU Guix
  2020-04-24 21:44 ` Marius Bakke
  0 siblings, 1 reply; 3+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2020-04-24 18:44 UTC (permalink / raw)
  To: 40826

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
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: core-updates
    commit: 4affa9182d93c77505c40e95964b8ab9d436298b
  sirgazil-x 5ef0404
    repository URL: https://gitlab.com/sirgazil/guix-channel-x.git
    branch: master
    commit: 5ef04045d14e154e7792b42762155be63cf34076
★★★★★★★★★★★★★★★★★★★★



---
https://sirgazil.bitbucket.io/

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

* bug#40826: core-updates: guile: warning: failed to install locale
  2020-04-24 18:44 bug#40826: core-updates: guile: warning: failed to install locale sirgazil via Bug reports for GNU Guix
@ 2020-04-24 21:44 ` Marius Bakke
  2020-05-03 20:00   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2020-04-24 21:44 UTC (permalink / raw)
  To: sirgazil, 40826-done

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

sirgazil via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

> 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!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* bug#40826: core-updates: guile: warning: failed to install locale
  2020-04-24 21:44 ` Marius Bakke
@ 2020-05-03 20:00   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-05-03 20:00 UTC (permalink / raw)
  To: 40826; +Cc: sirgazil

Hi,

Marius Bakke <mbakke@fastmail.com> skribis:

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




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

end of thread, other threads:[~2020-05-03 20:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 18:44 bug#40826: core-updates: guile: warning: failed to install locale sirgazil via Bug reports for GNU Guix
2020-04-24 21:44 ` Marius Bakke
2020-05-03 20:00   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).