Re: [OE-core] Kirkstone Rust - native only error

2022-09-12 Thread Peter Bergin
Hi Joel, On 2022-09-11 03:00, Joel Winarske wrote: I'm putting together a recipe that requires two passes, native, then target.  I'm hitting a python error only in the native pass.  I can cross compile the tool without error, so the problem is  isolated to native.  Any ideas? Recipe is progr

Re: [OE-core] Kirkstone Rust - native only error

2022-09-11 Thread Joel Winarske
This resolved the issue - native compilation pass. Found a clue in python3-setuptools-rust-native_1.1.2.bb. cargo_do_compile:class-native() { cd ${S}/${CARGO_SRC_DIR} export CARGO_BUILD_TARGET="${HOST_SYS}" export CARGO_TARGET_DIR=${S} export RUSTFLAGS "${CARGO}" build run

[OE-core] Kirkstone Rust - native only error

2022-09-10 Thread Joel Winarske
I'm putting together a recipe that requires two passes, native, then target. I'm hitting a python error only in the native pass. I can cross compile the tool without error, so the problem is isolated to native. Any ideas? Recipe is progress: https://github.com/meta-flutter/meta-flutter/blob/jw