From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27894: Building Guix fails without '/etc/services' Date: Tue, 01 Aug 2017 12:09:12 +0200 Message-ID: <87mv7jr453.fsf@gnu.org> References: <20170801002358.GA1481@jasmine.lan> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcU7q-0006Ni-JX for bug-guix@gnu.org; Tue, 01 Aug 2017 06:10:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcU7m-0001oY-EQ for bug-guix@gnu.org; Tue, 01 Aug 2017 06:10:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33457) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcU7m-0001oQ-Aj for bug-guix@gnu.org; Tue, 01 Aug 2017 06:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dcU7m-0007Ut-03 for bug-guix@gnu.org; Tue, 01 Aug 2017 06:10:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170801002358.GA1481@jasmine.lan> (Leo Famulari's message of "Mon, 31 Jul 2017 20:23:58 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 27894@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Leo Famulari skribis: > On a system that lacks '/etc/services' (CoreOS), building Guix from > source fails because getaddrinfo() doesn't know how to proceed: > > ERROR: In procedure getaddrinfo: Servname not supported for ai_socktype > > I worked around this issue by downloading the binaries by hand with > curl. You get the error above when running =E2=80=9Cmake=E2=80=9D, which in turn = runs build-aux/download.scm, right? If so, I think this can be worked around with: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/build-aux/download.scm b/build-aux/download.scm index 8dfa91460..5cb2491dc 100644 --- a/build-aux/download.scm +++ b/build-aux/download.scm @@ -31,7 +31,7 @@ (guix hash)) (define %url-base - "http://alpha.gnu.org/gnu/guix/bootstrap" + "http://alpha.gnu.org:80/gnu/guix/bootstrap" ;; Alternately: ;;"http://www.fdn.fr/~lcourtes/software/guix/packages" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable However, the whole point of /etc/services is so that application writers don=E2=80=99t have to hard-code port number everywhere. So I=E2=80=99d be = tempted to say this is not a bug. WDYT? Ludo=E2=80=99. --=-=-=--