Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libstd-rs (rust) build failure: "No rust target defined for riscv64" #26

Open
duffolonious opened this issue Mar 3, 2024 · 1 comment

Comments

@duffolonious
Copy link

Failure for both the weston and plasma builds:

ERROR: libstd-rs-1.68.2-r0 do_rust_gen_targets: No rust target defined for riscv64
ERROR: Logfile of failure stored in: /home/yoctouser/bitbake/tmp/work/riscv64-pine64-linux/libstd-rs/1.68.2-r0/temp/log.do_rust_gen_targets.3377460
ERROR: Task (/home/yoctouser/layers/poky/../meta-lts-rust/recipes-devtools/rust/libstd-rs_1.68.2.bb:do_rust_gen_targets) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3318 tasks of which 3302 didn't need to be rerun and 1 failed.
@duffolonious
Copy link
Author

OK, running the patch commented out in setup.sh fixes the problem:

# rustpatch=`md5sum layers/poky/meta/lib/oe/rust.py | awk '{print $1;}'`
# if [ ! $rustpatch = "717271b44ab7b5eb803d088591a82157" ]; then
#       echo "Patching Rust Support in Poky"
#       patch -p1 < patches/rust.patch
#       echo ""
# fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant