unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Chris Marusich <cmmarusich@gmail.com>
Cc: 21925@debbugs.gnu.org, 21924@debbugs.gnu.org
Subject: bug#21925: Additional information for bug report: 21925
Date: Mon, 16 Nov 2015 17:44:42 +0100	[thread overview]
Message-ID: <87wpth3nd1.fsf@gnu.org> (raw)
In-Reply-To: <CAEKzfHk24d0jxF1SqnY054T4CSDLpfGVov-KW6Ftp-qGtSEMBw@mail.gmail.com> (Chris Marusich's message of "Sun, 15 Nov 2015 02:19:24 -0800")

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

Chris Marusich <cmmarusich@gmail.com> skribis:

> I've noticed that I also experience similar failures when I try to
> install certain packages. For example, I cannot install ncurses or
> autoconf:
>
> marusich@garuda ~$ guix package -i autoconf
> guix package: error: socket: Protocol not supported
> marusich@garuda ~$ guix package -i ncurses
> guix package: error: socket: Protocol not supported

Could you apply this patch:


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

diff --git a/guix/ftp-client.scm b/guix/ftp-client.scm
index f02d460..e76f08a 100644
--- a/guix/ftp-client.scm
+++ b/guix/ftp-client.scm
@@ -140,8 +140,9 @@ TIMEOUT, an ETIMEDOUT error is raised."
 
   (let loop ((addresses addresses))
     (let* ((ai (car addresses))
-           (s  (socket (addrinfo:fam ai) SOCK_STREAM ;TCP only
-                       (addrinfo:protocol ai))))
+           (s  (socket (addrinfo:fam ai)
+                       ;; TCP/IP only
+                       SOCK_STREAM IPPROTO_IP)))
 
       (catch 'system-error
         (lambda ()

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


and then try again, with:

  ./pre-inst-env guix package -i autoconf

(I can provided more info on how to apply the patch if needed.  See also
<http://www.gnu.org/software/guix/manual/html_node/Running-Guix-Before-It-Is-Installed.html>.)

This may be a regression introduced in 279ec1d.

TIA!

Ludo’.


  reply	other threads:[~2015-11-16 16:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-14 20:42 bug#21925: "make check" fails: "guix package: error: socket: Protocol not supported" Chris Marusich
2015-11-15 10:19 ` bug#21925: Additional information for bug report: 21925 Chris Marusich
2015-11-16 16:44   ` Ludovic Courtès [this message]
2015-11-17  5:11     ` Chris Marusich
2015-11-17  8:46       ` Ludovic Courtès
2015-11-16 21:08   ` Efraim Flashner

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87wpth3nd1.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=21924@debbugs.gnu.org \
    --cc=21925@debbugs.gnu.org \
    --cc=cmmarusich@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).