unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16952: Failing locale
@ 2014-03-06 10:28 pjotr.public12
  2014-03-06 22:45 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: pjotr.public12 @ 2014-03-06 10:28 UTC (permalink / raw)
  To: 16952

I am trying to install guix on Debian. I am getting a locale conversion error:

make
/usr/bin/guile --no-auto-compile -c                             \
          "(use-modules (rnrs io ports))                        \
           (call-with-output-file \"nix/libstore/schema.sql.hh\"                        \
             (lambda (out)                                      \
               (call-with-input-file \"nix/libstore/schema.sql\"                        \
                 (lambda (in)                                   \
                   (write (get-string-all in) out)))))"
Backtrace:
In ice-9/boot-9.scm:
 149: 2 [catch #t #<catch-closure b9ca00> ...]
 157: 1 [#<procedure b380f0 ()>]
In unknown file:
   ?: 0 [catch-closure]

ERROR: In procedure catch-closure:
ERROR: Throw to key `decoding-error' with args `("scm_from_stringn" "input locale conversion error" 22 #vu8(40 117 115 101 45 109 111 100 117 108 101 115 32 40 114 110 114 115 32 105 111 32 112 111 114 116 115 41 41 9 9 9 32 32 32 40 99 97 108 108 45 119 105 116 104 45 111 117 116 112 117 116 45 102 105 108 101 32 34 110 105 120 47 108 105 98 115 116 111 114 101 47 115 99 104 101 109 97 46 115 113 108 46 104 104 34 9 9 9 32 32 32 32 32 40 108 97 109 98 100 97 32 40 111 117 116 41 9 9 9 9 9 32 32 32 32 32 32 32 40 99 97 108 108 45 119 105 116 104 45 105 110 112 117 116 45 102 105 108 101 32 34 110 105 120 47 108 105 98 115 116 111 114 101 47 115 99 104 101 109 97 46 115 113 108 34 9 9 9 32 32 32 32 32 32 32 32 32 40 108 97 109 98 100 97 32 40 105 110 41 9 9 9 9 9 32 32 32 32 32 32 32 32 32 
 32 32 40 119 114 105 116 101 32 40 103 101 116 45 115 116 114 105 110 103 45 97 108 108 32 105 110 41 32 111 117 116 41 41 41 41 41))'.

The locale says

LANG=en_GB
LANGUAGE=
LC_CTYPE="en_GB"
LC_NUMERIC="en_GB"
LC_TIME="en_GB"
LC_COLLATE="en_GB"
LC_MONETARY="en_GB"
LC_MESSAGES="en_GB"
LC_PAPER="en_GB"
LC_NAME="en_GB"
LC_ADDRESS="en_GB"
LC_TELEPHONE="en_GB"
LC_MEASUREMENT="en_GB"
LC_IDENTIFICATION="en_GB"
LC_ALL=en_GB

Any idea? 

Pj.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#16952: Failing locale
  2014-03-06 10:28 bug#16952: Failing locale pjotr.public12
@ 2014-03-06 22:45 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2014-03-06 22:45 UTC (permalink / raw)
  To: pjotr.public12; +Cc: 16952-done

pjotr.public12@thebird.nl skribis:

> I am trying to install guix on Debian. I am getting a locale conversion error:
>
> make
> /usr/bin/guile --no-auto-compile -c                             \
>           "(use-modules (rnrs io ports))                        \
>            (call-with-output-file \"nix/libstore/schema.sql.hh\"                        \
>              (lambda (out)                                      \
>                (call-with-input-file \"nix/libstore/schema.sql\"                        \
>                  (lambda (in)                                   \
>                    (write (get-string-all in) out)))))"
> Backtrace:
> In ice-9/boot-9.scm:
>  149: 2 [catch #t #<catch-closure b9ca00> ...]
>  157: 1 [#<procedure b380f0 ()>]
> In unknown file:
>    ?: 0 [catch-closure]
>
> ERROR: In procedure catch-closure:
> ERROR: Throw to key `decoding-error' with args `("scm_from_stringn" "input locale conversion error" 22 #vu8(40 117 115 101 45 109 111 100 117 108 101 115 32 40 114 110 114 115 32 105 111 32 112 111 114 116 115 41 41 9 9 9 32 32 32 40 99 97 108 108 45 119 105 116 104 45 111 117 116 112 117 116 45 102 105 108 101 32 34 110 105 120 47 108 105 98 115 116 111 114 101 47 115 99 104 101 109 97 46 115 113 108 46 104 104 34 9 9 9 32 32 32 32 32 40 108 97 109 98 100 97 32 40 111 117 116 41 9 9 9 9 9 32 32 32 32 32 32 32 40 99 97 108 108 45 119 105 116 104 45 105 110 112 117 116 45 102 105 108 101 32 34 110 105 120 47 108 105 98 115 116 111 114 101 47 115 99 104 101 109 97 46 115 113 108 34 9 9 9 32 32 32 32 32 32 32 32 32 40 108 97 109 98 100 97 32 40 105 110 41 9 9 9 9 9 32 32 32 32 32 32 32 32 32 32 32 40 119 114 105 116 101 32 40 103 101 116 45 115 116 114 105 110 103 45 97 108 108 32 105 110 41 32 111 117 116 41 41 41 41 41))'.
>
> The locale says
>
> LANG=en_GB

I think this is an instance of <http://bugs.gnu.org/10742>.

You can work around it either by upgrading Guile, or by using a locale
name that specifies its encoding, such as ‘en_GB.UTF-8’.

Can you confirm?

(I’m closing the bug, but do reopen it if I got it wrong.)

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-06 22:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-06 10:28 bug#16952: Failing locale pjotr.public12
2014-03-06 22:45 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).