all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@n0.is>
To: 藍挺瑋 <lantw44@gmail.com>
Cc: 29642@debbugs.gnu.org
Subject: bug#29642: guix 0.14.0 cannot use HTTPS with guile 2.0
Date: Sun, 10 Dec 2017 13:32:09 +0000	[thread overview]
Message-ID: <20171210133209.zjygz3bki3bbdx6k@abyayala> (raw)
In-Reply-To: <358b5121-7f02-2c9d-878f-6ab550c6ae04@gmail.com>

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

藍挺瑋 transcribed 1.7K bytes:
> This problem happens on Fedora 27, which uses Guile 2.0.14.

Do we still support building with guile 2.0? That's a
maintenance version of Guile, 2.2 is the new stable.

> $ guix package -i hello
> The following package will be installed:
>    hello	2.10	/gnu/store/pa4w02b89d6sq33840dxfl5vbqbwz5iy-hello-2.10
> 
> substitute: Backtrace:
> substitute: In ice-9/boot-9.scm:
> substitute:  160: 9 [catch #t #<catch-closure 55ef08139900> ...]
> substitute: In unknown file:
> substitute:    ?: 8 [apply-smob/1 #<catch-closure 55ef08139900>]
> substitute: In ice-9/boot-9.scm:
> substitute:   66: 7 [call-with-prompt prompt0 ...]
> substitute: In ice-9/eval.scm:
> substitute:  432: 6 [eval # #]
> substitute: In ice-9/boot-9.scm:
> substitute: 2412: 5 [save-module-excursion #<procedure 55ef08159900 at
> ice-9/boot-9.scm:4084:3 ()>]
> substitute: 4089: 4 [#<procedure 55ef08159900 at ice-9/boot-9.scm:4084:3
> ()>]
> substitute: 1734: 3 [%start-stack load-stack ...]
> substitute: 1739: 2 [#<procedure 55ef0816dbd0 ()>]
> substitute: In unknown file:
> substitute:    ?: 1 [primitive-load "/usr/bin/guix"]
> substitute: In guix/ui.scm:
> substitute: 1452: 0 [run-guix-command substitute "--query"]
> substitute:
> substitute: guix/ui.scm:1452:12: In procedure run-guix-command:
> substitute: guix/ui.scm:1452:12: In procedure setvbuf: Wrong type
> argument in position 1 (expecting port that supports 'setvbuf'):
> #<input-output: gnutls-session-port 55ef0902fc30>
> guix package: error: corrupt input while restoring archive from socket
> 
> If I revert commit 866f37f, this problem can be avoided. The commit
> (download: Improve efficiency of 'write-request' over TLS.) added the
> following code to guix/build/download.scm:
> 
> (cond-expand
>   (guile-2.0 #f)
>   (else (setvbuf record 'line)))
> 
> The info page of guile doesn't list 'guile-2.0' feature. I know there is
> a feature called 'guile-2.2', but I cannot find 'guile-2.0'.
> 
> 
> 
> 

-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-12-10 13:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-10 13:05 bug#29642: guix 0.14.0 cannot use HTTPS with guile 2.0 藍挺瑋
2017-12-10 13:32 ` ng0 [this message]
2017-12-11  9:41   ` 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=20171210133209.zjygz3bki3bbdx6k@abyayala \
    --to=ng0@n0.is \
    --cc=29642@debbugs.gnu.org \
    --cc=lantw44@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 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.