Description of problem: $ jruby --version /usr/bin/build-classpath: error: Could not find jffi Java extension for this JVM /usr/bin/build-classpath: error: Could not find jruby-yecht Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found jruby 1.6.2 (ruby-1.8.7-p330) (2011-07-18 1.6.2) (OpenJDK 64-Bit Server VM 1.6.0_22) [linux-amd64-java] This leads to the following issue: $ jruby -J-Xmx1024m -I/usr/share/jruby/lib/native/ -S irb /usr/bin/build-classpath: error: Could not find jffi Java extension for this JVM /usr/bin/build-classpath: error: Could not find jruby-yecht Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found irb(main):001:0> require 'guestfs' LoadError: load error: _guestfs -- java.lang.NoClassDefFoundError: com/kenai/jffi/Library from org/jruby/RubyKernel.java:1038:in `require' from /usr/share/jruby/lib/ruby/site_ruby/1.8/guestfs.rb:18:in `(root)' from org/jruby/RubyKernel.java:1038:in `require' from /usr/share/jruby/lib/ruby/site_ruby/1.8/guestfs.rb:1:in `evaluate' from org/jruby/RubyKernel.java:1088:in `eval' from /usr/share/jruby/lib/ruby/1.8/irb.rb:158:in `eval_input' from /usr/share/jruby/lib/ruby/1.8/irb.rb:271:in `signal_status' from /usr/share/jruby/lib/ruby/1.8/irb.rb:155:in `eval_input' from org/jruby/RubyKernel.java:1419:in `loop' from org/jruby/RubyKernel.java:1191:in `catch' from /usr/share/jruby/lib/ruby/1.8/irb.rb:154:in `eval_input' from /usr/share/jruby/lib/ruby/1.8/irb.rb:71:in `start' from org/jruby/RubyKernel.java:1191:in `catch' from /usr/share/jruby/lib/ruby/1.8/irb.rb:70:in `start' from /usr/share/jruby/bin/jirb:13:in `(root)' irb(main):002:0> Version-Release number of selected component (if applicable): jruby-1.6.2-2.fc16.noarch
Updated JRuby in rawhide to resolve this. The JRuby jaffl dependency has been updated and renamed to jnr-ffi. This package is required for the updated version of JRuby to work and to resolve this issue. If you have any cycles, a package review would be more than appreciated.
This should be resolved in rawhide as of the following commits http://pkgs.fedoraproject.org/gitweb/?p=jruby.git;a=commitdiff;h=61ce23ca1e40f7e88c222a6906d8d64d36947694 http://pkgs.fedoraproject.org/gitweb/?p=jruby.git;a=commitdiff;h=8d0234eb2c1876c02a5e0fb618bd40fbf18f7e6a