bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2021-05-05 Thread pelzflorian (Florian Pelz)
On Wed, May 05, 2021 at 12:47:02AM -0400, Maxim Cournoyer wrote: > Closing. > > Thank you, > > Maxim Sorry for forgetting about this bug. The above LC_ALL=tr_TR.utf8 make check TESTS=tests/cran.scm is *not* fixed, but I won’t take the time to really understand and fix the few remaining troubl

bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2021-05-05 Thread Taylan Kammer
On 12.03.2020 12:02, pelzflorian (Florian Pelz) wrote: > > Guile’s behavior that i is not among [a-z] has been confirmed as > unexpected by a natively Turkish friend of mine. It is different from > the behavior of current glibc: > > florian@florianmacbook ~$ cat iyiyim.c > #include > #include

bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2021-05-04 Thread Maxim Cournoyer
"pelzflorian (Florian Pelz)" writes: > On Tue, Mar 17, 2020 at 10:20:01PM +0100, Ludovic Courtès wrote: >> "pelzflorian (Florian Pelz)" skribis: >> > `LC_ALL=tr_TR.utf8 make check` is still very unhappy though. >> > There are many failures. I will continue to investigate later today. >> >> OK.

bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2020-03-18 Thread Ludovic Courtès
"pelzflorian (Florian Pelz)" skribis: > On Tue, Mar 17, 2020 at 10:20:01PM +0100, Ludovic Courtès wrote: >> "pelzflorian (Florian Pelz)" skribis: >> > `LC_ALL=tr_TR.utf8 make check` is still very unhappy though. >> > There are many failures. I will continue to investigate later today. >> >> OK

bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2020-03-17 Thread pelzflorian (Florian Pelz)
On Tue, Mar 17, 2020 at 10:20:01PM +0100, Ludovic Courtès wrote: > "pelzflorian (Florian Pelz)" skribis: > > `LC_ALL=tr_TR.utf8 make check` is still very unhappy though. > > There are many failures. I will continue to investigate later today. > > OK. The tests fail to many other uses of [a-z] i

bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2020-03-17 Thread Ludovic Courtès
Hi, "pelzflorian (Florian Pelz)" skribis: > On Thu, Mar 12, 2020 at 05:05:26PM +0100, Ludovic Courtès wrote: >> "pelzflorian (Florian Pelz)" skribis: >> > Why would not using a regexp be better? >> >> It reduces reliance on libc, reduces complexity, and performs better as >> noted in the commi

bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2020-03-17 Thread pelzflorian (Florian Pelz)
On Thu, Mar 12, 2020 at 05:05:26PM +0100, Ludovic Courtès wrote: > "pelzflorian (Florian Pelz)" skribis: > > Why would not using a regexp be better? > > It reduces reliance on libc, reduces complexity, and performs better as > noted in the commit log of 35eb77b09d957019b2437e7681bd88013d67d3cd.

bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2020-03-12 Thread Ludovic Courtès
Hi Florian, "pelzflorian (Florian Pelz)" skribis: > On Mon, Mar 09, 2020 at 06:02:40PM +0100, Ludovic Courtès wrote: >> To me it’s not a bug in Guile, but simply the fact that regexps, as >> implemented by the C library, are locale-dependent. >> > > (use-modules (ice-9 regex)) > (regexp-exec (m

bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2020-03-12 Thread pelzflorian (Florian Pelz)
On Mon, Mar 09, 2020 at 06:02:40PM +0100, Ludovic Courtès wrote: > To me it’s not a bug in Guile, but simply the fact that regexps, as > implemented by the C library, are locale-dependent. > (use-modules (ice-9 regex)) (regexp-exec (make-regexp "^([a-z]+)$") "iyiyim") ⇒ #f Guile’s b

bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2020-03-09 Thread Ludovic Courtès
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’s not a bug in Guile, but simply the fact that regexps,

bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2020-03-07 Thread pelzflorian (Florian Pelz)
This seems similar to . I think enumerating all characters explicitly is a similar fix, whether or not there is a bug in Guile. Regards, Florian

bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2020-03-07 Thread pelzflorian (Florian Pelz)
On Sat, Mar 07, 2020 at 01:00:52PM +0100, pelzflorian (Florian Pelz) wrote: > Running guix via ./pre-inst-env gives a more useful backtrace. The > reason is that in guix/store.scm > > (use-modules (ice-9 regex)) > (regexp-exec (make-regexp "^/gnu/store/([0-9a-df-np-sv-z]{32})-([^/]+)$") >

bug#39970: guix commands broken on Azerbaijani 'az_AZ' and Turkish 'tr_TR' locales

2020-03-07 Thread pelzflorian (Florian Pelz)
After running export LC_ALL=tr_TR.utf8 many important Guix commands like 'guix environment', 'guix install' and 'guix pull' fail. $ guix environment --ad-hoc hello Backtrace: 1 (primitive-load "/home/florian/.config/guix/current/bin…") In guix/ui.scm: 1826:12 0 (run-guix-command _