GNU bug report logs - #35785
'string->uri' fails in sv_SE locale

Previous Next

Package: guile;

Reported by: Einar Largenius <einar.largenius <at> gmail.com>

Date: Fri, 17 May 2019 21:21:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Einar Largenius <einar.largenius <at> gmail.com>
Subject: bug#35785: closed (Re: bug#35785: ‘string->uri’
 is locale-dependent and breaks in ‘sv_SE’)
Date: Tue, 04 Jun 2019 19:27:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#35785: 'string->uri' fails in sv_SE locale

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 35785 <at> debbugs.gnu.org.

-- 
35785: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35785
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Timothy Sample <samplet <at> ngyro.com>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, 35785-done <at> debbugs.gnu.org,
 Einar Largenius <einar.largenius <at> gmail.com>
Subject: Re: bug#35785: ‘string->uri’ is
 locale-dependent and breaks in ‘sv_SE’
Date: Tue, 04 Jun 2019 21:26:25 +0200
Hi!

Timothy Sample <samplet <at> ngyro.com> skribis:

> From 9ac8643e5315d4baaddb93ee246ba8db0b3448ab Mon Sep 17 00:00:00 2001
> From: Timothy Sample <samplet <at> ngyro.com>
> Date: Sun, 2 Jun 2019 14:41:20 -0400
> Subject: [PATCH] Make URI handling locale independent.
>
> Fixes <https://bugs.gnu.org/35785>.
>
> * module/web/uri.scm (digits, hex-digits, letters): New variables.
> (ipv4-regexp, ipv6-regexp, domain-label-regexp, top-label-regexp,
> userinfo-pat, host-pat, ipv6-host-pat, port-pat, scheme-pat): Explicitly
> list each character instead of using character ranges.
> * test-suite/tests/web-uri.test: Add corresponding tests.

Perfect; pushed to the ‘stable-2.2’ branch as
420c2632bb1f48e492a035c1d216f209734f45e6.

We got a notification from the FSF that they received your copyright
assignment request too, so everything is on track.

Thank you!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Einar Largenius <einar.largenius <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: guix won't download if locale is set to swedish
Date: Fri, 17 May 2019 22:03:53 +0200
Hello.

I just downloaded guix and installed it. In my config I have this line:

    (locale "sv_SE.utf8")

If I run 'guix pull' I get the error:

    guix pull: error: lstat: Filen eller katalogen finns inte: "ftp://sourceware.org/pub/libffi-3.2.1.tar.gz"

The part in swedish means "file or directory does not exist".

'LANG= guix pull' works without issue.



This bug report was last modified 6 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.