all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matthew Brooks <matthewfbrooks@mailbox.org>
To: help-guix@gnu.org
Subject: Re: locale warnings
Date: Tue, 26 Jun 2018 18:58:04 -0500	[thread overview]
Message-ID: <20180626185804.5110512a@mailbox.org> (raw)
In-Reply-To: <87in65o5my.fsf@gmail.com>

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

Have you tried setting GUIX_LOCPATH for the user (instead of just root) and also installing glibc-locales for the user (instead of only root)?

I had the same problem with locales not being found, but installing the locales and setting the environment variable for the user fixed it for me.

On Tue, 26 Jun 2018 19:48:53 +0300
Oleg Pykhalov <go.wigust@gmail.com> wrote:

> Hello Hinko,
> 
> Hinko Kocevar <Hinko.Kocevar@esss.se> writes:
> 
> […]
> 
> >> I followed the instructions to set up locale for user
> >> (https://www.gnu.org/software/guix/manual/guix.html#Application-Setup),
> >> but I'm still getting these messages for each guix invocation:
> >>
> >> substitute: guile: warning: failed to install locale
> >> substitute: warning: failed to install locale: Invalid argument  
> >
> > These warnings come from the ‘guix substitute’ process, which is spawned
> > as root by ‘guix-daemon’.
> >
> > To fix it, you need to add GUIX_LOCPATH to ‘guix-daemon.service’ if it’s
> > not already there, like this:
> >
> >   https://git.savannah.gnu.org/cgit/guix.git/tree/etc/guix-daemon.service.in#n10  
> 
> Did adding a GUIX_LOCPATH environment variable to the
> guix-daemon.service help?  I have the same issue on GNU/Linux Mint
> workstation, but this tip didn't help me.
> 
> --8<---------------cut here---------------start------------->8---
> $ PAGER= systemctl show guix-daemon.service  | grep locale
> Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale
> --8<---------------cut here---------------end--------------->8---
> 
> --8<---------------cut here---------------start------------->8---
> $ sudo guix package -I 
> …
> guix    0.14.0  out     /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0
> glibc-utf8-locales      2.25    out     /gnu/store/xa391b23r5lbwxb9q26sq5rq1fkd1xi3-glibc-utf8-locales-2.25
> glibc-locales   2.27    out     /gnu/store/s28fmfrq8r0c688x59cj0fcyh2pv87nj-glibc-locales-2.27
> glibc   2.27    out     /gnu/store/y7siq9fr3dyccyaig94rpkqfimbiw35f-glibc-2.27
> --8<---------------cut here---------------end--------------->8---
> 
> Thanks,
> Oleg.


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

  parent reply	other threads:[~2018-06-26 23:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-25 16:35 locale warnings Hinko Kocevar
2018-06-25 23:07 ` Hinko Kocevar
2018-06-26 11:39 ` Ludovic Courtès
2018-06-26 12:21   ` Hinko Kocevar
2018-06-26 16:48     ` Oleg Pykhalov
2018-06-26 17:29       ` Hinko Kocevar
2018-06-26 23:58       ` Matthew Brooks [this message]
2018-06-27 11:38       ` Ludovic Courtès
2018-06-30 17:10         ` [SOLVED] " Oleg Pykhalov

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

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

  git send-email \
    --in-reply-to=20180626185804.5110512a@mailbox.org \
    --to=matthewfbrooks@mailbox.org \
    --cc=help-guix@gnu.org \
    /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.
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.