all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Leo Famulari <leo@famulari.name>
Cc: 27894@debbugs.gnu.org
Subject: bug#27894: Building Guix fails without '/etc/services'
Date: Tue, 01 Aug 2017 12:09:12 +0200	[thread overview]
Message-ID: <87mv7jr453.fsf@gnu.org> (raw)
In-Reply-To: <20170801002358.GA1481@jasmine.lan> (Leo Famulari's message of "Mon, 31 Jul 2017 20:23:58 -0400")

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

Leo Famulari <leo@famulari.name> 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:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 391 bytes --]

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"

[-- Attachment #3: Type: text/plain, Size: 196 bytes --]


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?

Ludo’.

  reply	other threads:[~2017-08-01 10:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-01  0:23 bug#27894: Building Guix fails without '/etc/services' Leo Famulari
2017-08-01 10:09 ` Ludovic Courtès [this message]
2017-08-01 19:39   ` Leo Famulari
2020-02-11 20:10 ` Jonathan Brielmaier
2020-02-11 20:40   ` Julien Lepiller
2020-02-11 20:50     ` Jonathan Brielmaier
2020-02-24 16:51       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mv7jr453.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=27894@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.