-
Notifications
You must be signed in to change notification settings - Fork 413
libgit2-sys
fails to build with vendored openssl because of misconfigured cc
parallelism
#1026
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
Comments
Enabled in 92491db |
IGI-111
added a commit
to IGI-111/git2-rs
that referenced
this issue
Feb 23, 2024
This reverts commit 92491db. Disable parallel feature of cc by default which breaks build of vendored openssl on aarch64 plateform. Fixes rust-lang#1026
IGI-111
added a commit
to IGI-111/git2-rs
that referenced
this issue
Feb 23, 2024
This reverts commit 92491db. Disable parallel feature of cc by default which breaks build of vendored openssl. Fixes rust-lang#1026
Could you try make 4.4.1 please? |
It does indeed work with that version. I'll close this in favor of your cc PR since it seems to fix the underlying issue. |
cc 1.0.87 has released which should fix this |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
libgit2-sys
enables theparallel
feature ofcc
by default, however when buildinglibgit2-sys
with thevendored-openssl
feature, this contaminates thecc
run ofopenssl-sys
with parallel flags and produces the following error:This is a known issue with building openssl using parallelism:
rust-lang/cargo#13476
sfackler/rust-openssl#2179
rust-lang/cc-rs#964
In other words,
cc/parallel
is mutually exclusive withopenssl-sys/vendored
when building yetlibgit2-sys
potentially enables both.The text was updated successfully, but these errors were encountered: