GNU bug report logs - #29642
guix 0.14.0 cannot use HTTPS with guile 2.0

Previous Next

Package: guix;

Reported by: 藍挺瑋 <lantw44 <at> gmail.com>

Date: Sun, 10 Dec 2017 13:06:02 UTC

Severity: normal

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 29642 in the body.
You can then email your comments to 29642 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#29642; Package guix. (Sun, 10 Dec 2017 13:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 藍挺瑋 <lantw44 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 10 Dec 2017 13:06:02 GMT) Full text and rfc822 format available.

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

From: 藍挺瑋 <lantw44 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: guix 0.14.0 cannot use HTTPS with guile 2.0
Date: Sun, 10 Dec 2017 21:05:12 +0800
This problem happens on Fedora 27, which uses Guile 2.0.14.

$ 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'.




Information forwarded to bug-guix <at> gnu.org:
bug#29642; Package guix. (Sun, 10 Dec 2017 13:33:01 GMT) Full text and rfc822 format available.

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

From: ng0 <ng0 <at> n0.is>
To: 藍挺瑋 <lantw44 <at> gmail.com>
Cc: 29642 <at> debbugs.gnu.org
Subject: Re: bug#29642: guix 0.14.0 cannot use HTTPS with guile 2.0
Date: Sun, 10 Dec 2017 13:32:09 +0000
[Message part 1 (text/plain, inline)]
藍挺瑋 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
[signature.asc (application/pgp-signature, inline)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Mon, 11 Dec 2017 09:43:01 GMT) Full text and rfc822 format available.

Notification sent to 藍挺瑋 <lantw44 <at> gmail.com>:
bug acknowledged by developer. (Mon, 11 Dec 2017 09:43:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: ng0 <ng0 <at> n0.is>
Cc: 藍挺瑋 <lantw44 <at> gmail.com>, 29642-done <at> debbugs.gnu.org
Subject: Re: bug#29642: guix 0.14.0 cannot use HTTPS with guile 2.0
Date: Mon, 11 Dec 2017 10:41:57 +0100
Hello,

ng0 <ng0 <at> n0.is> skribis:

> 藍挺瑋 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?

Yes.

>> 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'.

This is correct, 藍挺瑋.  This has been fixed here:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=7f04197fef905790fd392f8d686d00ae95a0d04c

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 08 Jan 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 165 days ago.

Previous Next


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