You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A check for the flag -std=gnu99 appears to fail and prevent generating the Makefile on JRuby. Other gems with "plain" C libraries seem to install correctly on this system (JRuby, Java 21, MacOS 15):
$ bundle exec rake compile
Source locally installed gems is ignoring #<Bundler::StubSpecification name=resolv version=0.6.0 platform=ruby> because it is missing extensions
🚨🚨🚨🚨 Skipping RubyMemcheck: #<LoadError: no such file to load -- ruby_memcheck> 🚨🚨🚨🚨
mkdir -p tmp/java/rbs_extension/3.4.2
cd tmp/java/rbs_extension/3.4.2
/Users/headius/work/jruby/bin/jruby -I. ../../../../ext/rbs_extension/extconf.rb
checking for whether -std=gnu99 is accepted as CFLAGS... *** ../../../../ext/rbs_extension/extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
I have not investigated this yet myself.
Note that in order to bundle, some gems need to be masked out as described in #2432.
The text was updated successfully, but these errors were encountered:
$ bundle exec rake compile
Source locally installed gems is ignoring #<Bundler::StubSpecification name=resolv version=0.6.0 platform=ruby> because it is missing extensions
🚨🚨🚨🚨 Skipping RubyMemcheck: #<LoadError: no such file to load -- ruby_memcheck> 🚨🚨🚨🚨
cd tmp/java/rbs_extension/3.4.2
/Users/headius/work/jruby/bin/jruby -I. ../../../../ext/rbs_extension/extconf.rb
Source locally installed gems is ignoring #<Bundler::StubSpecification name=resolv version=0.6.0 platform=ruby> because it is missing extensions
creating Makefile
cd -
⚠️⚠️⚠️ ext/rbs_extension/lexer.c is older than ext/rbs_extension/lexer.re. You may need to run `rake lexer` ⚠️⚠️⚠️
Compiling a native C extension on JRuby. This is discouraged and a
Java extension should be preferred.
cd tmp/java/rbs_extension/3.4.2
/usr/bin/make
make: *** No rule to make target `/Users/headius/work/jruby/lib/ruby/include/ruby/ruby.h', needed by `constants.o'. Stop.
rake aborted!
Command failed with status (2): [/usr/bin/make]
A check for the flag
-std=gnu99
appears to fail and prevent generating the Makefile on JRuby. Other gems with "plain" C libraries seem to install correctly on this system (JRuby, Java 21, MacOS 15):I have not investigated this yet myself.
Note that in order to bundle, some gems need to be masked out as described in #2432.
The text was updated successfully, but these errors were encountered: