Subject: bug#31983: guix lint command error.

From: Ricardo Wurmus <[email-masked]>
Date: Wed, 27 Jun 2018 10:21:28 +0200

Fis Trivial <[email-masked]> writes:

> $ guix lint guix
>
>
> ;;; Failed to autoload make-session in (gnutls):
> ;;; missing interface for module (gnutls)
> Backtrace:
>            5 (primitive-load "/home/fis/.config/guix/current/bin/guix")
> In guix/ui.scm:
>   1557:12  4 (run-guix-command _ . _)
> In srfi/srfi-1.scm:
>     640:9  3 (for-each #<procedure 2179f40 at guix/scripts/lint.scm…> …)
> In guix/scripts/lint.scm:
>    1079:4  2 (run-checkers #<package [email-masked] gnu/pac…> …)
> In srfi/srfi-1.scm:
>     640:9  1 (for-each #<procedure 3769e80 at guix/scripts/lint.scm…> …)
> In guix/scripts/lint.scm:
>    490:16  0 (validate-uri #<<uri> scheme: https userinfo: #f host:…> …)
>
> guix/scripts/lint.scm:490:16: In procedure validate-uri:
> error: make-session: unbound variable

You need gnutls (with Guile bindings).  Are you using Guix from a git
checkout, or do you use “guix pull”?

--
Ricardo