From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Date: Thu, 06 Jun 2019 17:38:16 +0200 Message-ID: <87y32elo5z.fsf@gnu.org> References: <87o93ct006.fsf@roquette.mug.biscuolo.net> <87imtjt79n.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYuTn-0006S4-NM for bug-guix@gnu.org; Thu, 06 Jun 2019 11:39:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYuTm-0007gN-Oy for bug-guix@gnu.org; Thu, 06 Jun 2019 11:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYuTm-0007fQ-IL for bug-guix@gnu.org; Thu, 06 Jun 2019 11:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hYuTm-0005rG-BO for bug-guix@gnu.org; Thu, 06 Jun 2019 11:39:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87imtjt79n.fsf@roquette.mug.biscuolo.net> (Giovanni Biscuolo's message of "Thu, 06 Jun 2019 11:03:48 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Giovanni Biscuolo Cc: 36076@debbugs.gnu.org Hi Giovanni, Giovanni Biscuolo skribis: > You are right, I overlooked that: I removed glibc-utf8-locales from my > user profile, I just have glibc-locales now: > > ~$ ls -lah /var/guix/profiles/per-user/giovanni/guix-profile/lib/locale/2= .28/ | grep en_US > dr-xr-xr-x 3 root root 4.0K Jan 1 1970 en_US > dr-xr-xr-x 3 root root 4.0K Jan 1 1970 en_US.UTF-8 D=E2=80=99oh! > In fact make-glibc-locales in base.scm "just" installs all locales in > "not normalized codeset" with: > > [...] > (replace 'build > (lambda _ > (invoke "make" "localedata/install-locales" > "-j" (number->string (parallel-job-count))))) We should fix it, notably because libc automatically falls back to the normalized codeset (that is, if you choose =E2=80=9Cen_US.uTF--8=E2=80=9D, = it eventually tries to read data for =E2=80=9Cen_US.utf8=E2=80=9D.) I wonder why the =E2=80=98install-locales=E2=80=99 rule doesn=E2=80=99t to it. The =E2=80=9Cnormalized codeset=E2=80=9D is described in the libc manual (i= nfo "(libc) Using gettextized software") and (info "(libc) Locale Names"). Anyway, I=E2=80=99ve posted patches to refactor things a bit and to create = those symlinks in =E2=80=98glibc-locales=E2=80=99: https://issues.guix.gnu.org/issue/36116 Let me know what you think. Thanks! Ludo=E2=80=99.