-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Labels
Milestone
Description
Looks like an issue with the jffi lib for AIX. This error occurs when loading a bare rails app as well as assets:precompile (so I used that trace for simplicity)
Output of some other troubleshooting task I read thus far:
jruby -v -e 'File.stat("/tmp")'
jruby 1.7.4.dev (1.9.3p385) 2013-03-13 4f459db on IBM J9 VM pap3260sr10-20111208_01 (SR10) [AIX-ppc]
jruby -v -w -rffi -e 'p FFI::Platform::ARCH'
jruby 1.7.4.dev (1.9.3p385) 2013-03-13 4f459db on IBM J9 VM pap3260sr10-20111208_01 (SR10) [AIX-ppc]
LoadError: Could not load FFI Provider: (NotImplementedError) FFI not available: null
See http://jira.codehaus.org/browse/JRUBY-4583
require at org/jruby/RubyKernel.java:1028
require at /dsap/gpfs/home/jstone1/jruby/lib/ruby/shared/rubygems/custom_require.rb:36
(root) at /dsap/gpfs/home/jstone1/jruby/lib/ruby/shared/ffi/ffi.rb:69
require at org/jruby/RubyKernel.java:1028
(root) at /dsap/gpfs/home/jstone1/jruby/lib/ruby/shared/rubygems/custom_require.rb:1
require at /dsap/gpfs/home/jstone1/jruby/lib/ruby/shared/rubygems/custom_require.rb:36
require at org/jruby/RubyKernel.java:1028
(root) at /dsap/gpfs/home/jstone1/jruby/lib/ruby/shared/ffi.rb:1
jruby -rffi -e 'module LibC; extend FFI::Library; ffi_lib "c"; attach_function :getpid, [], :pid_t;end; p LibC.getpid'
LoadError: Could not load FFI Provider: (NotImplementedError) FFI not available: null
See http://jira.codehaus.org/browse/JRUBY-4583
require at org/jruby/RubyKernel.java:1028
require at /dsap/gpfs/home/jstone1/jruby/lib/ruby/shared/rubygems/custom_require.rb:36
(root) at /dsap/gpfs/home/jstone1/jruby/lib/ruby/shared/ffi/ffi.rb:69
require at org/jruby/RubyKernel.java:1028
(root) at /dsap/gpfs/home/jstone1/jruby/lib/ruby/shared/rubygems/custom_require.rb:1
require at /dsap/gpfs/home/jstone1/jruby/lib/ruby/shared/rubygems/custom_require.rb:36
require at org/jruby/RubyKernel.java:1028
(root) at /dsap/gpfs/home/jstone1/jruby/lib/ruby/shared/ffi.rb:1
** Invoke assets:precompile (first_time)
** Execute assets:precompile
/dsap/gpfs/home/jstone1/jruby/bin/jruby /dsap/gpfs/home/jstone1/jruby/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
** Invoke assets:precompile:all (first_time)
** Execute assets:precompile:all
** Invoke assets:precompile:primary (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Invoke tmp:cache:clear (first_time)
** Execute assets:precompile:primary
rake aborted!
stat.st_gid unsupported or native support failed to load
org/jruby/RubyFileStat.java:429:in `gid'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.12/lib/active_support/core_ext/file/atomic.rb:39:in `atomic_write'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.12/lib/active_support/cache/file_store.rb:91:in `write_entry'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:140:in `write_entry'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.12/lib/active_support/cache.rb:364:in `write'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.12/lib/active_support/cache.rb:520:in `instrument'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/activesupport-3.2.12/lib/active_support/cache.rb:362:in `write'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/sprockets-2.2.2/lib/sprockets/caching.rb:90:in `cache_set'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/sprockets-2.2.2/lib/sprockets/caching.rb:53:in `cache_set_hash'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/sprockets-2.2.2/lib/sprockets/caching.rb:24:in `cache_asset'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in `build_asset'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in `find_asset'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in `find_asset'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/actionpack-3.2.12/lib/sprockets/static_compiler.rb:19:in `compile'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/sprockets-2.2.2/lib/sprockets/base.rb:219:in `each_logical_path'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/sprockets-2.2.2/lib/sprockets/base.rb:206:in `each_file'
org/jruby/RubyArray.java:1614:in `each'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each_entry'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/sprockets-2.2.2/lib/sprockets/base.rb:204:in `each_file'
org/jruby/RubyArray.java:1614:in `each'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each_file'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/sprockets-2.2.2/lib/sprockets/base.rb:217:in `each_logical_path'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/actionpack-3.2.12/lib/sprockets/static_compiler.rb:18:in `compile'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/actionpack-3.2.12/lib/sprockets/assets.rake:56:in `internal_precompile'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/actionpack-3.2.12/lib/sprockets/assets.rake:70:in `(root)'
org/jruby/RubyProc.java:256:in `call'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:228:in `execute'
org/jruby/RubyArray.java:1614:in `each'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:223:in `execute'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:166:in `invoke_with_call_chain'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:159:in `invoke_with_call_chain'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:152:in `invoke'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/actionpack-3.2.12/lib/sprockets/assets.rake:60:in `(root)'
org/jruby/RubyProc.java:256:in `call'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:228:in `execute'
org/jruby/RubyArray.java:1614:in `each'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:223:in `execute'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:166:in `invoke_with_call_chain'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:159:in `invoke_with_call_chain'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:152:in `invoke'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:143:in `invoke_task'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:101:in `top_level'
org/jruby/RubyArray.java:1614:in `each'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:101:in `top_level'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:110:in `run_with_threads'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:95:in `top_level'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:73:in `run'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:160:in `standard_exception_handling'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:70:in `run'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/bin/rake:33:in `(root)'
org/jruby/RubyKernel.java:1047:in `load'
/dsap/gpfs/home/jstone1/jruby/bin/rake:23:in `(root)'
Tasks: TOP => assets:precompile:primary
rake aborted!
Command failed with status (1): [/dsap/gpfs/home/jstone1/jruby/bin/jruby /d...]
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/file_utils.rb:53:in `create_shell_runner'
org/jruby/RubyProc.java:256:in `call'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/file_utils.rb:45:in `sh'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/file_utils_ext.rb:44:in `sh'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/file_utils.rb:80:in `ruby'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/file_utils_ext.rb:44:in `ruby'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/actionpack-3.2.12/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/actionpack-3.2.12/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/actionpack-3.2.12/lib/sprockets/assets.rake:29:in `(root)'
org/jruby/RubyProc.java:256:in `call'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:228:in `execute'
org/jruby/RubyArray.java:1614:in `each'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:223:in `execute'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:166:in `invoke_with_call_chain'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:159:in `invoke_with_call_chain'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/task.rb:152:in `invoke'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:143:in `invoke_task'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:101:in `top_level'
org/jruby/RubyArray.java:1614:in `each'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:101:in `top_level'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:110:in `run_with_threads'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:95:in `top_level'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:73:in `run'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:160:in `standard_exception_handling'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/lib/rake/application.rb:70:in `run'
/dsap/gpfs/home/jstone1/jruby/lib/ruby/gems/shared/gems/rake-10.0.3/bin/rake:33:in `(root)'
org/jruby/RubyKernel.java:1047:in `load'
/dsap/gpfs/home/jstone1/jruby/bin/rake:23:in `(root)'
Tasks: TOP => assets:precompile
Reactions are currently unavailable