GNU bug report logs - #21924
"make check" fails: "guix package: error: socket: Protocol not supported"

Previous Next

Package: guix;

Reported by: Chris Marusich <cmmarusich <at> gmail.com>

Date: Sat, 14 Nov 2015 20:33:02 UTC

Severity: normal

Merged with 21925

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21924 in the body.
You can then email your comments to 21924 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#21924; Package guix. (Sat, 14 Nov 2015 20:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chris Marusich <cmmarusich <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 14 Nov 2015 20:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: "make check" fails: "guix package: error: socket: Protocol not
 supported"
Date: Sat, 14 Nov 2015 12:31:46 -0800
2abcc93




Merged 21924 21925. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Sat, 14 Nov 2015 21:53:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#21924; Package guix. (Mon, 16 Nov 2015 16:46:01 GMT) Full text and rfc822 format available.

Message #10 received at 21924 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: 21925 <at> debbugs.gnu.org, 21924 <at> debbugs.gnu.org
Subject: Re: bug#21925: Additional information for bug report: 21925
Date: Mon, 16 Nov 2015 17:44:42 +0100
[Message part 1 (text/plain, inline)]
Chris Marusich <cmmarusich <at> 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 <at> garuda ~$ guix package -i autoconf
> guix package: error: socket: Protocol not supported
> marusich <at> garuda ~$ guix package -i ncurses
> guix package: error: socket: Protocol not supported

Could you apply this patch:

[Message part 2 (text/x-patch, inline)]
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 ()
[Message part 3 (text/plain, inline)]
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 sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 17 Nov 2015 08:47:02 GMT) Full text and rfc822 format available.

Notification sent to Chris Marusich <cmmarusich <at> gmail.com>:
bug acknowledged by developer. (Tue, 17 Nov 2015 08:47:02 GMT) Full text and rfc822 format available.

Message #15 received at 21924-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: 21925-done <at> debbugs.gnu.org, 21924-done <at> debbugs.gnu.org
Subject: Re: bug#21925: Additional information for bug report: 21925
Date: Tue, 17 Nov 2015 09:46:10 +0100
Chris Marusich <cmmarusich <at> gmail.com> skribis:

>> Could you apply this patch
>
> The patch fixes the problem for me. Now, all the tests run during
> "make check" succeed, and when I ran the following command, it worked
> as expected:
>
> ./pre-inst-env guix package -i autoconf

OK, pushed as b7f4677.

Thank you for testing!

Ludo’.




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 17 Nov 2015 08:47:02 GMT) Full text and rfc822 format available.

Notification sent to Chris Marusich <cmmarusich <at> gmail.com>:
bug acknowledged by developer. (Tue, 17 Nov 2015 08:47:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#21924; Package guix. (Tue, 17 Nov 2015 14:28:02 GMT) Full text and rfc822 format available.

Message #23 received at 21924 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: 21924 <at> debbugs.gnu.org, request <at> debbugs.gnu.org
Subject: Re: bug#21924: "make check" fails: "guix package: error: socket:
 Protocol not supported"
Date: Tue, 17 Nov 2015 09:27:02 -0500
close 21924
thanks

Chris Marusich <cmmarusich <at> gmail.com> writes:
> 2abcc93

This was a failed first attempt to report the same bug as
<http://bugs.gnu.org/21925>.  Closing this one.

     Thanks,
       Mark




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 16 Dec 2015 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 191 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.