unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Catonano <catonano@gmail.com>
To: Leo Famulari <leo@famulari.name>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: (gnutls) missing interface for module
Date: Sun, 7 Aug 2016 05:45:38 +0200	[thread overview]
Message-ID: <CAJ98PDy+rKdN_Ty-XF9V9RSeBM5EFbGVS-4GFt-wpc4Sf7Qe0A@mail.gmail.com> (raw)
In-Reply-To: <20160807030732.GE30934@jasmine>

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

2016-08-07 5:07 GMT+02:00 Leo Famulari <leo@famulari.name>:

> On Sat, Aug 06, 2016 at 05:23:49AM +0200, Catonano wrote:
> > 2016-08-06 1:43 GMT+02:00 Catonano <catonano@gmail.com>:
> >
> > > all of a sudden, master gives me this error
> > >
> > > ;;; Failed to autoload make-session in (gnutls):]...
> > > ;;; ERROR: missing interface for module (gnutls)
> > >
> > > than a backtrace comes and I can't lint a package (gnunet-svn)
> >
> > This is the error after the stacktrace
> >
> > guix/scripts/lint.scm:376:16: In procedure validate-uri:
> > guix/scripts/lint.scm:376:16: In procedure module-lookup: Unbound
> variable:
> > make-session
>
> What Git commit does this happen on? Can you share the exact sequence of
> commands that cause the error?
>

Leo, thank you so much for your concern, I should have clarified this
earlier

I found the solution

If I try to lint a package INSIDE an environment made with "guix
environment guix" this doesn't happen and the linting succeeds

I thought that "pre-inst-env" was setting things so that the right Guile
was automagically being called even outside of an environment. I was wrong.

I was confused because I had a Fedora Guile that I didn't remember about so
that one got called when outside of an environment and I wasn't realizing
that. I thought it was the right one that was being called

So A Fedora Guile was used to dlopen a Guix gnutls and that's a mix with a
bad karma; Ludo explained that in this post
https://lists.gnu.org/archive/html/help-guix/2016-06/msg00069.html
(thanks to Jlicht for this link)

When I removed it, no Guile could be found when outside of an environment
so that made me realize the mistake that I had been doing until then.

[-- Attachment #2: Type: text/html, Size: 2689 bytes --]

  reply	other threads:[~2016-08-07  3:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-05 23:43 (gnutls) missing interface for module Catonano
2016-08-06  3:23 ` Catonano
2016-08-07  3:07   ` Leo Famulari
2016-08-07  3:45     ` Catonano [this message]
2016-08-08 21:23       ` Leo Famulari

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ98PDy+rKdN_Ty-XF9V9RSeBM5EFbGVS-4GFt-wpc4Sf7Qe0A@mail.gmail.com \
    --to=catonano@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=leo@famulari.name \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).