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

Can't build a native sdk tool #198

Open
marcobergamin-videam opened this issue Jan 20, 2025 · 0 comments
Open

Can't build a native sdk tool #198

marcobergamin-videam opened this issue Jan 20, 2025 · 0 comments

Comments

@marcobergamin-videam
Copy link

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. 3221a86
Layer meta-rust is masked out

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