From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Syme Subject: bug#22882: Failure of 'guix pull' from fresh install Date: Wed, 02 Mar 2016 23:13:41 +0000 Message-ID: References: <20160302185929.GB11131@debian-netbook> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f25dcfa4f42052d19088b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abFy1-0007JK-Rn for bug-guix@gnu.org; Wed, 02 Mar 2016 18:14:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abFxy-0008Ck-Js for bug-guix@gnu.org; Wed, 02 Mar 2016 18:14:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:32902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abFxy-0008Ca-FP for bug-guix@gnu.org; Wed, 02 Mar 2016 18:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1abFxy-0005bd-4J for bug-guix@gnu.org; Wed, 02 Mar 2016 18:14:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20160302185929.GB11131@debian-netbook> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Efraim Flashner Cc: 22882@debbugs.gnu.org --001a113f25dcfa4f42052d19088b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks! On Thu, 3 Mar 2016, 02:59 Efraim Flashner, wrote: > On Wed, Mar 02, 2016 at 11:37:35AM +0000, Rob Syme wrote: > > Note: Everything runs smoothly after importing the keys via 'guix archi= ve > > --authorize hydra.gnu.org.pub', but I thought that we should be able to > > 'guix pull' without hydra. Perhaps I am mistaken... > > -r > > > > On Wed, 2 Mar 2016 at 19:27 Rob Syme wrote: > > > > > I've just installed guix on a fresh Ubuntu 15.10 - guix (GNU Guix) > 0.9.0. > > > > > > The first run of 'guix pull' fails. The log[1] includes the error: > > > > > > Starting download of > > > /gnu/store/n7hw4dgm9qh1ihhb13jf5a1ll0wgf6ns-pkg-config-0.28.tar.gz > > > From http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz= . > .. > > > following redirection to ` > > > https://pkg-config.freedesktop.org/releases/pkg-config-0.28.tar.gz'..= . > > > ;;; Failed to autoload make-session in (gnutls): > > > ;;; ERROR: missing interface for module (gnutls) > > > ERROR: In procedure module-lookup: Unbound variable: make-session > > > > > > Am I doing something wrong? > > > > > > Rob Syme > > > > > > > > > [1] https://gist.github.com/robsyme/db66b14a47d6666a6697 > > > > > The problem is that from the time that 0.9.0 was tagged until now > freedesktop.org switched all their downloads to https. IIRC gnutls isn't > added to the environment unless needed for downloading or explicitly > added. Also, pkg-config is an input for gnutls, so it becomes hard to > download pkg-config using gnutls, when pkg-config is needed for gnutls. > This is a case where `guix download > https://pkg-config.freedesktop.org/releases/pkg-config-0.28.tar.gz` > and > then rerunning `guix pull` would take care of it. > > Since 0.9.0 we've "fixed" this by adding another source for pkg-config > that doesn't (yet) use https. > > -- > Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7= =9D =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 > GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > Confidentiality cannot be guaranteed on emails sent or received unencrypt= ed > --001a113f25dcfa4f42052d19088b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Thanks!


On Thu, 3 Mar 2016, 02:59 E= fraim Flashner, <efraim@flashne= r.co.il> wrote:
On Wed, Mar = 02, 2016 at 11:37:35AM +0000, Rob Syme wrote:
> Note: Everything runs smoothly after importing the keys via 'guix = archive
> --authorize hydra.gnu.org.pub', but I thought that we should be ab= le to
> 'guix pull' without hydra. Perhaps I am mistaken...
> -r
>
> On Wed, 2 Mar 2016 at 19:27 Rob Syme <rob.syme@gmail.com> wrote:
>
> > I've just installed guix on a fresh Ubuntu 15.10 - guix (GNU = Guix) 0.9.0.
> >
> > The first run of 'guix pull' fails. The log[1] includes t= he error:
> >
> > Starting download of
> > /gnu/store/n7hw4dgm9qh1ihhb13jf5a1ll0wgf6ns-pkg-config-0.28.tar.g= z
> > From http://pkgconfig.fre= edesktop.org/releases/pkg-config-0.28.tar.gz...
> > following redirection to `
> > https://pkg-config= .freedesktop.org/releases/pkg-config-0.28.tar.gz'...
> > ;;; Failed to autoload make-session in (gnutls):
> > ;;; ERROR: missing interface for module (gnutls)
> > ERROR: In procedure module-lookup: Unbound variable: make-session=
> >
> > Am I doing something wrong?
> >
> > Rob Syme
> >
> >
> > [1] https://gist.github.com/robsyme/db= 66b14a47d6666a6697
> >

The problem is that from the time that 0.9.0 was tagged until now
fre= edesktop.org switched all their downloads to https. IIRC gnutls isn'= ;t
added to the environment unless needed for downloading or explicitly
added. Also, pkg-config is an input for gnutls, so it becomes hard to
download pkg-config using gnutls, when pkg-config is needed for gnutls.
This is a case where `guix download
https://pkg-config.freedesktop.org= /releases/pkg-config-0.28.tar.gz` and
then rerunning `guix pull` would take care of it.

Since 0.9.0 we've "fixed" this by adding another source for p= kg-config
that doesn't (yet) use https.

--
Efraim Flashner=C2=A0 =C2=A0<efraim@flashner.co.il>=C2=A0 =C2=A0=D7=90=D7=A4=D7= =A8=D7=99=D7=9D =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
GPG key =3D A28B F40C 3E55 1372 662D=C2=A0 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted=
--001a113f25dcfa4f42052d19088b--