You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Scott Sayles (JIRA)" <ji...@apache.org> on 2010/05/15 05:14:41 UTC
[jira] Commented: (BUILDR-418) jruby exception: `ffi_libraries': no
library specified
[ https://issues.apache.org/jira/browse/BUILDR-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867788#action_12867788 ]
Scott Sayles commented on BUILDR-418:
-------------------------------------
I'm also getting this problem. I attempted with:
jruby-1.5.0
buildr-2.1.2
java 1.6.0_07 64bit
mac os x
$ jruby -S buildr
/opt/local/jruby/lib/ruby/site_ruby/shared/ffi/library.rb:46:in `ffi_libraries': no library specified (LoadError)
from /opt/local/jruby/lib/ruby/site_ruby/shared/ffi/library.rb:96:in `attach_function'
from /opt/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/lib/buildr/core/util.rb:410
from /opt/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/lib/buildr/core/util.rb:31:in `require'
from /opt/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /opt/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/lib/buildr/core/common.rb:18
from /opt/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/lib/buildr/core/common.rb:31:in `require'
from /opt/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /opt/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/lib/buildr/core.rb:22
from /opt/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/lib/buildr/core.rb:31:in `require'
from /opt/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /opt/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/lib/buildr.rb:20
from /opt/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/lib/buildr.rb:31:in `require'
from /opt/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /opt/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/bin/buildr:18
from /opt/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/bin/buildr:19:in `load'
from /opt/local/jruby/bin/buildr:19
$ jruby -S gem list
*** LOCAL GEMS ***
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
Antwrap (0.7.0)
archive-tar-minitar (0.5.2)
builder (2.1.2)
buildr (1.3.5)
columnize (0.3.1)
highline (1.5.1)
hoe (2.3.3)
jruby-jars (1.4.0)
jruby-openssl (0.5.2)
net-sftp (2.0.2)
net-ssh (2.0.15)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rspec (1.3.0, 1.2.8)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3.2)
rubyforge (1.0.5)
rubyzip (0.9.1)
sources (0.0.1)
warbler (0.9.14)
xml-simple (1.0.12)
If I drop down to jruby 1.4, it works. I initially tried to use the Ruby version but rjb wouldn't cooperate (Can't create VM errors) even when running 32-bit soylatte java.
> jruby exception: `ffi_libraries': no library specified
> -------------------------------------------------------
>
> Key: BUILDR-418
> URL: https://issues.apache.org/jira/browse/BUILDR-418
> Project: Buildr
> Issue Type: Bug
> Components: JRuby
> Environment: OS X 10.5.8
> jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2010-03-30 93dcb70) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_13) [x86_64-java]
> $ gem list
> *** LOCAL GEMS ***
> Antwrap (0.7.0)
> archive-tar-minitar (0.5.2)
> builder (2.1.2)
> ffi (0.6.3, 0.6.2)
> highline (1.5.1)
> hoe (2.3.3)
> jruby-openssl (0.6, 0.5.2)
> net-sftp (2.0.2)
> net-ssh (2.0.15, 2.0.14)
> rake (0.8.7)
> rspec (1.2.8)
> rubyforge (1.0.5)
> rubyzip (0.9.1)
> xml-simple (1.0.12)
> Reporter: Nate Murray
>
> Trying to compile seems to crash with an ffi library in my environment:
> jruby /Users/nmurray/programming/ruby/buildr/_jbuildr --buildfile buildr.buildfile compile --trace
> /Users/nmurray/programming/ruby/buildr/_jbuildr:24:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
> /Users/nmurray/.rvm/rubies/jruby-head/lib/ruby/site_ruby/shared/ffi/library.rb:46:in `ffi_libraries': no library specified (LoadError)
> from /Users/nmurray/.rvm/rubies/jruby-head/lib/ruby/site_ruby/shared/ffi/library.rb:75:in `attach_function'
> from /Users/nmurray/programming/ruby/buildr/lib/buildr/core/util.rb:413
> from /Users/nmurray/programming/ruby/buildr/lib/buildr/core/util.rb:31:in `require'
> from /Users/nmurray/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
> from /Users/nmurray/programming/ruby/buildr/lib/buildr/core/common.rb:18
> from /Users/nmurray/programming/ruby/buildr/lib/buildr/core/common.rb:31:in `require'
> from /Users/nmurray/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
> from /Users/nmurray/programming/ruby/buildr/lib/buildr/core.rb:22
> from /Users/nmurray/programming/ruby/buildr/lib/buildr/core.rb:31:in `require'
> from /Users/nmurray/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
> from /Users/nmurray/programming/ruby/buildr/lib/buildr.rb:20
> from /Users/nmurray/programming/ruby/buildr/lib/buildr.rb:31:in `require'
> from /Users/nmurray/.rvm/rubies/jruby-head/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
> from /Users/nmurray/programming/ruby/buildr/_jbuildr:28
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.