Failure of 'guix pull' from fresh install

  • Done
  • quality assurance status badge
Details
3 participants
  • Efraim Flashner
  • Ludovic Courtès
  • Rob Syme
Owner
unassigned
Submitted by
Rob Syme
Severity
normal
R
R
Rob Syme wrote on 2 Mar 2016 12:27
(address . bug-guix@gnu.org)
CAEf4xgebnw-7v_Hti+cih4bxVeiXRGF-rSExyT926A_qZeRh_g@mail.gmail.com
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
following redirection to `
;;; 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


Attachment: file
R
R
Rob Syme wrote on 2 Mar 2016 12:37
(address . bug-guix@gnu.org)
CAEf4xgdPwsQvx=3rZWEdpmg-LkZoHOmwngs2rhS4vJNE65TY4w@mail.gmail.com
Note: Everything runs smoothly after importing the keys via 'guix archive
--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 <rob.syme@gmail.com> wrote:

Toggle quote (21 lines)
> 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
>
>
Attachment: file
E
E
Efraim Flashner wrote on 2 Mar 2016 19:59
Re: bug#22882: Failure of 'guix pull' from fresh install
(name . Rob Syme)(address . rob.syme@gmail.com)(address . 22882@debbugs.gnu.org)
20160302185929.GB11131@debian-netbook
On Wed, Mar 02, 2016 at 11:37:35AM +0000, Rob Syme wrote:
Toggle quote (28 lines)
> Note: Everything runs smoothly after importing the keys via 'guix archive
> --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 <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 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
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 <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJW1zgNAAoJEPTB05F+rO6TqwoP/31wBLSHI/JPe2guv4QYIHTl
1mjRuwsg8OwgRuPoOKaziDoZ4OODSjcUOBRwvanM6v1PyRAqTePYUjFQ4e9XldzT
omYWDh2UxFD5XRsJ6MPn//w9DqdT07ox8F7dZDJjRlFd9DlLEKLpY4mDr6SwGjEV
17SK7uzKdDgMlLF3zXgM33v9b6+W+NZwF3adchSCQ+JNNVeorIY9sykf9Kx8p9fy
seKQbtjjYkiY6MOvG7kaED2UhL/Nn9Y+xkppXuVs03Aaa2PjFgCU7UzXTBrO6TOV
wnnlXD5T7Q72ABGckjcN0UYkgloB52tc4Uxh9N8K/MwDowjGTCnsT2d5UXYpBoIG
WEgJbgR/EbHkbeRPwL0asTWyeQHhD8k59NxmJCc0i2Kscrwfgc6oSxSGL5GYBnNU
sb+/kGvnpi0lA3/QuTul3yO/gTlyLEe95YWnZkMYBu8fqdcbzuQFZYjebeONkUlM
gzrADuT5FIFL7sxXCM+PnJZClBEbiZT/n5pzyHyYdkrHnfz9tqOQuveI0bxDKPfP
gmPqLwi2G5dIiZK+MbTRcNGmGTcuhJ+WHiQf5IlzO1AB1W87J+06OmvCWSSdPlvz
9IQ5qJgQdR4Yt4YswlQkcFW1x346wSB9FemHguu1UIWHo1cm9IHqzp/dYwX7Rkl8
P+wmC8U4YgVu5g0eNtb5
=ysIY
-----END PGP SIGNATURE-----


R
R
Rob Syme wrote on 3 Mar 2016 00:13
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 22882@debbugs.gnu.org)
CAEf4xgd8XipL7=_zAdbBpkpNVwakKJoRbn06YqUr7tW4OZMdCQ@mail.gmail.com
Thanks!

On Thu, 3 Mar 2016, 02:59 Efraim Flashner, <efraim@flashner.co.il> wrote:

Toggle quote (49 lines)
> 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 able 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 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`
> <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 <efraim@flashner.co.il> ????? ?????
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted
>
Attachment: file
L
L
Ludovic Courtès wrote on 7 Mar 2016 13:16
control message for bug #22882
(address . control@debbugs.gnu.org)
87k2letrdt.fsf@gnu.org
tags 22882 notabug
close 22882
?