meta-rust / cargo-bitbake

cargo extension that can generate BitBake recipes utilizing the classes from meta-rust
Apache License 2.0
83 stars 57 forks source link

Unable to install on Ubuntu 22.04 #54

Closed Ecordonnier closed 2 years ago

Ecordonnier commented 2 years ago

I tried to install cargo-bitbake on Ubuntu 22.04, with locked version and without the locked parameter (see the errors in the log files: the "not locked" version causes "error[E0283]: type annotations needed" and the locked version causes "error: failed to run custom build command for openssl-sys v0.9.54"). Note that libssl-dev and pkg-config are installed on the system. Is it a known issue?

packages.txt cargo-bitbake-locked.txt cargo-bitbake-not-locked.txt

Ecordonnier commented 2 years ago

I solved the issue by using another version of cargo and by building directly from the git repository:

etienne-cor commented 2 years ago

This is caused by https://github.com/rust-lang/cargo/issues/10623