From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#27894: Building Guix fails without '/etc/services' Date: Tue, 1 Aug 2017 15:39:19 -0400 Message-ID: <20170801193919.GA31569@jasmine.lan> References: <20170801002358.GA1481@jasmine.lan> <87mv7jr453.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcd1S-0001Rr-4I for bug-guix@gnu.org; Tue, 01 Aug 2017 15:40:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcd1P-0006Xt-0N for bug-guix@gnu.org; Tue, 01 Aug 2017 15:40:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34608) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcd1O-0006Xa-SU for bug-guix@gnu.org; Tue, 01 Aug 2017 15:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dcd1O-0000zz-LZ for bug-guix@gnu.org; Tue, 01 Aug 2017 15:40:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87mv7jr453.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27894-done@debbugs.gnu.org On Tue, Aug 01, 2017 at 12:09:12PM +0200, Ludovic Courtès wrote: > 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 “make”, which in turn runs > build-aux/download.scm, right? > > If so, I think this can be worked around with: > > 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" > > However, the whole point of /etc/services is so that application writers > don’t have to hard-code port number everywhere. So I’d be tempted to > say this is not a bug. > > WDYT? I think it's fair to say it's not a bug. Perhaps if we get more reports from users of this system we can reconsider.