unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Abhishek Cherath <abhi@quic.us>
To: 58785@debbugs.gnu.org
Subject: bug#58785: guix import crate -r zellij fails
Date: Tue, 25 Oct 2022 23:51:00 -0400	[thread overview]
Message-ID: <52eb36fa-3a07-489d-4fb0-1e7368a5666e@quic.us> (raw)
In-Reply-To: <dd7d9a0d-8f19-483a-d1ac-4b8401f275f4@quic.us>

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

Hello,

here's the error:

```
guix/import/crate.scm:283:18: In procedure dependency-name+version:
In procedure struct-vtable: Wrong type argument in position 1 (expecting 
struct): #f
```

I guess the issue is that cranelift-codegen is memoized with (mproc 
"cranelift-codegen" #:version "0.68.0" #:repo #f …) , where repo is 
false. but it seems to have a repo on the page? 
https://crates.io/crates/cranelift-codegen?

I'll try and work towards a fix sometime next month, but I'd be glad
for some pointers.

Thank you,
Abhishek.

[-- Attachment #2: backtrace.txt --]
[-- Type: text/plain, Size: 876 bytes --]

Backtrace:
In guix/import/utils.scm:
   584:33 19 (lookup-node "cranelift-codegen" "0.68.0")
In guix/memoization.scm:
     98:0 18 (mproc "cranelift-codegen" #:version "0.68.0" #:repo #f …)
In unknown file:
          17 (_ #<procedure 7fe03a96c720 at guix/memoization.scm:17…> …)
In guix/import/crate.scm:
   300:28 16 (crate->guix-package "cranelift-codegen" #:version _ # _ …)
   292:10 15 (sort-map-dependencies _)
In srfi/srfi-1.scm:
   586:29 14 (map1 _)
   586:29 13 (map1 _)
   586:29 12 (map1 _)
   586:29 11 (map1 _)
   586:29 10 (map1 _)
   586:29  9 (map1 _)
   586:29  8 (map1 _)
   586:29  7 (map1 _)
   586:29  6 (map1 _)
   586:29  5 (map1 _)
   586:29  4 (map1 _)
   586:29  3 (map1 _)
   586:29  2 (map1 _)
   586:17  1 (map1 (#<<crate-dependency> id: "peepmatic" kind: no…> …))
In guix/import/crate.scm:
   283:18  0 (dependency-name+version _)


       reply	other threads:[~2022-10-26  9:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <dd7d9a0d-8f19-483a-d1ac-4b8401f275f4@quic.us>
2022-10-26  3:51 ` Abhishek Cherath [this message]
2022-10-27 13:31   ` bug#58785: Duplicate Abhishek Cherath
2022-10-27 14:34     ` paren--- via Bug reports for GNU Guix

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=52eb36fa-3a07-489d-4fb0-1e7368a5666e@quic.us \
    --to=abhi@quic.us \
    --cc=58785@debbugs.gnu.org \
    /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).