Skip to content

RDoc 8 breaks Jruby due to rbs dependency. #1746

Description

@jcoyne
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/gems/shared/gems/rbs-4.0.3/ext/rbs_extension
/home/runner/.rubies/jruby-10.1.0.0/bin/jruby extconf.rb
checking for whether -std=gnu99 is accepted as CFLAGS... *** 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.
Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/home/runner/.rubies/jruby-10.1.0.0/bin/jruby
RuntimeError: The compiler failed to generate an executable file.
You have to install development tools first.
try_do at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:456
try_compile at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:571
with_werror at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:522
try_compile at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:571
try_cflags at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:635
append_cflags at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:641
checking_for at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:942
postpone at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:350
open at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:320
postpone at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:350
open at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:320
postpone at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:346
checking_for at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:941
append_cflags at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:640
           each at org/jruby/RubyArrayNative.java:1729
append_cflags at
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/stdlib/mkmf.rb:639
         <main> at extconf.rb:14
To see why this extension failed to compile, please check the mkmf.log which can
be found here:
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/gems/shared/extensions/universal-java/4.0.0/rbs-4.0.3/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/gems/shared/gems/rbs-4.0.3 for
inspection.
Results logged to
/home/runner/.rubies/jruby-10.1.0.0/lib/ruby/gems/shared/extensions/universal-java/4.0.0/rbs-4.0.3/gem_make.out

cc @headius

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions