-
Notifications
You must be signed in to change notification settings - Fork 185
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
OpenSSL extension fails to build on TruffleRuby 24.2.0-dev #3724
Comments
This looks a bit like a wrongly cached i.e. the check at truffleruby/src/main/c/openssl/extconf.rb Lines 132 to 138 in 49a4475
doesn't catch changing to a different libssl, which the default changed since 9ddc5e8 |
If that's not it, I would guess somehow the extconf.rb checks and the compilations end up using different openssl or a mix of openssl versions (e.g. one version for headers, one version for libssl). |
I performed a With that said, I found a fix on Linux. I use Linuxbrew and an update pulled in OpenSSL 3.4.0. Either the extension doesn't yet support it or my Linuxbrew installation is broken. Pulling it off the I still haven't got a solution on macOS, other than sticking with OpenSSL 1.1.1. It might be that OpenSSL 3.4.0 doesn't work with the extension. But, then I don't know why truffleruby-dev can build a functional extension. I'll have to spend some more time trying to debug this. |
Same issue in https://github.com/ruby/truffleruby-dev-builder/actions/runs/11985521615/job/33417531063
|
@andrykonchin Could you investigate this soon? It prevents new dev builds to succeed on macos-14. It also sounds similar to ruby/openssl#650 |
The hotfix is merged in 47f7d0e |
I'm unable to build TruffleRuby from source on both macOS and Linux due to compilation issue with the OpenSSL extension using OpenSSL 3. The extension will compile with OpenSSL 1.1, but that's difficult to set up on Linux. The truffleruby-dev builds from ruby-build are also impacted, with the extension failing to compile.
This appears to have been broken when the CRuby 3.3 sources were imported.
The text was updated successfully, but these errors were encountered: