GNU bug report logs -
#27894
Building Guix fails without '/etc/services'
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Tue, 1 Aug 2017 00:25:01 UTC
Severity: normal
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> 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:
[Message part 2 (text/x-patch, 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"
[Message part 3 (text/plain, inline)]
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’.
This bug report was last modified 5 years and 166 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.