-
Notifications
You must be signed in to change notification settings - Fork 172
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
truffleruby-head 24.0.0-dev: Failing to compile dependant stringio gem. #699
Comments
@eregon Do you have any idea about how to fix the issue? Could you send a PR to fix it? Thanks. |
Thanks for the ping. |
BTW it seems a bit weird that ruby/openssl depends on the stringio gem. |
* Before this it was compiled but not used, because TruffleRuby has a stringio.rb in stdlib and .rb has precedence over .so. In fact that extension never worked on TruffleRuby, because rb_io_extract_modeenc() has never been defined on TruffleRuby. * So this just skip compiling the extension since compilation of it now fails: ruby/openssl#699
Thanks for your work! For the rdoc dependency in the |
Do you know why openssl needs rdoc at all? I would think running openssl tests doesn't need it. |
Yes, because the Lines 37 to 40 in 27237de
|
I sent the PR #701 to pass CI avoiding this issue. |
* Before this it was compiled but not used, because TruffleRuby has a stringio.rb in stdlib and .rb has precedence over .so. In fact that extension never worked on TruffleRuby, because rb_io_extract_modeenc() has never been defined on TruffleRuby. * So this just skip compiling the extension since compilation of it now fails: ruby/openssl#699
* Before this it was compiled but not used, because TruffleRuby has a stringio.rb in stdlib and .rb has precedence over .so. In fact that extension never worked on TruffleRuby, because rb_io_extract_modeenc() has never been defined on TruffleRuby. * So this just skip compiling the extension since compilation of it now fails: ruby/openssl#699
* Before this it was compiled but not used, because TruffleRuby has a stringio.rb in stdlib and .rb has precedence over .so. In fact that extension never worked on TruffleRuby, because rb_io_extract_modeenc() has never been defined on TruffleRuby. * So this just skip compiling the extension since compilation of it now fails: ruby/openssl#699 ruby/stringio@d791b63df6
As stringio version 3.1.0 including the ruby/stringio#71 was released, I ran the GitHub Actions on my forked repository for the latest master branch. Right now stringio version 3.0.9 is downloaded in the CI. GitHub has a cache for that? Maybe we need to wait. https://github.com/junaruga/ruby-openssl/actions/runs/7013145579/job/19078824139#step:4:15 |
I can reproduce it locally, also on CRuby.
|
Also:
|
I filed rubygems/rubygems#7202 |
I confirmed that the trufeeruby-head cases work with the stringio gem version 3.1.0. I would close this ticket. Thank you for your work! https://github.com/junaruga/ruby-openssl/actions/runs/7073768368/job/19254089972#step:4:17 |
I see the following build errors in the truffleruby-head cases in CI.
https://github.com/ruby/openssl/actions/runs/6974797041/job/18981006346#step:3:20
https://github.com/ruby/openssl/actions/runs/6974797041/job/18981006346#step:4:20
In the past CI result where the truffleruby-head pass, the truffleruby version was 23.1.1. So, I guess the the new version
24.0.0-dev
triggered the error.https://github.com/ruby/openssl/actions/runs/6894870154/job/18757626125#step:3:19
In both passed and failing cases, the stringio gem version 3.0.9 are used. So, I don't think the stringio triggered the issue.
The text was updated successfully, but these errors were encountered: