Closed gri6507 closed 6 months ago
Yes, I see the same thing. The home
dependency of bindgen did a new release four days go that bumped its minimum required Rust version beyond what we compile with. https://github.com/rust-lang/cargo/commit/7ce9c26f399ceec6e4750291f39ce381f71eab1f The version number is semver-compatible (v0.5.5 -> v0.5.9) so cargo picks it up when compiling bindgen
.
The fix would be to compile bindgen
with exactly the same versions of its dependencies that it had at the time it was released.
https://github.com/Azure/iot-identity-service/blob/1.4.7/ci/install-build-deps.sh#L317-L322
The first two should be changed to specify --locked
like the third one does. I confirmed that fixes it for me.
Thank you for the quick response!
I am trying to build
iot-identity-service
from source on my own machine. Right now, I am trying to build for Debian 11, but that will expand to other versions that Microsoft currently doesn't explicitly support. My first attempt at building was using a clean docker container with:However, that failed with
Next, I tried to manually follow the process from https://github.com/Azure/iot-identity-service/blob/main/ci/install-build-deps.sh with
which resulted in the same error. Where am I going wrong?