Subject: bug#33720: GNUTLS substitute error

From: Leo Famulari <[email-masked]>
Date: Thu, 13 Dec 2018 15:54:12 -0500

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