Compiling openssl-sys on aarch64-unknown-linux-gnu, which uses cc fails with the following error:
--- stderr
make: *** read jobs pipe: Resource temporarily unavailable. Stop.
make: *** Waiting for unfinished jobs....
thread 'main' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-src-300.2.3+3.2.1/src/lib.rs:611:9:
Error building OpenSSL:
Command: cd "/target/aarch64-unknown-linux-gnu/release/build/openssl-sys-6a5ed052a12e98be/out/openssl-build/build/src" && MAKEFLAGS="-j --jobserver-fds=7,8 --jobserver-auth=7,8" "make" "build_libs"
Exit status: exit status: 2
This is a known issue with building openssl on this platform using parallelism:
rust-lang/cargo#13476
rust-openssl/rust-openssl#2179
However, the parallel feature is not enabled by openssl-sys and compiling with the exact same version of openssl-sys but using cc 1.0.83 succeeds, which leads me to believe there is a breaking change or bug in the 1.0.86 version.