unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: jgart <jgart@dismail.de>, Guix Devel <guix-devel@gnu.org>
Subject: Re: crate importer throws
Date: Wed, 12 Oct 2022 14:24:26 +0200	[thread overview]
Message-ID: <a23352f1-019f-9225-3cc1-aa7e5a05abf2@telenet.be> (raw)
In-Reply-To: <20221011163949.GB21313@dismail.de>


[-- Attachment #1.1.1: Type: text/plain, Size: 1232 bytes --]



On 11-10-2022 23:39, jgart wrote:
> ```
>   λ guix import crate the-way
> ;;; Failed to autoload string->semver-range in (semver ranges):
> ;;; no code for module (semver ranges)
> Backtrace:
> In ice-9/boot-9.scm:
>    1752:10  9 (with-exception-handler _ _ #:unwind? _ # _)
> In unknown file:
>             8 (apply-smob/0 #<thunk 7f6f033b62e0>)
> In ice-9/boot-9.scm:
>      724:2  7 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
> In ice-9/eval.scm:
>      619:8  6 (_ #(#(#<directory (guile-user) 7f6f033bbc80>)))
> In guix/ui.scm:
>     2263:7  5 (run-guix . _)
>    2226:10  4 (run-guix-command _ . _)
> In guix/scripts/import.scm:
>      92:11  3 (guix-import . _)
> In guix/scripts/import/crate.scm:
>      95:24  2 (guix-import-crate . _)
> In guix/import/crate.scm:
>      287:9  1 (crate->guix-package "the-way" #:version _ # _ #:repo _)
>     260:26  0 (find-crate-version #<<crate> name: "the-way" latest-v…> …)
> 
> guix/import/crate.scm:260:26: In procedure find-crate-version:
> error: string->semver-range: unbound variable
> ```
> 
> WDYT

I think it should ask to run in an environment with "guile-semver" in a 
nice error message.

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  parent reply	other threads:[~2022-10-12 12:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-11 21:39 crate importer throws jgart
2022-10-12  9:09 ` Csepp
2022-10-12 12:24 ` Maxime Devos [this message]
2022-10-12 15:50   ` jgart
2022-10-12 21:51     ` Csepp
2022-10-15 11:18       ` Maxime Devos
2022-10-13  8:47     ` Maxime Devos
2022-10-14 23:35       ` Csepp
2022-10-15 11:10         ` Maxime Devos
2022-10-15 12:58           ` Csepp
2022-10-19 19:37             ` Efraim Flashner
2022-10-20 12:56               ` Csepp

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=a23352f1-019f-9225-3cc1-aa7e5a05abf2@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guix-devel@gnu.org \
    --cc=jgart@dismail.de \
    /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.
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).