unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15229: guix download does not understand https
@ 2013-08-31 11:43 Andreas Enge
  2013-08-31 16:03 ` Ludovic Courtès
  2013-08-31 16:04 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Enge @ 2013-08-31 11:43 UTC (permalink / raw)
  To: 15229

The title says it all:

guix download https://fedorahosted.org/releases/x/m/xmlto/xmlto-0.0.25.tar.bz2

results in

ERROR: missing interface for module (gnutls)
failed to download "guix-file.Oty9Cl" from "https://fedorahosted.org/releases/x/m/xmlto/xmlto-0.0.25.tar.bz2"
guix download: error: https://fedorahosted.org/releases/x/m/xmlto/xmlto-0.0.25.tar.bz2: download failed

(under guile 2.0.5-deb+1-3).

Since guix build -S works on the same file, something needs probably to be
ported from guix build to guix download.

Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15229: guix download does not understand https
  2013-08-31 11:43 bug#15229: guix download does not understand https Andreas Enge
@ 2013-08-31 16:03 ` Ludovic Courtès
  2013-08-31 16:04 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2013-08-31 16:03 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 15229-done, request

tag 15229 notabug
thanks

Andreas Enge <andreas@enge.fr> skribis:

> The title says it all:
>
> guix download https://fedorahosted.org/releases/x/m/xmlto/xmlto-0.0.25.tar.bz2
>
> results in
>
> ERROR: missing interface for module (gnutls)

Quoting the manual (info "(guix) Invoking guix download"):

     The ‘guix download’ command supports the same URIs as used in package
  definitions.  In particular, it supports ‘mirror://’ URIs.  ‘https’ URIs
  (HTTP over TLS) are supported _provided_ the Guile bindings for GnuTLS
  are available in the user’s environment; when they are not available, an
  error is raised.

:-)

Running ‘guix package -i gnutls’ and setting GUILE_LOAD_PATH as
suggested should enable GnuTLS support in ‘guix download’.

Let me know if there’s any problem.

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15229: guix download does not understand https
  2013-08-31 11:43 bug#15229: guix download does not understand https Andreas Enge
  2013-08-31 16:03 ` Ludovic Courtès
@ 2013-08-31 16:04 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2013-08-31 16:04 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 15229

Andreas Enge <andreas@enge.fr> skribis:

> Since guix build -S works on the same file,

This is because ‘guix build -S’ builds a derivation that uses our own
Guile and GnuTLS to perform the download.

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-31 16:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-31 11:43 bug#15229: guix download does not understand https Andreas Enge
2013-08-31 16:03 ` Ludovic Courtès
2013-08-31 16:04 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).