hiera-eyaml icon indicating copy to clipboard operation
hiera-eyaml copied to clipboard

Error during hiera-eyaml gem installation

Open alexeysmovzh opened this issue 4 years ago • 0 comments

OS: debian buster 10.6.0 puppetserver version: 6.13.0

On installing hiera-eyaml gem got error (look at commands output below) I'm don't know anything about ruby gems, but as i understand in newest jruby versions options '--no-rdoc --no-ri' was removed and replaced with '--no-document'. So gems which are was not updated to new option cause this error. With option '--no-document' gem was installed successfully.

root@puppet-server:~# gem install hiera-eyaml Fetching: hiera-eyaml-3.2.0.gem (100%) Successfully installed hiera-eyaml-3.2.0 Parsing documentation for hiera-eyaml-3.2.0 Installing ri documentation for hiera-eyaml-3.2.0 Done installing documentation for hiera-eyaml after 1 seconds 1 gem installed

root@puppet-server:~# puppetserver gem install hiera-eyaml WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/tmp/jruby-786/jruby630380807647014883jopenssl.jar) to field java.security.MessageDigest.provider WARNING: Please consider reporting this to the maintainers of org.jruby.ext.openssl.SecurityHelper WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Fetching hiera-eyaml-3.2.0.gem Successfully installed hiera-eyaml-3.2.0 LoadError: load error: rdoc/rdoc -- java.lang.IllegalArgumentException: Neither current working directory (classpath:/puppetserver-lib) nor pathname (rdoc/discover) led to an absolute path require at org/jruby/RubyKernel.java:974 require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54 load_rdoc at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rdoc/rubygems_hook.rb:73 setup at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rdoc/rubygems_hook.rb:238 generate at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rdoc/rubygems_hook.rb:151 generation_hook at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rdoc/rubygems_hook.rb:56 each at org/jruby/RubyArray.java:1809 generation_hook at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rdoc/rubygems_hook.rb:55 install_hooks at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/request_set.rb:323 each at org/jruby/RubyArray.java:1809 install_hooks at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/request_set.rb:322 install at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/request_set.rb:221 install_gem at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/commands/install_command.rb:212 install_gems at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/commands/install_command.rb:264 each at org/jruby/RubyArray.java:1809 install_gems at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/commands/install_command.rb:258 execute at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/commands/install_command.rb:165 invoke_with_build_args at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/command.rb:321 process_args at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/command_manager.rb:184 run at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/command_manager.rb:148 run at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/gem_runner.rb:59

at /opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/bin/jgem:21 load at org/jruby/RubyKernel.java:1009
at /opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/bin/gem:4 load at org/jruby/RubyKernel.java:1009
at -e:1

root@puppet-server:~# puppetserver gem install hiera-eyaml --no-document WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/tmp/jruby-836/jruby3743747224455069540jopenssl.jar) to field java.security.MessageDigest.provider WARNING: Please consider reporting this to the maintainers of org.jruby.ext.openssl.SecurityHelper WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Successfully installed hiera-eyaml-3.2.0 1 gem installed

alexeysmovzh avatar Oct 12 '20 21:10 alexeysmovzh