From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales Date: Mon, 09 Mar 2020 18:02:40 +0100 Message-ID: <8736ah1mxb.fsf@gnu.org> References: <20200307120052.ocwzphlvemvmb2ts@pelzflorian.localdomain> <20200307152003.myj7jkjthokbmark@pelzflorian.localdomain> <20200308070804.ylpb5yrwpgbc3p3w@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55276) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBLnz-0002f8-5I for bug-guix@gnu.org; Mon, 09 Mar 2020 13:03:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBLny-0007As-4q for bug-guix@gnu.org; Mon, 09 Mar 2020 13:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45433) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBLny-0007Am-1c for bug-guix@gnu.org; Mon, 09 Mar 2020 13:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBLnx-0002UU-Ss for bug-guix@gnu.org; Mon, 09 Mar 2020 13:03:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20200308070804.ylpb5yrwpgbc3p3w@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Sun, 8 Mar 2020 08:08:04 +0100") 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-mx.org@gnu.org Sender: "bug-Guix" To: "pelzflorian (Florian Pelz)" Cc: 39970@debbugs.gnu.org Hi Florian, "pelzflorian (Florian Pelz)" skribis: > This seems similar to . Yes, same story. > I think enumerating all characters explicitly is a similar fix, > whether or not there is a bug in Guile. To me it=E2=80=99s not a bug in Guile, but simply the fact that regexps, as implemented by the C library, are locale-dependent. The patch you proposed looks good to me, though perhaps we could explicitly list all the alphabet in the regexp? A better option is to reimplement =E2=80=98store-path-package-name=E2=80=99= in a way similar to =E2=80=98store-path-hash-part=E2=80=99, as in commit 35eb77b09d957019b2437e7681bd88013d67d3cd. Thoughts? Ludo=E2=80=99.