From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oNdZOAhrdGHhDAAAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 22:05:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QF72MwhrdGG0CwAAB5/wlQ (envelope-from ) for ; Sat, 23 Oct 2021 20:05:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8D6D629967 for ; Sat, 23 Oct 2021 22:05:27 +0200 (CEST) Received: from localhost ([::1]:60418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meNGf-0001PP-I9 for larch@yhetil.org; Sat, 23 Oct 2021 16:05:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meNGJ-0001MU-5t for bug-guix@gnu.org; Sat, 23 Oct 2021 16:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meNGI-0000Jh-Sl for bug-guix@gnu.org; Sat, 23 Oct 2021 16:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meNGI-0004X1-Mw for bug-guix@gnu.org; Sat, 23 Oct 2021 16:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51348: Exception on `guix install nss-certs` Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 23 Oct 2021 20:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51348 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51348@debbugs.gnu.org X-Debbugs-Original-To: Raimundo Martins via Bug reports for GNU Guix X-Debbugs-Original-Cc: 51348@debbugs.gnu.org Received: via spool by 51348-submit@debbugs.gnu.org id=B51348.163501945617353 (code B ref 51348); Sat, 23 Oct 2021 20:05:02 +0000 Received: (at 51348) by debbugs.gnu.org; 23 Oct 2021 20:04:16 +0000 Received: from localhost ([127.0.0.1]:37392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meNFX-0004Vk-Lp for submit@debbugs.gnu.org; Sat, 23 Oct 2021 16:04:15 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:33179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meNFT-0004VM-8d for 51348@debbugs.gnu.org; Sat, 23 Oct 2021 16:04:14 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D45855C0743; Sat, 23 Oct 2021 16:04:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 23 Oct 2021 16:04:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=MisQJA9WHA33iMsNWRD8jNCP mNLUbqtlwuLoatoS/80=; b=qi3Fi27i039VXsIYZ9Lhb7giTXR1xRnMs0cXYIZZ v9h7uss23oL8MxPmhoYrt3omDfEvx6vzzsTZPatyPP3isoPWikADixL6u8xr4St3 iliqb2KuPYFGpHj9lrgvy5AVUgZ7aBSZaf2bzjjPGP0hSrbFQtvgMLvQGl+VnxbG eVE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=MisQJA 9WHA33iMsNWRD8jNCPmNLUbqtlwuLoatoS/80=; b=HkZKWcpzGa/lt/WLTIKqL4 8mq7s2yAjjyt3zdxk3OWhewrbFw1nIbgtk2rW1Ao4CMvR9lO82XB0QzSGw2p8rr/ ydkC1Pbn/Yd47Yw/RrdZbQudgGcW6cN8RWbWdRqMb1fyvz8m3CAl14MDmTB9ZidY LdhEOzDC2BDEpl+1UKUCnv/bDr7t52dkC2YJFW7d3FSRmIWwwpjwS24GCN6usvg/ Xcw8y7QI9E7P5EVsOSmpKJxvcYZsgfnZ8oD1ubltvtsixeOplVXv903gxZ1Y4GlO YubdQ935BJGhLdoIKnjzpAyJqo16EOZ/D3kou/wNxxQtsdAHZ5f3fS2Bays+Uh0A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdeftddgudefhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepledtueetteevgfffjedtgffgfedvffejledtveejvdegieffueejleefkedv iefgnecuffhomhgrihhnpehuthhfqdekrdhimhdpghhnuhdrohhrghenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghr ihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 23 Oct 2021 16:04:05 -0400 (EDT) Date: Sat, 23 Oct 2021 16:04:03 -0400 From: Leo Famulari Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635019527; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=MisQJA9WHA33iMsNWRD8jNCPmNLUbqtlwuLoatoS/80=; b=s1EJIDLVd0XbVuIdHJKsx9rzDMLbfi6EO9emapvZ4hkjWJKtDhFky/WD2P6rOjNw8SEB46 hwkwkK1mLIlZUR3WtLpH5J0SXosNJQk09aWIJ1klkiSiHhAtLW+SHt1Lgzk29LzKk9UQhr U46Zj/vU1dekKSzfBV26Pbvh2jEgFMjuuK/hL6jWDwB1HowEX/CSGXBLjuTs3rYAxhG80H qKmf1fESjx5LR6D3TJ248Cl6zK7YL5rGOxZRF45lHPUGG+8Y6VXWE4ZlmR5GOD+/RCpewq ctxPswbzESlv6SB1i/fzNN+UmnlC1h9c6N+FBRU51Pkb9FKsCVNwPoBxHOW5cA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635019527; a=rsa-sha256; cv=none; b=fd78MeoeO6yuJJSb+wYjNsT+8QHkicRzdk/3/lrdTdcNdIU4yjsMJvRU/z3SfVK6XwD5tQ Red50BTteul06ksYKwEX+tuOVkGLA63IbLlhSrSsvD7clKApK4Z3O7zpq6XJS8uIxMw8N0 yZIWHgjSo/wGKFKZ0ZSSP3XX79cSCgOWbXHZCRmD+0gdhaJ8b9/hbM6DLfRrPVfHpPH70X uqWl9GfKCSg5/u8K4HGZDTC1iC7VVBT8Ap3qLNsmDAsZHDigwo+bX0OkvsHjrWxllv+B4Z 2frDfzik9GEv/Iw8QbUHKqwrOR2ktjgzLAId4Owt64I1v8ZPwx3/pf2k1++F9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=qi3Fi27i; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=HkZKWcpz; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=qi3Fi27i; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=HkZKWcpz; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 8D6D629967 X-Spam-Score: -1.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: UXqs7AUQTcOr On Sat, Oct 23, 2021 at 10:57:20AM +0000, Raimundo Martins via Bug reports for GNU Guix wrote: > Hi! I'm having an exception when trying to install nss-certs. I have glibc-utf8-locales installed, and even tried installing glibc-locales even though my LANG=en_US.UTF-8. > I'm running Guix the package manager on top of Void Linux. Right, you can use glibc-utf8-locales (a random locale collection intended for test purposes) to get en_US.UTF-8 > Throw to key `encoding-error' with args `("scm_to_stringn" "cannot convert wide string to output locale" 84 #f #f)'. Did you set GUIX_LOCPATH, as suggested in the Application Setup section of the manual? https://guix.gnu.org/manual/en/html_node/Application-Setup.html I'm not sure exactly which context this error occurs in, but I recommend setting GUIX_LOCPATH in two places: 1) Your user's login environment. That is, ~/.bash_profile or equivalent for your shell, like this: export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale Remember that you'll have to re-login to make it effective. This can be done with `bash --login`. 2) The guix-daemon's environment. On Debian, that means adding a line like this to the Service section of guix-daemon.service and reloading and restarting the service: Environment=GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale Does Void Linux use runit instead of systemd? I'm sure there is a way to export environment variables in service contexts with runit.