[Nix-dev] guile 2.0.7 test suite fails without IPv6 support

Eelco Dolstra eelco.dolstra at logicblox.com
Mon Apr 8 11:36:57 CEST 2013


Hi,

On 08/04/13 01:07, Peter Simons wrote:

> the test suite for guile-2.0.7 fails on my machine, complaining:
> 
>   ERROR: socket.test: AF_INET6/SOCK_STREAM: bind - arguments: ((system-error "bind" "~A" ("Cannot assign requested address") (99)))
>   ERROR: socket.test: AF_INET6/SOCK_STREAM: bind/sockaddr - arguments: ((system-error "bind" "~A" ("Cannot assign requested address") (99)))
> 
> This looks to me like the build requires IPv6 support -- which my
> machine doesn't have.

Heh, that's an impurity I haven't seen before :-)

> An obvious way to hack around this issue is to
> disable the test suite, but that's not really satisfactory. Is there
> another, less intrusive solution?

Well, the obvious solution is to enable IPv6 on your system...

OTOH, the error message suggests that the test tries to bind to a local port,
which is inherently impure since another build might try to do the same thing at
the same time.  So I guess that test really should be disabled.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list