all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Csepp <raingloom@riseup.net>
To: jgart <jgart@dismail.de>
Cc: Maxime Devos <maximedevos@telenet.be>, guix-devel@gnu.org
Subject: Re: crate importer throws
Date: Wed, 12 Oct 2022 23:51:58 +0200	[thread overview]
Message-ID: <87mta0g0mv.fsf@riseup.net> (raw)
In-Reply-To: <20221012105036.GB1505@dismail.de>


jgart <jgart@dismail.de> writes:

> On Wed, 12 Oct 2022 14:24:26 +0200 Maxime Devos <maximedevos@telenet.be> wrote:
>
> That still throws:
>
> guix shell guile-semver -- 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 7fee216872e0>)
> 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) 7fee2168cc80>)))
> 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

Weird, that exact command worked for me, but it's likely we are on
different commits.  And yes, the error message could be clearer,
although I'm not sure where that should be fixed.  Guile doesn't know
what packages correspond to what modules and it should probably stay
that way.

```
$ guix describe
Generation 162	Oct 01 2022 00:15:38	(current)
  guix 1266b9e
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 1266b9ed111bff7b860cba6921e4540bc1f61c9e
```


  reply	other threads:[~2022-10-12 22:06 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
2022-10-12 15:50   ` jgart
2022-10-12 21:51     ` Csepp [this message]
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

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

  git send-email \
    --in-reply-to=87mta0g0mv.fsf@riseup.net \
    --to=raingloom@riseup.net \
    --cc=guix-devel@gnu.org \
    --cc=jgart@dismail.de \
    --cc=maximedevos@telenet.be \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.