From unknown Wed Sep 10 13:55:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34480] [PATCH 0/2] Ensure Guix always has 'glibc-utf8-locales' Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Feb 2019 22:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34480 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34480@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155018268126876 (code B ref -1); Thu, 14 Feb 2019 22:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Feb 2019 22:18:01 +0000 Received: from localhost ([127.0.0.1]:48449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guPKS-0006zP-VO for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:18:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guPKR-0006zB-Dj for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:17:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:53192) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1guPKG-0004lV-V1 for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:17:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guPKG-0003kO-58 for guix-patches@gnu.org; Thu, 14 Feb 2019 17:17:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guPKC-0004i7-9J for guix-patches@gnu.org; Thu, 14 Feb 2019 17:17:48 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:42020) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1guPKA-0004dP-Ll; Thu, 14 Feb 2019 17:17:44 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 67B13FCCB; Thu, 14 Feb 2019 23:17:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xO9yqrx4pg2p; Thu, 14 Feb 2019 23:17:38 +0100 (CET) Received: from gnu.org (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6943BFBC9; Thu, 14 Feb 2019 23:17:38 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Thu, 14 Feb 2019 23:17:15 +0100 Message-Id: <20190214221715.10714-1-ludo@gnu.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a0c:e300::1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Guix, After hearing about so many bad first impressions due to missing locales, I decided to bite the bullet. I still don=E2=80=99t consider the approac= h really satisfying, in particular due to the arbitrary locale selection in =E2=80=98glibc-utf8-locales=E2=80=99, but the benefits are worth it IM= O (I feel like I=E2=80=99ve been too obtuse on this topic, and I=E2=80=99m sorry about t= hat!). The closure size of the =E2=80=98guix=E2=80=99 package increases like thi= s: --8<---------------cut here---------------start------------->8--- $ guix size guix | tail -1 total: 354.2 MiB $ guix size guix glibc-utf8-locales | tail -1 total: 368.0 MiB --8<---------------cut here---------------end--------------->8--- That=E2=80=99s a 4% increase, not that bad. Something that would be worth looking into is how much space it would tak= e to have all the supported UTF-8 locales in that package. Thoughts? Ludo=E2=80=99. Ludovic Court=C3=A8s (2): self: Bundle 'glibc-utf8-locales'. gnu: guix: Embed 'glibc-utf8-locales'. gnu/packages/package-management.scm | 12 +++++++++--- guix/self.scm | 14 ++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) --=20 2.20.1 From unknown Wed Sep 10 13:55:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34480] [PATCH 1/2] self: Bundle 'glibc-utf8-locales'. References: <20190214221715.10714-1-ludo@gnu.org> In-Reply-To: <20190214221715.10714-1-ludo@gnu.org> Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Feb 2019 22:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34480 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34480@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 34480-submit@debbugs.gnu.org id=B34480.155018289627258 (code B ref 34480); Thu, 14 Feb 2019 22:22:01 +0000 Received: (at 34480) by debbugs.gnu.org; 14 Feb 2019 22:21:36 +0000 Received: from localhost ([127.0.0.1]:48455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guPNw-00075Z-GP for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:21:36 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:59488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guPNu-00075L-QM for 34480@debbugs.gnu.org; Thu, 14 Feb 2019 17:21:35 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6B033FCEA; Thu, 14 Feb 2019 23:21:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z5c9KYFbMEg2; Thu, 14 Feb 2019 23:21:32 +0100 (CET) Received: from gnu.org (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 26135FCC7; Thu, 14 Feb 2019 23:21:32 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Thu, 14 Feb 2019 23:21:19 +0100 Message-Id: <20190214222120.10914-1-ludo@gnu.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This minimizes the risk of locale-related warnings, at least for those who use one of the bundled UTF-8 locales. * guix/self.scm (guix-command)[glibc-utf8-locales]: New variable. In program body, set GUIX_LOCPATH. --- guix/self.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/guix/self.scm b/guix/self.scm index a45470a0a6..bcf04a1b28 100644 --- a/guix/self.scm +++ b/guix/self.scm @@ -390,6 +390,10 @@ that provide Guile modules." guile (guile-version (effective-version))) "Return the 'guix' command such that it adds MODULES and DEPENDENCIES in its load path." + (define glibc-utf8-locales + (module-ref (resolve-interface '(gnu packages base)) + 'glibc-utf8-locales)) + (define module-directory ;; To minimize the number of 'stat' calls needed to locate a module, ;; create the union of all the module directories. @@ -410,6 +414,16 @@ load path." "/site-ccache") %load-compiled-path)) + ;; To maximize the chances that locales are set up right + ;; out-of-the-box, bundle "common" UTF-8 locales. + (let ((locpath (getenv "GUIX_LOCPATH"))) + (setenv "GUIX_LOCPATH" + (string-append (if locpath + (string-append locpath ":") + "") + #$(file-append glibc-utf8-locales + "/lib/locale")))) + (let ((guix-main (module-ref (resolve-interface '(guix ui)) 'guix-main))) #$(if source -- 2.20.1 From unknown Wed Sep 10 13:55:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34480] [PATCH 2/2] gnu: guix: Embed 'glibc-utf8-locales'. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Feb 2019 22:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34480 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34480@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 34480-submit@debbugs.gnu.org id=B34480.155018289727265 (code B ref 34480); Thu, 14 Feb 2019 22:22:02 +0000 Received: (at 34480) by debbugs.gnu.org; 14 Feb 2019 22:21:37 +0000 Received: from localhost ([127.0.0.1]:48457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guPNw-00075b-RQ for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:21:37 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:59492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guPNu-00075M-Mn for 34480@debbugs.gnu.org; Thu, 14 Feb 2019 17:21:35 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id AF283FCC7; Thu, 14 Feb 2019 23:21:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Erh1cnxaWVZ; Thu, 14 Feb 2019 23:21:32 +0100 (CET) Received: from gnu.org (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 80ADAFCC8; Thu, 14 Feb 2019 23:21:32 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Thu, 14 Feb 2019 23:21:20 +0100 Message-Id: <20190214222120.10914-2-ludo@gnu.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190214222120.10914-1-ludo@gnu.org> References: <20190214222120.10914-1-ludo@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This will ensure people who download the binary installation tarball do not get locale-related warnings, provided they use one of the selected UTF-8 locales. * gnu/packages/package-management.scm (guix)[arguments]: In 'wrap-program' phase, set GUIX_LOCPATH. [inputs]: Add GLIBC-UTF8-LOCALES. --- gnu/packages/package-management.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index af9667cd91..e283df65f8 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -33,6 +33,7 @@ #:use-module (gnu packages avahi) #:use-module (gnu packages autotools) #:use-module (gnu packages backup) + #:use-module (gnu packages base) #:use-module (gnu packages bdw-gc) #:use-module (gnu packages bison) #:use-module (gnu packages bootstrap) ;for 'bootstrap-guile-origin' @@ -227,6 +228,7 @@ "guile-bytestructures")) (ssh (assoc-ref inputs "guile-ssh")) (gnutls (assoc-ref inputs "gnutls")) + (locales (assoc-ref inputs "glibc-utf8-locales")) (deps (list gcrypt json sqlite gnutls git bs ssh)) (effective @@ -245,11 +247,13 @@ "/lib/guile/" effective "/site-ccache") (delete #f deps)) - ":"))) + ":")) + (locpath (string-append locales "/lib/locale"))) (wrap-program (string-append out "/bin/guix") `("GUILE_LOAD_PATH" ":" prefix (,path)) - `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath))) + `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)) + `("GUIX_LOCPATH" ":" suffix (,locpath))) #t)))))) (native-inputs `(("pkg-config" ,pkg-config) @@ -282,7 +286,9 @@ ,@(if (and (not (%current-target-system)) (string=? (%current-system) "x86_64-linux")) `(("boot-guile/i686" ,(bootstrap-guile-origin "i686-linux"))) - '()))) + '()) + + ("glibc-utf8-locales" ,glibc-utf8-locales))) (propagated-inputs `(("gnutls" ,gnutls) ("guile-gcrypt" ,guile-gcrypt) -- 2.20.1 From unknown Wed Sep 10 13:55:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34480] [PATCH 0/2] Ensure Guix always has 'glibc-utf8-locales' Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Feb 2019 16:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34480 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 34480@debbugs.gnu.org Received: via spool by 34480-submit@debbugs.gnu.org id=B34480.155024794617634 (code B ref 34480); Fri, 15 Feb 2019 16:26:01 +0000 Received: (at 34480) by debbugs.gnu.org; 15 Feb 2019 16:25:46 +0000 Received: from localhost ([127.0.0.1]:49721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gugJ8-0004aM-0O for submit@debbugs.gnu.org; Fri, 15 Feb 2019 11:25:46 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:47905) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gugJ5-0004a9-Hx for 34480@debbugs.gnu.org; Fri, 15 Feb 2019 11:25:44 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 631D2231CE; Fri, 15 Feb 2019 11:25:38 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 15 Feb 2019 11:25:38 -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=swR8o94WcnMpyEbzLlfUvtye BFO8KhJcS99nsH+cMIY=; b=XtjU9rhjXrNSetHTHX8r6EkijXg/618uaCKnZ9fF 4d3XXQr8jYiBR7lmcQ19c5XzJ9Z40hDBl71IUqyR4DJzk+uH5ep5Qg3w+btDXyi/ 3pPoJ8qw2RRqm3ifZZ5kh2xYugrYEUNDjRDRNlbDrVTkxF5UQP1GaFj5YWW8oeXW 0SY= 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=fm2; bh=swR8o9 4WcnMpyEbzLlfUvtyeBFO8KhJcS99nsH+cMIY=; b=dYFfJj9pYQwzD/uK7DDqQ5 9+dtZWPugAY5OfRjAz5IC638U83WVpKDLy+D/KkqqgWJJFPACJ194D1ZET/u+FK7 DBpl37RI+Rxo4paYNUy83oM89J6VVJtxjMZH18eknkj3in5SOoqCL6r9ZDnuCByG h0vnweaU5x/CrdOJZfu9GUKHkpO6e6NovOzX4EJ8vQ4LjXdZbfuwD/XCj4N89HCb 1dbuSvBPFtgf0CTlDbQen5RQqNtcEb5arF8Cx5Te8bsbY/YEHH31XF1WMkHeCyQV pFgxE4c8yKiWhy6bd6lauqZQnRa1HtY0zlwXfEFz3WyYBISvi2ES1qIGxpPkf4ww == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddtjedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkfh ggtggujggfsehgtderredtreejnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehl vghosehfrghmuhhlrghrihdrnhgrmhgvqeenucfkphepjeeirdduvdegrddvtddvrddufe ejnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv necuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 9E0E410319; Fri, 15 Feb 2019 11:25:34 -0500 (EST) Date: Fri, 15 Feb 2019 11:25:33 -0500 From: Leo Famulari Message-ID: <20190215162533.GA8657@jasmine.lan> References: <20190214221715.10714-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <20190214221715.10714-1-ludo@gnu.org> User-Agent: Mutt/1.11.2 (2019-01-07) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --KsGdsel6WgEHnImy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 14, 2019 at 11:17:15PM +0100, Ludovic Court=C3=A8s wrote: > Hello Guix, >=20 > After hearing about so many bad first impressions due to missing locales, > I decided to bite the bullet. I still don=E2=80=99t consider the approach > really satisfying, in particular due to the arbitrary locale selection > in =E2=80=98glibc-utf8-locales=E2=80=99, but the benefits are worth it IM= O (I feel like > I=E2=80=99ve been too obtuse on this topic, and I=E2=80=99m sorry about t= hat!). Okay, I think it's the right thing to do. We are constantly having to explain the locales warning on IRC. > The closure size of the =E2=80=98guix=E2=80=99 package increases like thi= s: >=20 > --8<---------------cut here---------------start------------->8--- > $ guix size guix | tail -1 > total: 354.2 MiB > $ guix size guix glibc-utf8-locales | tail -1 > total: 368.0 MiB > --8<---------------cut here---------------end--------------->8--- >=20 > That=E2=80=99s a 4% increase, not that bad. It's worth it. --KsGdsel6WgEHnImy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlxm5/0ACgkQJkb6MLrK fwiU+Q//VWXdsALaIM8oLXYdrli0dY+GV3+eK0gAgGwWc2rzmlo70OpFiWfYxK1Q d6IQaJf+1jFxTtHfr+ASI6plA2Fggd11SMfmWlT1kscPCT0Z1VeZpjj2+Kz9pkV9 taAdadgLAlYxiW3ERx3Le8pHPer6Y1AN/pCIhlKNveUJPHqtxThFHoHjQYdr2WH/ HDndlhn5j30HFY6nhWh4DLw+FGHHx7YEcwyfBM1WMBl8zrIoh72xzyn9CmP/lmqm qaP+oVA4qDCSPX5EM/fa8iOM6yeU2wFsmrcmt5n1gs1wW/tFDqJDYduxhwVcrIJB gha6KMnmUhIbdnCsmBmauI6rrDCTRgd2cRZxhtFxliVl6Wh8tAjMsDw5FypQcJio mMdh7+JcOTulYBXsUMNyH2gOdzLuRt0d4abAs/m0FPCmm8bWJCX9OlGiCDROw8aC 6zfOzgWxkT+wEHdKIWuocRgJ9mHJijm5YunCHLF9meO/vLIT3vNMrPZpo4BBEwO0 Jcp9NAFylc1anr/KpMRts5e+aSq3W/oVP06DR5vXCwglGdE9anr6BQGeL48hcfRX H2YRLJ5fm0x6fgEtNu+8S/AA3t9JVdxdoPiMRuRGtkg06TmkN10jLV4gcAvKkR3X saWbtHvmt26WZJrd64Lv2AB61dmBb2dBzYorRx+f93a1ygam028= =Z+TI -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy-- From unknown Wed Sep 10 13:55:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34480] [PATCH 0/2] Ensure Guix always has 'glibc-utf8-locales' Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Feb 2019 16:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34480 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 34480@debbugs.gnu.org Received: via spool by 34480-submit@debbugs.gnu.org id=B34480.155024828118207 (code B ref 34480); Fri, 15 Feb 2019 16:32:01 +0000 Received: (at 34480) by debbugs.gnu.org; 15 Feb 2019 16:31:21 +0000 Received: from localhost ([127.0.0.1]:49728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gugOW-0004ja-Mk for submit@debbugs.gnu.org; Fri, 15 Feb 2019 11:31:21 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gugOU-0004jS-RN for 34480@debbugs.gnu.org; Fri, 15 Feb 2019 11:31:19 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1550248247; cv=none; d=zoho.com; s=zohoarc; b=ASjJaEcx65nVfujfHurYyGN/41GyHuznITsI05H9YMX4WO/zvhTgjwm3ZRX59Pje4y7aq+RTMhjPArmEWNuUJqygu1nK3ZSrjJqgU55rFBWo8e9oUt4UtAB/kGGnbfWIZy57W7pLuxB6OnTB3j2GXr9g0v93u1fvwaI8DTdESYE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1550248247; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=8idkJ0YZv5+Q5jiZXGtDTYN4TbsbEvzbMuD68s48kn4=; b=Le9ecMlAD2WI+Z1Y+7Ob7dPGUhE8ut+rwHn5PHed3xcK4vkNMkbEHdoxqBTX+3hkuRx7NSbBZbz5yFJT78ychWYIhq4W+R3FTDchVWUNQRpb85atyQXL41ucAGxMmIXSXVc0qbJXJ9DsZRS6WOA43nzWGSWTR9nl+929GTTd4Oc= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1550248247; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1366; bh=8idkJ0YZv5+Q5jiZXGtDTYN4TbsbEvzbMuD68s48kn4=; b=HYft1Spx7RHYkV+RVGZw1YSdHUjuAQfLqJ844zYLMh9My7s+fjtMiJhPogjXt8Ty gZ2BEb3lwDpqo1u1P2d+JEmjHdd4bdtWREHMbORcHFr2phaTLBgdUv+m5DQExW3Tmqy Bq61Hxr6z2oVllE8qUtlj6mIwPYyxB+IGE4QJCTg= Received: from localhost (141.80.247.144 [141.80.247.144]) by mx.zohomail.com with SMTPS id 1550248244914947.5025831143245; Fri, 15 Feb 2019 08:30:44 -0800 (PST) References: <20190214221715.10714-1-ludo@gnu.org> <20190215162533.GA8657@jasmine.lan> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus In-reply-to: <20190215162533.GA8657@jasmine.lan> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 15 Feb 2019 17:30:40 +0100 Message-ID: <87mumxypxr.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Leo Famulari writes: > On Thu, Feb 14, 2019 at 11:17:15PM +0100, Ludovic Court=C3=A8s wrote: >> Hello Guix, >>=20 >> After hearing about so many bad first impressions due to missing locales, >> I decided to bite the bullet. I still don=E2=80=99t consider the approa= ch >> really satisfying, in particular due to the arbitrary locale selection >> in =E2=80=98glibc-utf8-locales=E2=80=99, but the benefits are worth it I= MO (I feel like >> I=E2=80=99ve been too obtuse on this topic, and I=E2=80=99m sorry about = that!). > > Okay, I think it's the right thing to do. We are constantly having to > explain the locales warning on IRC. This ensures that Guix itself works without these warnings. It doesn=E2=80= =99t have an effect on installed applications, though, does it? (That=E2=80=99s= fine.) >> The closure size of the =E2=80=98guix=E2=80=99 package increases like th= is: >>=20 >> --8<---------------cut here---------------start------------->8--- >> $ guix size guix | tail -1 >> total: 354.2 MiB >> $ guix size guix glibc-utf8-locales | tail -1 >> total: 368.0 MiB >> --8<---------------cut here---------------end--------------->8--- >>=20 >> That=E2=80=99s a 4% increase, not that bad. > > It's worth it. I agree. Thank you, Ludo, for reconsidering and implementing this! --=20 Ricardo From unknown Wed Sep 10 13:55:56 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#34480: closed (Re: [bug#34480] [PATCH 0/2] Ensure Guix always has 'glibc-utf8-locales') Message-ID: References: <87d0nsioj7.fsf@gnu.org> <20190214221715.10714-1-ludo@gnu.org> X-Gnu-PR-Message: they-closed 34480 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 34480@debbugs.gnu.org Date: Sat, 16 Feb 2019 00:08:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1550275681-2067-1" This is a multi-part message in MIME format... ------------=_1550275681-2067-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #34480: [PATCH 0/2] Ensure Guix always has 'glibc-utf8-locales' which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 34480@debbugs.gnu.org. --=20 34480: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34480 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1550275681-2067-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 34480-done) by debbugs.gnu.org; 16 Feb 2019 00:07:46 +0000 Received: from localhost ([127.0.0.1]:49908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gunWE-0000Ws-F8 for submit@debbugs.gnu.org; Fri, 15 Feb 2019 19:07:46 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:48672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gunWC-0000Wj-0s for 34480-done@debbugs.gnu.org; Fri, 15 Feb 2019 19:07:45 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8330210355; Sat, 16 Feb 2019 01:07:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gn9kgiWSUV0N; Sat, 16 Feb 2019 01:07:41 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 1F190D4DE; Sat, 16 Feb 2019 01:07:41 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ricardo Wurmus Subject: Re: [bug#34480] [PATCH 0/2] Ensure Guix always has 'glibc-utf8-locales' References: <20190214221715.10714-1-ludo@gnu.org> <20190215162533.GA8657@jasmine.lan> <87mumxypxr.fsf@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 =?utf-8?Q?Pluvi=C3=B4se?= an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 16 Feb 2019 01:07:40 +0100 In-Reply-To: <87mumxypxr.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 15 Feb 2019 17:30:40 +0100") Message-ID: <87d0nsioj7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 34480-done Cc: 34480-done@debbugs.gnu.org, Leo Famulari X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Ricardo Wurmus skribis: > Leo Famulari writes: > >> On Thu, Feb 14, 2019 at 11:17:15PM +0100, Ludovic Court=C3=A8s wrote: >>> Hello Guix, >>>=20 >>> After hearing about so many bad first impressions due to missing locale= s, >>> I decided to bite the bullet. I still don=E2=80=99t consider the appro= ach >>> really satisfying, in particular due to the arbitrary locale selection >>> in =E2=80=98glibc-utf8-locales=E2=80=99, but the benefits are worth it = IMO (I feel like >>> I=E2=80=99ve been too obtuse on this topic, and I=E2=80=99m sorry about= that!). >> >> Okay, I think it's the right thing to do. We are constantly having to >> explain the locales warning on IRC. > > This ensures that Guix itself works without these warnings. It doesn=E2= =80=99t > have an effect on installed applications, though, does it? (That=E2=80= =99s fine.) No it doesn=E2=80=99t; users still have to install =E2=80=98glibc-utf8-loca= les=E2=80=99 or =E2=80=98glibc-locales=E2=80=99 and set GUIX_LOCPATH for those. However it occurred to me that warnings by Guix itself were the most pressing issue: that=E2=80=99s basically the first message Guix would print. >>> The closure size of the =E2=80=98guix=E2=80=99 package increases like t= his: >>>=20 >>> --8<---------------cut here---------------start------------->8--- >>> $ guix size guix | tail -1 >>> total: 354.2 MiB >>> $ guix size guix glibc-utf8-locales | tail -1 >>> total: 368.0 MiB >>> --8<---------------cut here---------------end--------------->8--- >>>=20 >>> That=E2=80=99s a 4% increase, not that bad. >> >> It's worth it. > > I agree. > > Thank you, Ludo, for reconsidering and implementing this! Done! ba48895899 self: Bundle 'glibc-utf8-locales'. 8a973abc6f gnu: guix: Embed 'glibc-utf8-locales'. Thank you, Ludo=E2=80=99. ------------=_1550275681-2067-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Feb 2019 22:18:01 +0000 Received: from localhost ([127.0.0.1]:48449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guPKS-0006zP-VO for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:18:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guPKR-0006zB-Dj for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:17:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:53192) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1guPKG-0004lV-V1 for submit@debbugs.gnu.org; Thu, 14 Feb 2019 17:17:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guPKG-0003kO-58 for guix-patches@gnu.org; Thu, 14 Feb 2019 17:17:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guPKC-0004i7-9J for guix-patches@gnu.org; Thu, 14 Feb 2019 17:17:48 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:42020) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1guPKA-0004dP-Ll; Thu, 14 Feb 2019 17:17:44 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 67B13FCCB; Thu, 14 Feb 2019 23:17:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xO9yqrx4pg2p; Thu, 14 Feb 2019 23:17:38 +0100 (CET) Received: from gnu.org (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6943BFBC9; Thu, 14 Feb 2019 23:17:38 +0100 (CET) From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: guix-patches@gnu.org Subject: [PATCH 0/2] Ensure Guix always has 'glibc-utf8-locales' Date: Thu, 14 Feb 2019 23:17:15 +0100 Message-Id: <20190214221715.10714-1-ludo@gnu.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a0c:e300::1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Guix, After hearing about so many bad first impressions due to missing locales, I decided to bite the bullet. I still don=E2=80=99t consider the approac= h really satisfying, in particular due to the arbitrary locale selection in =E2=80=98glibc-utf8-locales=E2=80=99, but the benefits are worth it IM= O (I feel like I=E2=80=99ve been too obtuse on this topic, and I=E2=80=99m sorry about t= hat!). The closure size of the =E2=80=98guix=E2=80=99 package increases like thi= s: --8<---------------cut here---------------start------------->8--- $ guix size guix | tail -1 total: 354.2 MiB $ guix size guix glibc-utf8-locales | tail -1 total: 368.0 MiB --8<---------------cut here---------------end--------------->8--- That=E2=80=99s a 4% increase, not that bad. Something that would be worth looking into is how much space it would tak= e to have all the supported UTF-8 locales in that package. Thoughts? Ludo=E2=80=99. Ludovic Court=C3=A8s (2): self: Bundle 'glibc-utf8-locales'. gnu: guix: Embed 'glibc-utf8-locales'. gnu/packages/package-management.scm | 12 +++++++++--- guix/self.scm | 14 ++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) --=20 2.20.1 ------------=_1550275681-2067-1--