Failed to run example-kernels
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- rust
- Lĩnh vực
- build-system
Hướng nghiên cứu
Tái hiện lỗi trong example-kernels bằng cách chạy cargo bootimage --target x86_64-bootimage-example-kernels.json, sau đó chạy cargo xrun --target x86_64-bootimage-example-kernels.json. Bắt đầu với lỗi được báo cáo multiple rmeta candidates for core và so sánh hai đường dẫn build. Hoàn thành khi cargo xrun chạy thành công cho target này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I run in an issue by the attempt to run example-kernels and hope to find help this way.
The cli cargo bootimage --target x86_64-bootimage-example-kernels.json finished successfully, but cargo xrun failed
✔ ~/git/github/rust-osdev/bootimage/example-kernels [master|✔]
14:47 $ git log --oneline -n1
d590098 (HEAD -> master, origin/master, origin/HEAD) CI: Use choco to install QEMU 6.0.0
✔ ~/git/github/rust-osdev/bootimage/example-kernels [master|✔]
14:47 $ cargo xrun --target x86_64-bootimage-example-kernels.json
WARNING: There is no root package to read the cargo-xbuild config from.
Compiling core v0.0.0 (/home/XXX/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Compiling compiler_builtins v0.1.49
Compiling rustc-std-workspace-core v1.99.0 (/home/XXX/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
error[E0465]: multiple rmeta candidates for `core` found
--> /home/XXX/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core/lib.rs:4:9
|
4 | pub use core::*;
| ^^^^
|
note: candidate #1: /tmp/cargo-xbuild0mSUnk/target/x86_64-bootimage-example-kernels/release/deps/libcore-8386ca77507e6ddc.rmeta
--> /home/XXX/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core/lib.rs:4:9
|
4 | pub use core::*;
| ^^^^
note: candidate #2: /tmp/cargo-xbuild0mSUnk/target/x86_64-bootimage-example-kernels/release/deps/libcore-cb62582e916e4b2a.rmeta
--> /home/XXX/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core/lib.rs:4:9
|
4 | pub use core::*;
| ^^^^
error: could not compile `rustc-std-workspace-core` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
error: `"/home/XXX/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo" "rustc" "-p" "alloc" "--release" "--manifest-path" "/tmp/cargo-xbuild0mSUnk/Cargo.toml" "--target" "x86_64-bootimage-example-kernels.json" "--" "-Z" "force-unstable-if-unmarked"` failed with exit code: Some(101)
- Ngôn ngữ chính
- Rust
- Star
- 906
- Fork
- 70
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rust-osdev/bootimage
-
-Z flags not passedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
rust-osdev/bootimage#103 · 9 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
rust-osdev/bootimage#110 · 4 bình luận ·
-
`bin` file does not existĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
rust-osdev/bootimage#109 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 45/100
rust-osdev/bootimage#98 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
rust-osdev/bootimage#94 · 1 bình luận ·
Tất cả issue của rust-osdev/bootimage
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
trezor/trezor-firmware#7997 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
smol-machines/smolvm#1489 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày