rust-embedded / rust-embedded/meta-rust-bin
Can't build a native sdk tool
Nobody has claimed this yet.
- Dominant language
- BitBake
- Stars
- 124
- Forks
- 92
- Avg merge
- 6h 54m
- Merged PRs (30d)
- 2
Description
Hello,
I'm trying to build this tool for my yocto sdk, since I need it to deploy an fullstack web application made with Dioxus.
The recipe looks like this:
inherit cargo_bin
# If this is git based prefer versioned ones if they exist
# DEFAULT_PREFERENCE = "-1"
BBCLASSEXTEND="native nativesdk"
do_compile() {
cargo install --git https://github.com/marcobergamin-videam/dioxus.git --rev 75986cdd349e782cc07907f846bea7f416d8b8f2 dioxus-cli
}
LIC_FILES_CHKSUM = " \
"
SUMMARY = ""
HOMEPAGE = ""
LICENSE = "CLOSED"
When I try to build the recipe with the command bitbake dioxus-cli-native, I get this error:
ERROR: dioxus-cli-native-0.1.0-r0 do_prepare_recipe_sysroot: Manifest <project_dir>/build/tmp/sstate-control/manifest-x86_64_x86_64-cargo-bin-cross-aarch64.populate_sysroot not found in x86_64_x86_64 (variant '')?
ERROR: Logfile of failure stored in: <project_dir>/build/tmp/work/x86_64-linux/dioxus-cli-native/0.1.0-r0/temp/log.do_prepare_recipe_sysroot.2645312
ERROR: Task (virtual:native:<project_dir>/project-spec/meta-user/recipes-videam/dioxus-cli/dioxus-cli_0.1.0.bb:do_prepare_recipe_sysroot) failed with exit code '1'
I'm currently stuck on Honister 3.4
Layer meta-rust-bin rev. 3221a8675440bc312cff60297f0376e26ab2df56
Layer meta-rust is masked out
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the dioxus-cli recipe and the do_prepare_recipe_sysroot log, then inspect how cargo_bin and BBCLASSEXTEND="native nativesdk" interact. Reproduce the failure with bitbake dioxus-cli-native using the stated Honister and layer revisions; done means the recipe completes without the missing manifest error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100