Bug 723191 - Could not find jffi Java extension for this JVM
Summary: Could not find jffi Java extension for this JVM
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: jruby
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mo Morsi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 727543
Blocks: 691659
TreeView+ depends on / blocked
 
Reported: 2011-07-19 10:49 UTC by Marek Goldmann
Modified: 2012-01-20 21:57 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-01-20 21:57:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marek Goldmann 2011-07-19 10:49:14 UTC
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

Comment 1 Mo Morsi 2011-08-02 12:25:15 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.