From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oEB7OhmuzGFReQEAgWs5BA (envelope-from ) for ; Wed, 29 Dec 2021 19:51:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yF4UMxmuzGHd9gAAG6o9tA (envelope-from ) for ; Wed, 29 Dec 2021 19:51:05 +0100 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 80C3235DA5 for ; Wed, 29 Dec 2021 19:51:05 +0100 (CET) Received: from localhost ([::1]:39606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2e2R-000322-W6 for larch@yhetil.org; Wed, 29 Dec 2021 13:51:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2dzV-0001iq-Tx for bug-guix@gnu.org; Wed, 29 Dec 2021 13:48:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38823) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2dzV-0003l5-Kx for bug-guix@gnu.org; Wed, 29 Dec 2021 13:48:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2dzV-0004ob-KL for bug-guix@gnu.org; Wed, 29 Dec 2021 13:48:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52831: [installer] Locale problems with nss-certs Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 29 Dec 2021 18:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52831 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Received: via spool by 52831-submit@debbugs.gnu.org id=B52831.164080367618474 (code B ref 52831); Wed, 29 Dec 2021 18:48:01 +0000 Received: (at 52831) by debbugs.gnu.org; 29 Dec 2021 18:47:56 +0000 Received: from localhost ([127.0.0.1]:50369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2dzQ-0004nt-2P for submit@debbugs.gnu.org; Wed, 29 Dec 2021 13:47:56 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:49375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2dzO-0004nA-QR for 52831@debbugs.gnu.org; Wed, 29 Dec 2021 13:47:55 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id AA38D5C0074; Wed, 29 Dec 2021 13:47:49 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 29 Dec 2021 13:47:49 -0500 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=ySXYkxvH3As56fHNM8/hgu8X q2QPtrURSJawYDE2idk=; b=PXwF0rS+KhXHsz56bdO38nenTfUpUmit7n2jQzc1 uUqVa3to+p9ZNBmvV8/JY3c7/hjhlJEXYi+VtQvGd4LtYKhTRmjqW6VrLTavbl+f b64Tei3QfUS6cS2UZf5TnS94tPiApyvfRoG1/foBXsfTTxxLOIcVuCF1ZVpRWh5n 8ho= 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=ySXYkx vH3As56fHNM8/hgu8Xq2QPtrURSJawYDE2idk=; b=MhZqMCDOm6o1BgvDrPHSEt 0yv9Meb7PXCwPesWrqorB+9uuFUSkWPboRAEuW7YlZbKWYRBRrsGGtmgLXkhjWpl a7J4cwJub6UxeD63hYcM3poOC338Tzk2VLIIJ00jtim5RmTI1CXx66Z0aD2Aq9qK 6TgcvX5HQ+PNb6wHqKCTT4W38NRu2fmhu8/OKtlA7rc7KhM5dPg6Aqasj8s7kykl D1NuDSSPIfCmaSkuxEzGOefCITaqK1dgqjzzdSaQy/Xn9kL/9DqPk2FinPbcW4m9 CGN94eoEMgCDRdYzrYjlj9APyZOUc+fC4OTDKCZutESt+GVN79qP803YasS8PDzQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvuddguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepueekkedtffdvtddugeejgedtvefhueefiedvjeeitdeigedtveejvdejheff vefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplh gvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Dec 2021 13:47:49 -0500 (EST) Date: Wed, 29 Dec 2021 13:47:47 -0500 From: Leo Famulari Message-ID: References: <878rw3l3v6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878rw3l3v6.fsf@gnu.org> 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: , Cc: 52831@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640803865; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=ySXYkxvH3As56fHNM8/hgu8Xq2QPtrURSJawYDE2idk=; b=KRJN0j2ME00NqofLsjd4b44ZKqWn4dXteR8axi7JET/jGY4+uD0A5X5tRZschRYAZisiaA NtvHrS8DYUb0t4lzLJxs7FMDrSEmYIs5ywfp1GmvpG7BeNtOK4xgN1rCJwKUdpIl9eCj95 oLFnrEbekrTaZL3UB5lTsa+iBN3/T8Loors5gljRzYxLUaO/tYJzbx3mU4+pX0OcL5XXvA MOD0xi/eQdDcAf4G7nk+DjZsNfyItPp3OfmQLk4MVFQ4ZnBjByD3oB+eUOwK7ZW39t3t6E puGV1CqyyyoocoO2xaBkX1Iu2eZn8B32+N7v/6W3j09YcGLyYpRRHgW5hFBedQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640803865; a=rsa-sha256; cv=none; b=c8BHC0CQO/Lh1ZurIvSJiv99ZpCE4JZl6ER9tUNGSfJ6LJ/oHIRj2TD6N+CZdxeknwzqNc k8HktaroaXg81PO1Not4wqXg7coi72ZSduPOIKdw6KoApb1wA9S68gjIyvu7FhlrleiK4A ZeJEjB2eReLjIyyb0jVtDvI18n+6YsvRHIZAHB+Hwlrmc9x9f/xvXdQxnpgJnvegKQDwM/ 1665FvrIIcfuk15VuSv6K/G0UqL3E9PPToFq53jpkZxleZOL+QPYRIDrn2+gS4G/qfaFbN a95CP4mzDsXj3bxludIqwjHnVS3rGbWBysTb7Gv71EU4Mgw9CxxiS6n1/IvFlg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=PXwF0rS+; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=MhZqMCDO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=PXwF0rS+; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=MhZqMCDO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 80C3235DA5 X-Spam-Score: -2.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3W7g+N8d7km/ On Wed, Dec 29, 2021 at 06:26:05PM +0100, Mathieu Othacehe wrote: > > While testing the Guix System installer, I noticed that installation of > > nss-certs has some problems that seem related to locales. > > What locale did you pick in the installer? I chose the first items in the lists, which are "English" of the territory "Antigua and Barbuda". That's "en_AG.utf8" When I use "en_US.utf8", the problem does not occur. > The following patch fixes it for me. > > --8<---------------cut here---------------start------------->8--- > diff --git a/gnu/installer/utils.scm b/gnu/installer/utils.scm > index bb97bc5560..d745996a3a 100644 > --- a/gnu/installer/utils.scm > +++ b/gnu/installer/utils.scm > @@ -97,10 +97,12 @@ (define (pause) > ;; least give us translated messages. > (if supported? > (setenv "LC_ALL" locale) > - (setenv "LANGUAGE" > - (string-take locale > - (or (string-index locale #\_) > - (string-length locale))))))) > + (begin > + (setlocale LC_ALL "en_US.utf8") > + (setenv "LANGUAGE" > + (string-take locale > + (or (string-index locale #\_) > + (string-length locale)))))))) > > (guard (c ((invoke-error? c) > (newline) > --8<---------------cut here---------------end--------------->8--- > > WDYT? I applied this patch to my Git repo and built a new installer like this: `./pre-inst-env guix system image -t uncompressed-iso9660 --label="GUIX_x86_64-linux-leo" --system=x86_64-linux gnu/system/install.scm` Then I copied the image out of the store and booted it in QEMU. But, I still had the problem during installation. Did I miss a step?