-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
source build: fix openssl race in installing libssh2 #59141
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
source build: fix openssl race in installing libssh2 #59141
Conversation
Actually seems like a common pattern so I update the remainder? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depending on pseudo targets will cause bad things to happen. You must depend on the manifest file for reliable correctness.
ok. The issue this tried to fix was
|
This comment was marked as outdated.
This comment was marked as outdated.
Actually, I think this may always be failing on that particular bot (we just don't run it very often). It's possible we don't see it locally because the build picks up system openssl. |
Yeah:
|
Addresses the same CI failure that #59141 was intended to address. The issue here is twofold. First, in a source build, we failed to install openssl header files. Second, even if we had done this, libssh needs to be explicitly told where to find openssl, otherwise it might prefer systme files.
Addresses the same CI failure that #59141 was intended to address. The issue here is twofold. First, in a source build, we failed to install openssl header files. Second, even if we had done this, libssh needs to be explicitly told where to find openssl, otherwise it might prefer systme files.
Addresses the same CI failure that #59141 was intended to address. The issue here is twofold. First, in a source build, we failed to install openssl header files. Second, even if we had done this, libssh needs to be explicitly told where to find openssl, otherwise it might prefer systme files.
Addresses the same CI failure that #59141 was intended to address. The issue here is twofold. First, in a source build, we failed to install openssl header files. Second, even if we had done this, libssh needs to be explicitly told where to find openssl, otherwise it might prefer systme files. (cherry picked from commit 5ddd721)
Change libssh2 to depend on
install-openssl
instead of just the manifest file to ensure OpenSSL is fully installed before libssh2 configuration.Fixes build failures where libssh2 CMake configuration runs before OpenSSL installation is complete, causing "Could NOT find OpenSSL" errors.
Claude suggested this based on https://buildkite.com/julialang/julia-buildkite-scheduled/builds/1333#01985642-15fe-4526-ac73-1cbbd40d85b4