unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Josh Holland <josh@inv.alid.pw>
To: Jack Hill <jackhill@jackhill.us>
Cc: help-guix@gnu.org
Subject: Re: warning: setlocale: LC_ALL: cannot change locale on foreign distro
Date: Mon, 3 Jun 2019 21:59:08 +0100	[thread overview]
Message-ID: <20190603205908.GA28185@sirius.localdomain> (raw)
In-Reply-To: <alpine.DEB.2.20.1906031345360.5164@marsh.hcoop.net>

Hi Guix,

It's only now I reply to this that I notice that it wasn't my thread I
was responding to, since I was having exactly the same problem.

On Mon, Jun 03, 2019 at 02:01:50PM -0400, Jack Hill wrote:
> 1) The default locale in the provided systemd unit, en_US.utf8, is not
> provided by the glibc-locales package but rather only by the
> glibc-utf8-locales package.

Installing glibc-utf8-locales has made the errors go away.

> 
> 2) The quoting in systemd unit is wrong. Changing
> 
> ```
> Environment=GUIX_LOCPATH='/var/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8
> ```
> 
> to
> 
> 
> ```
> Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8
> ```
> 
> fixed the problem.

I've made this change too, though it appeared to be fixed just by
installing glibc-utf8-profiles.

> 
> I'll open bugs for each of these issues.

Glad that these won't be a problem any more; thanks a lot!


-- 
Josh Holland

  reply	other threads:[~2019-06-03 20:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-03 15:47 warning: setlocale: LC_ALL: cannot change locale on foreign distro Jack Hill
2019-06-03 18:01 ` Jack Hill
2019-06-03 20:59   ` Josh Holland [this message]
2019-06-04  1:30     ` Jack Hill

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=20190603205908.GA28185@sirius.localdomain \
    --to=josh@inv.alid.pw \
    --cc=help-guix@gnu.org \
    --cc=jackhill@jackhill.us \
    /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).