Checklist
Describe your issue
I'm trying to compile a project, which includes aws-lc-sys@v0.27.1. In the Cargo.toml, I'm installing some additional packages. Until compiling aws-lc-sys it also works quite well, however once it does, it fails:
--- stderr
Consider installing the bindgen-cli: `cargo install --force --locked bindgen-cli`
See our User Guide for more information about bindgen:https://aws.github.io/aws-lc-rs/index.html
Failure invoking external bindgen! External bindgen command failed.
So far so good, however, when I try to install bindgen-cli, that fails with something along the lines of sh: eval: can't find cargo After running again, it seems that this magically resolved, however it still states it can't find bindgen at compile time. I'd say it's some issue on my side, but I'm out of ideas on what to try.
What target(s) are you cross-compiling for?
armv7-unknown-linux-gnueabihf
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5 (51f46f2 2025-05-24)
Example
No response
Additional information / notes
Running cargo -V also returns [cross] note: Falling back to cargo on the host.. All other requirements for aws-lc-sys are installed. bindgen-cli is also installed on my host (i use arch btw). AWS_LC_SYS_EXTERNAL_BINDGEN on 0 or 1 does not have an effect. Interestingly enough, when I try to get pre-build to print the path of cargo, it does not return anything, yet the install command does not fail. very weird.
Checklist
Describe your issue
I'm trying to compile a project, which includes aws-lc-sys@v0.27.1. In the Cargo.toml, I'm installing some additional packages. Until compiling aws-lc-sys it also works quite well, however once it does, it fails:
So far so good, however, when I try to installAfter running again, it seems that this magically resolved, however it still states it can't find bindgen at compile time. I'd say it's some issue on my side, but I'm out of ideas on what to try.bindgen-cli, that fails with something along the lines ofsh: eval: can't find cargoWhat target(s) are you cross-compiling for?
armv7-unknown-linux-gnueabihf
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5 (51f46f2 2025-05-24)
Example
No response
Additional information / notes
Running
cargo -Valso returns[cross] note: Falling back tocargoon the host.. All other requirements for aws-lc-sys are installed.bindgen-cliis also installed on my host (i use arch btw).AWS_LC_SYS_EXTERNAL_BINDGENon 0 or 1 does not have an effect. Interestingly enough, when I try to get pre-build to print the path of cargo, it does not return anything, yet the install command does not fail. very weird.