Andreas Enge <[email protected]> skribis: > Now I get the following error: > Backtrace: > In ice-9/boot-9.scm: > 157: 5 [catch #t #<catch-closure ca1780> ...] > In unknown file: > ?: 4 [apply-smob/1 #<catch-closure ca1780>] > In ice-9/boot-9.scm: > 63: 3 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 421: 2 [eval # #] > In /home/privat/.guix-profile/bin/guild: > 54: 1 [main ("/home/privat/.guix-profile/bin/guild" "compile" "-L" ...)] > In unknown file: > ?: 0 [setlocale 6 ""] > > ERROR: In procedure setlocale: > ERROR: In procedure setlocale: Invalid argument > make[2]: *** [guix/base32.go] Fehler 1 > > The lines in guild around the error are: > (if (defined? 'setlocale) > (setlocale LC_ALL "")) > If I replace this by > (if (defined? 'setlocale) > (setlocale LC_ALL "C")) > compilation succeeds. A bug in guile/guild?
Yes. Fixed at <http://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=e2c6bf3866d1186c60bacfbd4fe5037087ee5e3f>. The core problem is that our glibc doesn’t install locale data (nor timezone data). Something to be fixed in the next core-updates. Ludo’.
