[email protected] 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’.
