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

Unable to install on Ubuntu 22.04 #54

Closed
Ecordonnier opened this issue Jun 23, 2022 · 2 comments
Closed

Unable to install on Ubuntu 22.04 #54

Ecordonnier opened this issue Jun 23, 2022 · 2 comments

Comments

@Ecordonnier
Copy link
Contributor

Ecordonnier commented Jun 23, 2022

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
Copy link
Contributor Author

Ecordonnier commented Jul 6, 2022

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

  • The compilation with cargo version 1.24.3 from the snap package "rustup" of Ubuntu 22.04 is not working.
  • The compilation with cargo version 0.60.0 from the apt package "cargo" of Ubuntu 22.04 is not working
  • The compilation with cargo version 1.62.0 (downloaded with curl https://sh.rustup.rs -sSf | sh) is working (cargo build and cargo instal --path . at the root of the git repository .

@etienne-cor
Copy link

This is caused by rust-lang/cargo#10623

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

2 participants