the packages seems to be missing config files for both arm64 and
ppc64el. However running the script to generate these config files
fails:

Script started on Wed Jan 22 13:53:52 2014
(t-doko)doko@arm64:~/tmp/ruby-ffi-1.9.3$ debian/rules gen_arch_config
(cd ext/ffi_c && ruby extconf.rb && make && cp ffi_c.so ../../lib)
checking for ffi_call() in -lffi... yes
checking for ffi_prep_closure()... yes
checking for ffi_raw_call()... yes
checking for ffi_prep_raw_closure()... yes
checking for rb_thread_blocking_region()... yes
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
checking for ffi_prep_cif_var()... yes
creating extconf.h
creating Makefile
make[1]: Entering directory `/home/doko/tmp/ruby-ffi-1.9.3/ext/ffi_c'
linking shared-object ffi_c.so
make[1]: Leaving directory `/home/doko/tmp/ruby-ffi-1.9.3/ext/ffi_c'
(cd gen && rake)
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36: [BUG] Segmentation fault
ruby 1.9.3p484 (2013-11-22 revision 43786) [aarch64-linux]

-- Control frame information -----------------------------------------------
c:0028 p:---- s:0099 b:0099 l:000098 d:000098 CFUNC  :require
c:0027 p:0036 s:0095 b:0095 l:000094 d:000094 METHOD 
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36
c:0026 p:0023 s:0088 b:0088 l:000087 d:000087 TOP    
/home/doko/tmp/ruby-ffi-1.9.3/lib/ffi/struct.rb:35
c:0025 p:---- s:0086 b:0086 l:000085 d:000085 FINISH
c:0024 p:---- s:0084 b:0084 l:000083 d:000083 CFUNC  :require
c:0023 p:0036 s:0080 b:0080 l:000079 d:000079 METHOD 
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36
c:0022 p:0083 s:0073 b:0073 l:000072 d:000072 TOP    
/home/doko/tmp/ruby-ffi-1.9.3/lib/ffi/ffi.rb:37
c:0021 p:---- s:0071 b:0071 l:000070 d:000070 FINISH
c:0020 p:---- s:0069 b:0069 l:000068 d:000068 CFUNC  :require
c:0019 p:0036 s:0065 b:0065 l:000064 d:000064 METHOD 
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36
c:0018 p:0174 s:0058 b:0058 l:000057 d:000057 TOP    
/home/doko/tmp/ruby-ffi-1.9.3/lib/ffi.rb:17
c:0017 p:---- s:0056 b:0056 l:000055 d:000055 FINISH
c:0016 p:---- s:0054 b:0054 l:000053 d:000053 CFUNC  :require
c:0015 p:0036 s:0050 b:0050 l:000049 d:000049 METHOD 
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36
c:0014 p:0066 s:0043 b:0043 l:000042 d:000042 TOP    
/home/doko/tmp/ruby-ffi-1.9.3/gen/Rakefile:3
c:0013 p:---- s:0039 b:0039 l:000038 d:000038 FINISH
c:0012 p:---- s:0037 b:0037 l:000036 d:000036 CFUNC  :load
c:0011 p:0013 s:0033 b:0033 l:000032 d:000032 METHOD 
/usr/lib/ruby/vendor_ruby/rake/rake_module.rb:25
c:0010 p:0252 s:0029 b:0029 l:000028 d:000028 METHOD 
/usr/lib/ruby/vendor_ruby/rake/application.rb:589
c:0009 p:0009 s:0024 b:0024 l:000017 d:000023 BLOCK  
/usr/lib/ruby/vendor_ruby/rake/application.rb:89
c:0008 p:0009 s:0022 b:0022 l:000021 d:000021 METHOD 
/usr/lib/ruby/vendor_ruby/rake/application.rb:160
c:0007 p:0011 s:0018 b:0018 l:000017 d:000017 METHOD 
/usr/lib/ruby/vendor_ruby/rake/application.rb:88
c:0006 p:0019 s:0015 b:0015 l:000008 d:000014 BLOCK  
/usr/lib/ruby/vendor_ruby/rake/application.rb:72
c:0005 p:0009 s:0013 b:0013 l:000012 d:000012 METHOD 
/usr/lib/ruby/vendor_ruby/rake/application.rb:160
c:0004 p:0011 s:0009 b:0009 l:000008 d:000008 METHOD 
/usr/lib/ruby/vendor_ruby/rake/application.rb:70
c:0003 p:0033 s:0006 b:0006 l:000828 d:0023b8 EVAL   /usr/bin/rake:27
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000828 d:000828 TOP   

-- Ruby level backtrace information ----------------------------------------
/usr/bin/rake:27:in `<main>'
/usr/lib/ruby/vendor_ruby/rake/application.rb:70:in `run'
/usr/lib/ruby/vendor_ruby/rake/application.rb:160:in 
`standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:72:in `block in run'
/usr/lib/ruby/vendor_ruby/rake/application.rb:88:in `load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:160:in 
`standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:89:in `block in load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:589:in `raw_load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/rake_module.rb:25:in `load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/rake_module.rb:25:in `load'
/home/doko/tmp/ruby-ffi-1.9.3/gen/Rakefile:3:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/home/doko/tmp/ruby-ffi-1.9.3/lib/ffi.rb:17:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/home/doko/tmp/ruby-ffi-1.9.3/lib/ffi/ffi.rb:37:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/home/doko/tmp/ruby-ffi-1.9.3/lib/ffi/struct.rb:35:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'

-- C level backtrace information -------------------------------------------
/usr/lib/libruby-1.9.1.so.1.9(+0x14299c) [0x200018799c]

-- Other runtime information
-----------------------------------------------

* Loaded script: /usr/bin/rake

* Loaded features:

    0 enumerator.so
    1 /usr/lib/ruby/1.9.1/aarch64-linux/enc/encdb.so
    2 /usr/lib/ruby/1.9.1/aarch64-linux/enc/trans/transdb.so
    3 /usr/lib/ruby/1.9.1/rubygems/defaults.rb
    4 /usr/lib/ruby/1.9.1/aarch64-linux/rbconfig.rb
    5 /usr/lib/ruby/1.9.1/rubygems/deprecate.rb
    6 /usr/lib/ruby/1.9.1/rubygems/exceptions.rb
    7 /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb
    8 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb
    9 /usr/lib/ruby/1.9.1/rubygems.rb
   10 /usr/lib/ruby/vendor_ruby/rake/version.rb
   11 /usr/lib/ruby/1.9.1/aarch64-linux/etc.so
   12 /usr/lib/ruby/1.9.1/fileutils.rb
   13 /usr/lib/ruby/1.9.1/thread.rb
   14 /usr/lib/ruby/1.9.1/singleton.rb
   15 /usr/lib/ruby/1.9.1/monitor.rb
   16 /usr/lib/ruby/1.9.1/optparse.rb
   17 /usr/lib/ruby/1.9.1/ostruct.rb
   18 /usr/lib/ruby/vendor_ruby/rake/ext/module.rb
   19 /usr/lib/ruby/vendor_ruby/rake/ext/core.rb
   20 /usr/lib/ruby/vendor_ruby/rake/ext/string.rb
   21 /usr/lib/ruby/vendor_ruby/rake/early_time.rb
   22 /usr/lib/ruby/vendor_ruby/rake/ext/time.rb
   23 /usr/lib/ruby/vendor_ruby/rake/alt_system.rb
   24 /usr/lib/ruby/vendor_ruby/rake/win32.rb
   25 /usr/lib/ruby/vendor_ruby/rake/task_argument_error.rb
   26 /usr/lib/ruby/vendor_ruby/rake/rule_recursion_overflow_error.rb
   27 /usr/lib/ruby/1.9.1/shellwords.rb
   28 /usr/lib/ruby/vendor_ruby/rake/task_manager.rb
   29 /usr/lib/ruby/vendor_ruby/rake/cloneable.rb
   30 /usr/lib/ruby/vendor_ruby/rake/file_utils.rb
   31 /usr/lib/ruby/vendor_ruby/rake/file_utils_ext.rb
   32 /usr/lib/ruby/vendor_ruby/rake/pathmap.rb
   33 /usr/lib/ruby/vendor_ruby/rake/file_list.rb
   34 /usr/lib/ruby/1.9.1/set.rb
   35 /usr/lib/ruby/vendor_ruby/rake/promise.rb
   36 /usr/lib/ruby/vendor_ruby/rake/thread_pool.rb
   37 /usr/lib/ruby/vendor_ruby/rake/private_reader.rb
   38 /usr/lib/ruby/vendor_ruby/rake/thread_history_display.rb
   39 /usr/lib/ruby/vendor_ruby/rake/trace_output.rb
   40 /usr/lib/ruby/vendor_ruby/rake/application.rb
   41 /usr/lib/ruby/vendor_ruby/rake/rake_module.rb
   42 /usr/lib/ruby/vendor_ruby/rake/pseudo_status.rb
   43 /usr/lib/ruby/vendor_ruby/rake/task_arguments.rb
   44 /usr/lib/ruby/vendor_ruby/rake/invocation_chain.rb
   45 /usr/lib/ruby/vendor_ruby/rake/invocation_exception_mixin.rb
   46 /usr/lib/ruby/vendor_ruby/rake/task.rb
   47 /usr/lib/ruby/vendor_ruby/rake/file_task.rb
   48 /usr/lib/ruby/vendor_ruby/rake/file_creation_task.rb
   49 /usr/lib/ruby/vendor_ruby/rake/multi_task.rb
   50 /usr/lib/ruby/vendor_ruby/rake/dsl_definition.rb
   51 /usr/lib/ruby/vendor_ruby/rake/default_loader.rb
   52 /usr/lib/ruby/vendor_ruby/rake/name_space.rb
   53 /usr/lib/ruby/vendor_ruby/rake/backtrace.rb
   54 /usr/lib/ruby/vendor_ruby/rake.rb
   55 /usr/lib/ruby/1.9.1/rubygems/version.rb
   56 /usr/lib/ruby/1.9.1/rubygems/requirement.rb
   57 /usr/lib/ruby/1.9.1/rubygems/platform.rb
   58 /usr/lib/ruby/1.9.1/rubygems/specification.rb
   59 /usr/lib/ruby/1.9.1/rubygems/path_support.rb
   60 /usr/lib/ruby/1.9.1/rubygems/dependency.rb
   61 /home/doko/tmp/ruby-ffi-1.9.3/lib/ffi_c.so
   62 /home/doko/tmp/ruby-ffi-1.9.3/lib/ffi/platform.rb
   63 /home/doko/tmp/ruby-ffi-1.9.3/lib/ffi/types.rb
   64 /home/doko/tmp/ruby-ffi-1.9.3/lib/ffi/library.rb
   65 /home/doko/tmp/ruby-ffi-1.9.3/lib/ffi/errno.rb
   66 /home/doko/tmp/ruby-ffi-1.9.3/lib/ffi/pointer.rb
   67 /home/doko/tmp/ruby-ffi-1.9.3/lib/ffi/memorypointer.rb

* Process memory map:

00400000-00401000 r-xp 00000000 08:01 7372612                            
/usr/bin/ruby1.9.1
00410000-00411000 r-xp 00000000 08:01 7372612                            
/usr/bin/ruby1.9.1
00411000-00412000 rwxp 00001000 08:01 7372612                            
/usr/bin/ruby1.9.1
2354f000-23c9c000 rwxp 00000000 00:00 0                                  [heap]
2000000000-200001b000 r-xp 00000000 08:01 7607610                        
/lib/aarch64-linux-gnu/ld-2.18.so
200001b000-200001d000 r-xp 00000000 00:00 0                              [vdso]
200001d000-2000022000 rwxp 00000000 00:00 0 
200002b000-200002c000 r-xp 0001b000 08:01 7607610                        
/lib/aarch64-linux-gnu/ld-2.18.so
200002c000-200002e000 rwxp 0001c000 08:01 7607610                        
/lib/aarch64-linux-gnu/ld-2.18.so
200002e000-2000030000 r-xp 00000000 08:01 7372346                        
/usr/lib/ruby/1.9.1/aarch64-linux/enc/encdb.so
2000030000-200003f000 ---p 00002000 08:01 7372346                        
/usr/lib/ruby/1.9.1/aarch64-linux/enc/encdb.so
200003f000-2000040000 r-xp 00001000 08:01 7372346                        
/usr/lib/ruby/1.9.1/aarch64-linux/enc/encdb.so
2000040000-2000041000 rwxp 00002000 08:01 7372346                        
/usr/lib/ruby/1.9.1/aarch64-linux/enc/encdb.so
2000045000-20001f2000 r-xp 00000000 08:01 7372581                        
/usr/lib/libruby-1.9.1.so.1.9.1
20001f2000-2000201000 ---p 001ad000 08:01 7372581                        
/usr/lib/libruby-1.9.1.so.1.9.1
2000201000-2000206000 r-xp 001ac000 08:01 7372581                        
/usr/lib/libruby-1.9.1.so.1.9.1
2000206000-200020a000 rwxp 001b1000 08:01 7372581                        
/usr/lib/libruby-1.9.1.so.1.9.1
200020a000-2000225000 rwxp 00000000 00:00 0 
2000225000-2000355000 r-xp 00000000 08:01 7602867                        
/lib/aarch64-linux-gnu/libc-2.18.so
2000355000-2000364000 ---p 00130000 08:01 7602867                        
/lib/aarch64-linux-gnu/libc-2.18.so
2000364000-2000368000 r-xp 0012f000 08:01 7602867                        
/lib/aarch64-linux-gnu/libc-2.18.so
2000368000-200036a000 rwxp 00133000 08:01 7602867                        
/lib/aarch64-linux-gnu/libc-2.18.so
200036a000-200036e000 rwxp 00000000 00:00 0 
200036e000-2000384000 r-xp 00000000 08:01 7607598                        
/lib/aarch64-linux-gnu/libpthread-2.18.so
2000384000-2000393000 ---p 00016000 08:01 7607598                        
/lib/aarch64-linux-gnu/libpthread-2.18.so
2000393000-2000394000 r-xp 00015000 08:01 7607598                        
/lib/aarch64-linux-gnu/libpthread-2.18.so
2000394000-2000395000 rwxp 00016000 08:01 7607598                        
/lib/aarch64-linux-gnu/libpthread-2.18.so
2000395000-2000399000 rwxp 00000000 00:00 0 
2000399000-200039b000 r-xp 00000000 08:01 7607601                        
/lib/aarch64-linux-gnu/libdl-2.18.so
200039b000-20003aa000 ---p 00002000 08:01 7607601                        
/lib/aarch64-linux-gnu/libdl-2.18.so
20003aa000-20003ab000 r-xp 00001000 08:01 7607601                        
/lib/aarch64-linux-gnu/libdl-2.18.so
20003ab000-20003ac000 rwxp 00002000 08:01 7607601                        
/lib/aarch64-linux-gnu/libdl-2.18.so
20003ac000-20003b3000 r-xp 00000000 08:01 7607608                        
/lib/aarch64-linux-gnu/libcrypt-2.18.so
20003b3000-20003c2000 ---p 00007000 08:01 7607608                        
/lib/aarch64-linux-gnu/libcrypt-2.18.so
20003c2000-20003c3000 r-xp 00006000 08:01 7607608                        
/lib/aarch64-linux-gnu/libcrypt-2.18.so
20003c3000-20003c4000 rwxp 00007000 08:01 7607608                        
/lib/aarch64-linux-gnu/libcrypt-2.18.so
20003c4000-20003f2000 rwxp 00000000 00:00 0 
20003f2000-2000481000 r-xp 00000000 08:01 7607611                        
/lib/aarch64-linux-gnu/libm-2.18.so
2000481000-2000490000 ---p 0008f000 08:01 7607611                        
/lib/aarch64-linux-gnu/libm-2.18.so
2000490000-2000491000 r-xp 0008e000 08:01 7607611                        
/lib/aarch64-linux-gnu/libm-2.18.so
2000491000-2000492000 rwxp 0008f000 08:01 7607611                        
/lib/aarch64-linux-gnu/libm-2.18.so
2000492000-2000593000 rwxp 00000000 00:00 0 
2000593000-2000594000 ---p 00000000 00:00 0 
2000594000-20005b3000 rwxp 00000000 00:00 0                              
[stack:4109]
20005b3000-20005b5000 r-xp 00000000 08:01 7372311                        
/usr/lib/ruby/1.9.1/aarch64-linux/enc/trans/transdb.so
20005b5000-20005c4000 ---p 00002000 08:01 7372311                        
/usr/lib/ruby/1.9.1/aarch64-linux/enc/trans/transdb.so
20005c4000-20005c5000 r-xp 00001000 08:01 7372311                        
/usr/lib/ruby/1.9.1/aarch64-linux/enc/trans/transdb.so
20005c5000-20005c6000 rwxp 00002000 08:01 7372311                        
/usr/lib/ruby/1.9.1/aarch64-linux/enc/trans/transdb.so
20005c6000-20005c8000 r-xp 00000000 08:01 7372275                        
/usr/lib/ruby/1.9.1/aarch64-linux/etc.so
20005c8000-20005d8000 ---p 00002000 08:01 7372275                        
/usr/lib/ruby/1.9.1/aarch64-linux/etc.so
20005d8000-20005d9000 r-xp 00002000 08:01 7372275                        
/usr/lib/ruby/1.9.1/aarch64-linux/etc.so
20005d9000-20005da000 rwxp 00003000 08:01 7372275                        
/usr/lib/ruby/1.9.1/aarch64-linux/etc.so
20005da000-20005f4000 r-xp 00000000 08:01 12215248                       
/home/doko/tmp/ruby-ffi-1.9.3/lib/ffi_c.so
20005f4000-2000603000 ---p 0001a000 08:01 12215248                       
/home/doko/tmp/ruby-ffi-1.9.3/lib/ffi_c.so
2000603000-2000604000 r-xp 00019000 08:01 12215248                       
/home/doko/tmp/ruby-ffi-1.9.3/lib/ffi_c.so
2000604000-2000605000 rwxp 0001a000 08:01 12215248                       
/home/doko/tmp/ruby-ffi-1.9.3/lib/ffi_c.so
2000605000-2000615000 rwxp 00000000 00:00 0 
200061c000-2000623000 r-xp 00000000 08:01 7478250                        
/usr/lib/aarch64-linux-gnu/libffi.so.6.0.1
2000623000-2000632000 ---p 00007000 08:01 7478250                        
/usr/lib/aarch64-linux-gnu/libffi.so.6.0.1
2000632000-2000633000 r-xp 00006000 08:01 7478250                        
/usr/lib/aarch64-linux-gnu/libffi.so.6.0.1
2000633000-2000634000 rwxp 00007000 08:01 7478250                        
/usr/lib/aarch64-linux-gnu/libffi.so.6.0.1
2000634000-2000646000 r-xp 00000000 08:01 7607937                        
/lib/aarch64-linux-gnu/libgcc_s.so.1
2000646000-2000655000 ---p 00012000 08:01 7607937                        
/lib/aarch64-linux-gnu/libgcc_s.so.1
2000655000-2000656000 r-xp 00011000 08:01 7607937                        
/lib/aarch64-linux-gnu/libgcc_s.so.1
2000656000-2000657000 rwxp 00012000 08:01 7607937                        
/lib/aarch64-linux-gnu/libgcc_s.so.1
7fc1d1b000-7fc1d3c000 rwxp 00000000 00:00 0 


[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Aborted
make: *** [gen_arch_config] Error 134
(t-doko)doko@arm64:~/tmp/ruby-ffi-1.9.3$ exit

Script done on Wed Jan 22 13:54:00 2014

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1239171

Title:
  ruby-ffi test failure on aarch64

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-aarch64/+bug/1239171/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to