From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: sockets availability during build Date: Thu, 22 Jan 2015 21:29:18 +0100 Message-ID: <20150122202918.GA12207@intra> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEONl-00074C-Rd for guix-devel@gnu.org; Thu, 22 Jan 2015 15:29:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEONh-0003bK-S6 for guix-devel@gnu.org; Thu, 22 Jan 2015 15:29:37 -0500 Received: from de.cellform.com ([88.217.224.109]:56042 helo=jocasta.intra) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEONh-0003ZP-Fp for guix-devel@gnu.org; Thu, 22 Jan 2015 15:29:33 -0500 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Federico Beffa Cc: Guix-devel --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 22, 2015 at 08:54:11PM +0100, Federico Beffa wrote: Hi, =20 I'm working on libupnp. The 'check phase gives the following error: =20 Initializing UPnP ... ** ERROR UpnpInit(): -208 UPNP_E_SOCKET_ERROR FAIL: test_init =20 In spite of this, if I "guix environment" and run the test binary it s= ucceeds: =20 Initializing UPnP ... UPnP Initialized OK ip=3D192.168.0.5, port=3D49152 =20 I suppose that sockets can't be accessed during the build phase. Is that correct? local sockets (AF_UNIX) can be. But the only Internet sockets accessible a= re those on the local (lo) interface. All other interfaces are disabled. J' --=20 PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlTBXZ0ACgkQimdxnC3oJ7PYcgCghYe8u5mm44xwhA9r1O5VTFKw BH8An0td+wzLF+RL+LxPg/1r0KdQlMvO =3Bqq -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--