guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sockets availability during build


From: Ludovic Courtès
Subject: Re: sockets availability during build
Date: Fri, 23 Jan 2015 09:38:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Federico Beffa <address@hidden> skribis:

> I'm working on libupnp. The 'check phase gives the following error:
>
> Initializing UPnP ...
> ** ERROR UpnpInit(): -208 UPNP_E_SOCKET_ERROR
> FAIL: test_init
>
> In spite of this, if I "guix environment" and run the test binary it succeeds:
>
> Initializing UPnP ...
> UPnP Initialized OK ip=192.168.0.5, port=49152

I suspect the IP shown above is the result of:

  (getaddrinfo (gethostname))

or something like that.  DNS lookups don’t work in the chroot, except
for “localhost”, so you may have to patch tests that rely on this.
Sockets themselves should work fine.

HTH,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]