Closed
Description
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
/home/runner/.rubies/truffleruby-head/bin/ruby --version
truffleruby 24.0.0-dev-9a84a125, like ruby 3.2.2, GraalVM CE Native [x86_64-linux]
https://github.com/ruby/openssl/actions/runs/6974797041/job/18981006346#step:4:20
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/home/runner/.rubies/truffleruby-head/lib/gems/gems/stringio-3.0.9/ext/stringio
/home/runner/.rubies/truffleruby-head/bin/ruby extconf.rb
creating Makefile
current directory:
/home/runner/.rubies/truffleruby-head/lib/gems/gems/stringio-3.0.9/ext/stringio
make DESTDIR\= sitearchdir\=./.gem.20231123-1869-nljcsp
sitelibdir\=./.gem.20231123-1869-nljcsp clean
current directory:
/home/runner/.rubies/truffleruby-head/lib/gems/gems/stringio-3.0.9/ext/stringio
make DESTDIR\= sitearchdir\=./.gem.20231123-1869-nljcsp
sitelibdir\=./.gem.20231123-1869-nljcsp
compiling stringio.c
stringio.c: In function ‘readable’:
stringio.c:138:7: error: implicit declaration of function ‘RBASIC’
[-Werror=implicit-function-declaration]
138 | ((RBASIC(strio)->flags & STRIO_##mode) && \
| ^~~~~~
...
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
/home/runner/.rubies/truffleruby-23.1.1/bin/ruby --version
truffleruby 23.1.1, like ruby 3.2.2, Oracle GraalVM Native [x86_64-linux]
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.
Metadata
Metadata
Assignees
Labels
No labels