From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Holland Subject: Re: warning: setlocale: LC_ALL: cannot change locale on foreign distro Date: Mon, 3 Jun 2019 21:59:08 +0100 Message-ID: <20190603205908.GA28185@sirius.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:39767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXu3A-0007xm-IR for help-guix@gnu.org; Mon, 03 Jun 2019 16:59:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXu37-0006Ad-Gs for help-guix@gnu.org; Mon, 03 Jun 2019 16:59:24 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:45179) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXu33-0005wH-FK for help-guix@gnu.org; Mon, 03 Jun 2019 16:59:19 -0400 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Jack Hill Cc: help-guix@gnu.org 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