unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Abbé <gnu.bonfire@p.atriar.ch>
To: Luis Felipe <sirgazil@zoho.com>
Cc: help-guix@gnu.org
Subject: Re: guile: warning: failed to install locale
Date: Mon, 23 Sep 2024 20:46:09 +0000	[thread overview]
Message-ID: <172712437396.7.15012000708107392427.442487997@p.atriar.ch> (raw)
In-Reply-To: <d5ef4a80-64bb-4a31-bdf4-4ae4e6969db4@zoho.com>


[-- Attachment #1.1: Type: text/plain, Size: 2825 bytes --]

On Saturday, September 21st, 2024 at 2:51 PM, Luis Felipe <sirgazil@zoho.com> wrote:

> Hi Abbé,
> 

> On 21/09/24 10:08, Abbé wrote:
> 

> > Hi,
> > 

> > Since I updated guix few days ago, I started observing following notice whenever I start a new shell (with zsh, or bash -l):
> > 

> > ==================================================================
> > guile: warning: failed to install locale
> > guile: warning: failed to install locale
> > hint: Consider installing the `glibc-locales' package and defining` GUIX_LOCPATH', along these lines:
> > 

> > guix install glibc-locales
> > export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> > 

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

> > I'm running GuixSD, and have installed glibc-locales in system profile. I don't have GUIX_LOCPATH, and never had that set before either.
> > 

> > Following is the output from guix describe:
> > 

> > ==================================================================
> > ❯ guix describe
> > hint: Consider installing the `glibc-locales' package and defining` GUIX_LOCPATH', along these lines:
> > 

> > guix install glibc-locales
> > export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> > 

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

> > Generation 17 Sep 21 2024 10:03:22 (current)
> > guix 9d75215
> > repository URL: https://git.savannah.gnu.org/git/guix.git
> > branch: master
> > commit: 9d75215a59629ab224154ef6b843043289291f81
> > nonguix 99a4773
> > repository URL: https://gitlab.com/nonguix/nonguix
> > branch: master
> > commit: 99a47731552b179ea021a65a8a6f474cece68182
> > ==================================================================
> > 

> > Any ideas how to rectify this, and what caused it ?
> 

> 

> Did you restart the system?
> 

> I also upgraded my system (a couple of days before you) and I also saw
> the hint about setting up GUIX_LOCPATH. This has happened before when I
> upgrade, but the message goes away after restarting the system.
> 

> Just as you, I have "glibc-locales" listed in my system's packages.
> Also, I don't set GUIX_LOCPATH manually anywhere, but it is set like this:
> 

>   ❯ echo $GUIX_LOCPATH
>   /run/current-system/profile/lib/locale
> 

> Hope that helps,

Interesting, this time it worked, but I was seeing it for a week, and I did 'guix pull', 'guix system reconfigure' and reboot, and it never worked, while moving glibc-locales from system profile to user profile. Although I was testing this on a server (accessible over SSH only).

Anyways, now all good (with glibc-locales package in system profile), so thank you!

--
Abbé

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

  reply	other threads:[~2024-09-23 20:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-21 10:08 guile: warning: failed to install locale Abbé
2024-09-21 12:51 ` Luis Felipe
2024-09-23 20:46   ` Abbé [this message]
2024-09-24 12:59     ` Luis Felipe
  -- strict thread matches above, loose matches on Subject: below --
2020-05-20  6:01 Jérémy Korwin-Zmijowski
2020-05-19 14:33 znavko
2020-05-19 15:43 ` Leo Famulari
2020-01-16 15:40 Guile: " wisdomlight--- via
2020-01-16 16:28 ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=172712437396.7.15012000708107392427.442487997@p.atriar.ch \
    --to=gnu.bonfire@p.atriar.ch \
    --cc=help-guix@gnu.org \
    --cc=sirgazil@zoho.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).