From unknown Fri Sep 05 08:41:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18085: libc locales moved to separate package Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 22 Jul 2014 21:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18085 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 18085@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14060655946411 (code B ref -1); Tue, 22 Jul 2014 21:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jul 2014 21:46:34 +0000 Received: from localhost ([127.0.0.1]:34969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X9htF-0001fE-Js for submit@debbugs.gnu.org; Tue, 22 Jul 2014 17:46:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54069) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X9ht9-0001ep-Hr for submit@debbugs.gnu.org; Tue, 22 Jul 2014 17:46:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9hsv-00088A-4o for submit@debbugs.gnu.org; Tue, 22 Jul 2014 17:46:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9hsv-000886-1c for submit@debbugs.gnu.org; Tue, 22 Jul 2014 17:46:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9hsl-0005Le-RE for bug-guix@gnu.org; Tue, 22 Jul 2014 17:46:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9hsc-00084I-M7 for bug-guix@gnu.org; Tue, 22 Jul 2014 17:45:59 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:38446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9hsc-00084D-FD for bug-guix@gnu.org; Tue, 22 Jul 2014 17:45:50 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DFF44323D for ; Tue, 22 Jul 2014 23:45:48 +0200 (CEST) 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 P0HfvtUg0QDM for ; Tue, 22 Jul 2014 23:45:48 +0200 (CEST) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 8F61453E for ; Tue, 22 Jul 2014 23:45:48 +0200 (CEST) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 Thermidor an 222 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Tue, 22 Jul 2014 23:45:47 +0200 Message-ID: <8738dtrrsk.fsf@gnu.org> User-Agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The =E2=80=98locales=E2=80=99 output of libc is huge, and contains way more= locale data than anyone needs. We should follow roughly what other distros do, that is: =E2=80=A2 Provide just 1 or 2 locales by default, in the =E2=80=98locales= =E2=80=99 output (say en_US.utf8 and en_US.iso88591). =E2=80=A2 Add a parametric package that builds the specified locales, whi= ch users can choose to install and add to their $LOCPATH. The big =E2=80=98locale-archive=E2=80=99 will actually be ignored when $LOC= PATH is set, as per locale/findlocale.c: --=-=-= Content-Type: text/x-csrc Content-Disposition: inline /* We really have to load some data. First we try the archive, but only if there was no LOCPATH environment variable specified. */ if (__glibc_likely (locale_path == NULL)) { struct __locale_data *data = _nl_load_locale_from_archive (category, name); --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpMdWRv4oCZLg0K --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 23 10:20:29 2014 Received: (at control) by debbugs.gnu.org; 23 Jul 2014 14:20:29 +0000 Received: from localhost ([127.0.0.1]:35707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X9xP6-0001Ij-Ea for submit@debbugs.gnu.org; Wed, 23 Jul 2014 10:20:29 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:63995) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X9xP0-0001I5-DE for control@debbugs.gnu.org; Wed, 23 Jul 2014 10:20:23 -0400 X-IronPort-AV: E=Sophos;i="5.01,717,1400018400"; d="scan'208";a="86660236" Received: from reverse-83.fdn.fr (HELO pluto) ([80.67.176.83]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-SHA; 23 Jul 2014 16:20:11 +0200 Date: Wed, 23 Jul 2014 16:20:11 +0200 Message-Id: <87k374taw4.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #18085 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.0 (----) severity 18085 wishlist From unknown Fri Sep 05 08:41:22 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#18085: closed (Re: bug#18085: libc locales moved to separate package) Message-ID: References: <878udmq5v3.fsf@gnu.org> <8738dtrrsk.fsf@gnu.org> X-Gnu-PR-Message: they-closed 18085 X-Gnu-PR-Package: guix Reply-To: 18085@debbugs.gnu.org Date: Mon, 20 Apr 2015 13:37:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1429537024-13007-1" This is a multi-part message in MIME format... ------------=_1429537024-13007-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #18085: libc locales moved to separate package which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 18085@debbugs.gnu.org. --=20 18085: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D18085 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1429537024-13007-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 18085-done) by debbugs.gnu.org; 20 Apr 2015 13:36:25 +0000 Received: from localhost ([127.0.0.1]:33176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkBs8-0003Mt-40 for submit@debbugs.gnu.org; Mon, 20 Apr 2015 09:36:24 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:42239 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkBs3-0003Mh-8h for 18085-done@debbugs.gnu.org; Mon, 20 Apr 2015 09:36:19 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:48379 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YkBs2-0007Ez-Hw for 18085-done@debbugs.gnu.org; Mon, 20 Apr 2015 09:36:18 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: 18085-done@debbugs.gnu.org Subject: Re: bug#18085: libc locales moved to separate package References: <8738dtrrsk.fsf@gnu.org> Date: Mon, 20 Apr 2015 15:36:16 +0200 In-Reply-To: <8738dtrrsk.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 22 Jul 2014 23:45:47 +0200") Message-ID: <878udmq5v3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 18085-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > The =E2=80=98locales=E2=80=99 output of libc is huge, and contains way mo= re locale data > than anyone needs. This was done in Nov. 2014, commit 97e1120. Ludo=E2=80=99. ------------=_1429537024-13007-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Jul 2014 21:46:34 +0000 Received: from localhost ([127.0.0.1]:34969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X9htF-0001fE-Js for submit@debbugs.gnu.org; Tue, 22 Jul 2014 17:46:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54069) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X9ht9-0001ep-Hr for submit@debbugs.gnu.org; Tue, 22 Jul 2014 17:46:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9hsv-00088A-4o for submit@debbugs.gnu.org; Tue, 22 Jul 2014 17:46:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9hsv-000886-1c for submit@debbugs.gnu.org; Tue, 22 Jul 2014 17:46:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9hsl-0005Le-RE for bug-guix@gnu.org; Tue, 22 Jul 2014 17:46:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9hsc-00084I-M7 for bug-guix@gnu.org; Tue, 22 Jul 2014 17:45:59 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:38446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9hsc-00084D-FD for bug-guix@gnu.org; Tue, 22 Jul 2014 17:45:50 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DFF44323D for ; Tue, 22 Jul 2014 23:45:48 +0200 (CEST) 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 P0HfvtUg0QDM for ; Tue, 22 Jul 2014 23:45:48 +0200 (CEST) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 8F61453E for ; Tue, 22 Jul 2014 23:45:48 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: bug-guix@gnu.org Subject: libc locales moved to separate package X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 Thermidor an 222 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Tue, 22 Jul 2014 23:45:47 +0200 Message-ID: <8738dtrrsk.fsf@gnu.org> User-Agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The =E2=80=98locales=E2=80=99 output of libc is huge, and contains way more= locale data than anyone needs. We should follow roughly what other distros do, that is: =E2=80=A2 Provide just 1 or 2 locales by default, in the =E2=80=98locales= =E2=80=99 output (say en_US.utf8 and en_US.iso88591). =E2=80=A2 Add a parametric package that builds the specified locales, whi= ch users can choose to install and add to their $LOCPATH. The big =E2=80=98locale-archive=E2=80=99 will actually be ignored when $LOC= PATH is set, as per locale/findlocale.c: --=-=-= Content-Type: text/x-csrc Content-Disposition: inline /* We really have to load some data. First we try the archive, but only if there was no LOCPATH environment variable specified. */ if (__glibc_likely (locale_path == NULL)) { struct __locale_data *data = _nl_load_locale_from_archive (category, name); --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpMdWRv4oCZLg0K --=-=-=-- ------------=_1429537024-13007-1--