Subject: Re: bug#16463: Guile derivation fails to build

From: [email-masked] (Ludovic Courtès)
Date: Fri, 17 Jan 2014 00:32:24 +0100

Sree Harsha Totakura <[email-masked]> skribis:

> Guile derivation seems to fail during `make check`.  I am not sure why
> Guile is even being built; all I did was to execute `guix package
> install=hello`.  Perhaps guile is one of the (indirect) dependencies for
> hello?

Yes, it’s a dependency for everything.  See the “Bootstrapping” node of
the manual.

> and hydra.gnu.org was unresponsive for some reason..

Yes, that’s often the case unfortunately, but it just means it’s a bit
slow.

> make[5]: Entering directory '/tmp/nix-build-guile-2.0.9.drv-0/guile-2.0.9/test-suite/standalone'
> PASS: test-system-cmds
> PASS: test-bad-identifiers
> PASS: test-require-extension
> PASS: test-guile-snarf
> PASS: test-import-order
> PASS: test-command-line-encoding
> Backtrace:
> In ice-9/boot-9.scm:
>  157: 8 [catch #t #<catch-closure 204dd80> ...]
> In unknown file:
>    ?: 7 [apply-smob/1 #<catch-closure 204dd80>]
> In ice-9/boot-9.scm:
>   63: 6 [call-with-prompt prompt0 ...]
> In ice-9/eval.scm:
>  432: 5 [eval # #]
> In ice-9/boot-9.scm:
> 2320: 4 [save-module-excursion #<procedure 207ccc0 at ice-9/boot-9.scm:3961:3 ()>]
> 3966: 3 [#<procedure 207ccc0 at ice-9/boot-9.scm:3961:3 ()>]
> 1645: 2 [%start-stack load-stack ...]
> 1650: 1 [#<procedure 207b060 ()>]
> In unknown file:
>    ?: 0 [primitive-load "/tmp/nix-build-guile-2.0.9.drv-0/guile-2.0.9/test-suite/standalone/test-command-line-encoding2"]
>
> ERROR: In procedure primitive-load:
> ERROR: In procedure open_iconv_descriptors: invalid or unknown character encoding "ISO-"
> FAIL: test-command-line-encoding2

This is very weird.  Is it reproducible?  Does ‘guix-daemon’ use the
chroot, separate name spaces, and separate build users?

Does this fail in the same way?

  guix build -e '(@ (gnu packages base) guile-final)' -n

TIA,
Ludo’.