GNU bug report logs - #33720
GNUTLS substitute error

Previous Next

Package: guix;

Reported by: Formbi <formbi <at> protonmail.com>

Date: Wed, 12 Dec 2018 20:42:01 UTC

Severity: normal

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

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 33720 in the body.
You can then email your comments to 33720 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#33720; Package guix. (Wed, 12 Dec 2018 20:42:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Formbi <formbi <at> protonmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 12 Dec 2018 20:42:02 GMT) Full text and rfc822 format available.

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

From: Formbi <formbi <at> protonmail.com>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: GNUTLS substitute error
Date: Wed, 12 Dec 2018 20:38:33 +0000
[Message part 1 (text/plain, inline)]
When i run guix pull or other commands which download something, I get this:

Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git 7b046b1
substitute: ;;; Failed to autoload make-session in (gnutls):
substitute: ;;; missing interface for module (gnutls)
substitute: Backtrace:
substitute:            3 (apply-smob/1 #<catch-closure 55a8301d4840>)
substitute: In ice-9/boot-9.scm:
substitute:     705:2  2 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
substitute: In ice-9/eval.scm:
substitute:     619:8  1 (_ #(#(#<directory (guile-user) 55a830279140>)))
substitute: In guix/ui.scm:
substitute:   1578:12  0 (run-guix-command _ . _)
substitute:
substitute: guix/ui.scm:1578:12: In procedure run-guix-command:
substitute: error: make-session: unbound variable
guix pull: error: build failed: writing to file: Broken pipe

I use Arch with Guix as an additional package manager.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33720; Package guix. (Thu, 13 Dec 2018 19:05:01 GMT) Full text and rfc822 format available.

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

From: Formbi <formbi <at> protonmail.com>
To: "33720 <at> debbugs.gnu.org" <33720 <at> debbugs.gnu.org>
Subject: GNUTLS error
Date: Thu, 13 Dec 2018 19:04:13 +0000
[Message part 1 (text/plain, inline)]
I thought it had something to to with the substitute mechanism, but it also happens when I disable substituting.
~ $ guix pull --no-substitutes
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git 5e741ff
building /gnu/store/54vrbwjqlc24z7ppw54y9ly0sczm5bkx-Python-2.7.15.tar.xz.drv...

Starting download of /gnu/store/jgav9ln0csn98rwj8f6v5nqs54yn2vv5-Python-2.7.15.tar.xz
From https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz...
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
error: make-session: unbound variable

Starting download of /gnu/store/jgav9ln0csn98rwj8f6v5nqs54yn2vv5-Python-2.7.15.tar.xz
From https://mirror.hydra.gnu.org/file/Python-2.7.15.tar.xz/sha256/0x2mvz9dp11wj7p5ccvmk9s0hzjk2fa1m462p395l4r6bfnb3n92...
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
error: make-session: unbound variable

Starting download of /gnu/store/jgav9ln0csn98rwj8f6v5nqs54yn2vv5-Python-2.7.15.tar.xz
From https://berlin.guixsd.org/file/Python-2.7.15.tar.xz/sha256/0x2mvz9dp11wj7p5ccvmk9s0hzjk2fa1m462p395l4r6bfnb3n92...
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
error: make-session: unbound variable

Starting download of /gnu/store/jgav9ln0csn98rwj8f6v5nqs54yn2vv5-Python-2.7.15.tar.xz
From https://tarballs.nixos.org/sha256/0x2mvz9dp11wj7p5ccvmk9s0hzjk2fa1m462p395l4r6bfnb3n92...
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
error: make-session: unbound variable

Starting download of /gnu/store/jgav9ln0csn98rwj8f6v5nqs54yn2vv5-Python-2.7.15.tar.xz
From https://archive.softwareheritage.org/api/1/content/sha256:22d9b1ac5b26135ad2b8c2901a9413537e08749a753356ee913c84dbd2df5574/raw/...
;;; Failed to autoload make-session in (gnutls):
;;; missing interface for module (gnutls)
error: make-session: unbound variable
failed to download "/gnu/store/jgav9ln0csn98rwj8f6v5nqs54yn2vv5-Python-2.7.15.tar.xz" from "https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz"
builder for `/gnu/store/54vrbwjqlc24z7ppw54y9ly0sczm5bkx-Python-2.7.15.tar.xz.drv' failed to produce output path `/gnu/store/jgav9ln0csn98rwj8f6v5nqs54yn2vv5-Python-2.7.15.tar.xz'
build of /gnu/store/54vrbwjqlc24z7ppw54y9ly0sczm5bkx-Python-2.7.15.tar.xz.drv failed
View build log at '/var/log/guix/drvs/54/vrbwjqlc24z7ppw54y9ly0sczm5bkx-Python-2.7.15.tar.xz.drv.bz2'.
cannot build derivation `/gnu/store/jwhmsg7wnlszafb8nqzccvfpa588i046-Python-2.7.15.tar.xz.drv': 1 dependencies couldn't be built
building /gnu/store/qrjxkbas3jb4gwsv39ni2zzilbwwpck4-binutils-2.23.2.tar.xz.drv...
cannot build derivation `/gnu/store/cz4sr5whzf3qhp8c47bzlfzcxxwl485i-python2-2.7.15.drv': 1 dependencies couldn't be built
guix pull: error: build failed: build of `/gnu/store/cz4sr5whzf3qhp8c47bzlfzcxxwl485i-python2-2.7.15.drv' failed
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33720; Package guix. (Thu, 13 Dec 2018 20:55:01 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Formbi <formbi <at> protonmail.com>
Cc: 33720 <at> debbugs.gnu.org
Subject: Re: bug#33720: GNUTLS substitute error
Date: Thu, 13 Dec 2018 15:54:12 -0500
[Message part 1 (text/plain, inline)]
On Wed, Dec 12, 2018 at 08:38:33PM +0000, Formbi wrote:
> When i run guix pull or other commands which download something, I get this:
> 
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Building from this channel:
>   guix      https://git.savannah.gnu.org/git/guix.git 7b046b1
> substitute: ;;; Failed to autoload make-session in (gnutls):
> substitute: ;;; missing interface for module (gnutls)
> substitute: Backtrace:
> substitute:            3 (apply-smob/1 #<catch-closure 55a8301d4840>)
> substitute: In ice-9/boot-9.scm:
> substitute:     705:2  2 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
> substitute: In ice-9/eval.scm:
> substitute:     619:8  1 (_ #(#(#<directory (guile-user) 55a830279140>)))
> substitute: In guix/ui.scm:
> substitute:   1578:12  0 (run-guix-command _ . _)
> substitute:
> substitute: guix/ui.scm:1578:12: In procedure run-guix-command:
> substitute: error: make-session: unbound variable
> guix pull: error: build failed: writing to file: Broken pipe
> 
> I use Arch with Guix as an additional package manager.

Did you follow the TLS / X.509 steps mentioned in the manual?

https://www.gnu.org/software/guix/manual/en/html_node/Application-Setup.html
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33720; Package guix. (Thu, 13 Dec 2018 23:03:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Formbi <formbi <at> protonmail.com>
Cc: 33720 <at> debbugs.gnu.org
Subject: Re: bug#33720: GNUTLS substitute error
Date: Fri, 14 Dec 2018 00:02:20 +0100
Hello,

Formbi <formbi <at> protonmail.com> skribis:

> When i run guix pull or other commands which download something, I get this:
>
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Building from this channel:
>   guix      https://git.savannah.gnu.org/git/guix.git 7b046b1
> substitute: ;;; Failed to autoload make-session in (gnutls):
> substitute: ;;; missing interface for module (gnutls)
> substitute: Backtrace:
> substitute:            3 (apply-smob/1 #<catch-closure 55a8301d4840>)
> substitute: In ice-9/boot-9.scm:
> substitute:     705:2  2 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
> substitute: In ice-9/eval.scm:
> substitute:     619:8  1 (_ #(#(#<directory (guile-user) 55a830279140>)))
> substitute: In guix/ui.scm:
> substitute:   1578:12  0 (run-guix-command _ . _)
> substitute:
> substitute: guix/ui.scm:1578:12: In procedure run-guix-command:
> substitute: error: make-session: unbound variable

This suggests that GnuTLS is not installed, or at least not in the
$GUILE_LOAD_PATH in the environment of guix-daemon.

How did you install Guix?  How did you start guix-daemon?

Thanks in advance,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#33720; Package guix. (Thu, 13 Dec 2018 23:47:02 GMT) Full text and rfc822 format available.

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

From: Formbi <formbi <at> protonmail.com>
To: "33720 <at> debbugs.gnu.org" <33720 <at> debbugs.gnu.org>
Subject: bug#33720: GNUTLS substitute error
Date: Thu, 13 Dec 2018 23:46:44 +0000
[Message part 1 (text/plain, inline)]
>Did you follow the TLS / X.509 steps mentioned in the manual?
yes

>How did you install Guix?  How did you start guix-daemon?

I installed it with the AUR package. I start guix-daemon using the systemd service that came with it.
[Message part 2 (text/html, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 14 Dec 2018 10:59:01 GMT) Full text and rfc822 format available.

Notification sent to Formbi <formbi <at> protonmail.com>:
bug acknowledged by developer. (Fri, 14 Dec 2018 10:59:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Formbi <formbi <at> protonmail.com>
Cc: "33720 <at> debbugs.gnu.org" <33720-done <at> debbugs.gnu.org>
Subject: Re: bug#33720: GNUTLS substitute error
Date: Fri, 14 Dec 2018 11:58:21 +0100
Hello,

Formbi <formbi <at> protonmail.com> skribis:

>>Did you follow the TLS / X.509 steps mentioned in the manual?
> yes
>
>>How did you install Guix?  How did you start guix-daemon?
>
> I installed it with the AUR package. I start guix-daemon using the systemd service that came with it.

In that case could you report it to the persons in charge of the AUR
package?  It seems something’s wrong there since the GnuTLS Guile module
cannot be found.

I’m closing the bug on our side but please do reopen it if the Arch
people think it’s an issue on our side!

Thanks,
Ludo’.




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

This bug report was last modified 6 years and 155 days ago.

Previous Next


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