Skip to content

Can't build a native sdk tool #198

Open
@marcobergamin-videam

Description

@marcobergamin-videam

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions