* bug#58785: guix import crate -r zellij fails
[not found] <dd7d9a0d-8f19-483a-d1ac-4b8401f275f4@quic.us>
@ 2022-10-26 3:51 ` Abhishek Cherath
2022-10-27 13:31 ` bug#58785: Duplicate Abhishek Cherath
0 siblings, 1 reply; 3+ messages in thread
From: Abhishek Cherath @ 2022-10-26 3:51 UTC (permalink / raw)
To: 58785
[-- 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 _)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-27 14:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <dd7d9a0d-8f19-483a-d1ac-4b8401f275f4@quic.us>
2022-10-26 3:51 ` bug#58785: guix import crate -r zellij fails Abhishek Cherath
2022-10-27 13:31 ` bug#58785: Duplicate Abhishek Cherath
2022-10-27 14:34 ` paren--- via Bug reports for GNU Guix
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).