From: Mitko Kostov on
Hey, guys.

Just wanted to try out ruby 1.9.1-p492 through rvm, but I've got nasty
error message while compiling it. Any ideas ?

[2010-07-03 15:43:45] make
eval.c: In function 'ruby_cleanup':
eval.c:139: warning: passing argument 1 of 'ruby_init_stack' discards
qualifiers from pointer target type
/include/ruby/ruby.h:1001: note: expected 'VALUE *' but argument is of
type 'volatile VALUE *'
io.c: In function 'argf_next_argv':
io.c:6241: warning: ignoring return value of 'fchown', declared with
attribute warn_unused_result
process.c: In function 'rb_fork':
process.c:2322: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
process.c: In function 'proc_daemon':
process.c:4239: warning: ignoring return value of 'chdir', declared with
attribute warn_unused_result
random.c: In function 'fill_random_seed':
random.c:312: warning: ignoring return value of 'read', declared with
attribute warn_unused_result
vm_dump.c:240: warning: 'vm_stack_dump_each' defined but not used
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310: [BUG]
Segmentation fault
ruby 1.9.1p429 (2010-07-02 revision 28523) [i686-linux]

-- control frame ----------
c:0013 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :catch
c:0012 p:0049 s:0056 b:0056 l:0018f0 d:000d54 BLOCK
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310
c:0011 p:---- s:0050 b:0050 l:000049 d:000049 FINISH
c:0010 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :catch
c:0009 p:0062 s:0044 b:0044 l:0018f0 d:0018f0 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258
c:0008 p:0024 s:0034 b:0034 l:000033 d:000033 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1252
c:0007 p:0066 s:0029 b:0029 l:0019a4 d:000ee0 BLOCK
/tool/generic_erb.rb:12
c:0006 p:0116 s:0026 b:0026 l:000025 d:000025 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:793
c:0005 p:---- s:0020 b:0020 l:000019 d:000019 FINISH
c:0004 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :new
c:0003 p:0069 s:0015 b:0015 l:0019a4 d:000a00 EVAL
/tool/generic_erb.rb:8
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0019a4 d:0019a4 TOP
---------------------------
-- Ruby level backtrace
information-----------------------------------------
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310:in `catch'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310:in `block in
parse_in_order'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258:in `catch'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258:in
`parse_in_order'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1252:in `order!'
/tool/generic_erb.rb:12:in `block in <main>'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:793:in
`initialize'
/tool/generic_erb.rb:8:in `new'
/tool/generic_erb.rb:8:in `<main>'

-- C level backtrace information
-------------------------------------------
0x816e439 ./miniruby(rb_vm_bugreport+0x69) [0x816e439]
0x8086ddf ./miniruby() [0x8086ddf]
0x8086e7a ./miniruby(rb_bug+0x3a) [0x8086e7a]
0x8114094 ./miniruby() [0x8114094]
0x4001d410 [0x4001d410]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x816b08b ./miniruby() [0x816b08b]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x815e620 ./miniruby() [0x815e620]
0x815ece5 ./miniruby(rb_funcall2+0x55) [0x815ece5]
0x8088450 ./miniruby(rb_obj_call_init+0x50) [0x8088450]
0x80bdf8a ./miniruby(rb_class_new_instance+0x3a) [0x80bdf8a]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x8165b7b ./miniruby(rb_iseq_eval_main+0xab) [0x8165b7b]
0x8089127 ./miniruby(ruby_exec_node+0xb7) [0x8089127]
0x808a726 ./miniruby(ruby_run_node+0x56) [0x808a726]
0x805cfd8 ./miniruby(main+0x68) [0x805cfd8]
0x400c5bd6 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)
[0x400c5bd6]
0x805ced1 ./miniruby() [0x805ced1]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [encdb.h] Aborted
[2010-07-05 17:02:01] make
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310: [BUG]
Segmentation fault
ruby 1.9.1p429 (2010-07-02 revision 28523) [i686-linux]

-- control frame ----------
c:0013 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :catch
c:0012 p:0049 s:0056 b:0056 l:002628 d:001a04 BLOCK
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310
c:0011 p:---- s:0050 b:0050 l:000049 d:000049 FINISH
c:0010 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :catch
c:0009 p:0062 s:0044 b:0044 l:002628 d:002628 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258
c:0008 p:0024 s:0034 b:0034 l:000033 d:000033 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1252
c:0007 p:0066 s:0029 b:0029 l:002654 d:001c08 BLOCK
/tool/generic_erb.rb:12
c:0006 p:0116 s:0026 b:0026 l:000025 d:000025 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:793
c:0005 p:---- s:0020 b:0020 l:000019 d:000019 FINISH
c:0004 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :new
c:0003 p:0069 s:0015 b:0015 l:002654 d:0016b0 EVAL
/tool/generic_erb.rb:8
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:002654 d:002654 TOP
---------------------------
-- Ruby level backtrace
information-----------------------------------------
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310:in `catch'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310:in `block in
parse_in_order'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258:in `catch'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258:in
`parse_in_order'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1252:in `order!'
/tool/generic_erb.rb:12:in `block in <main>'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:793:in
`initialize'
/tool/generic_erb.rb:8:in `new'
/tool/generic_erb.rb:8:in `<main>'

-- C level backtrace information
-------------------------------------------
0x816e439 ./miniruby(rb_vm_bugreport+0x69) [0x816e439]
0x8086ddf ./miniruby() [0x8086ddf]
0x8086e7a ./miniruby(rb_bug+0x3a) [0x8086e7a]
0x8114094 ./miniruby() [0x8114094]
0x4001d410 [0x4001d410]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x816b08b ./miniruby() [0x816b08b]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x815e620 ./miniruby() [0x815e620]
0x815ece5 ./miniruby(rb_funcall2+0x55) [0x815ece5]
0x8088450 ./miniruby(rb_obj_call_init+0x50) [0x8088450]
0x80bdf8a ./miniruby(rb_class_new_instance+0x3a) [0x80bdf8a]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x8165b7b ./miniruby(rb_iseq_eval_main+0xab) [0x8165b7b]
0x8089127 ./miniruby(ruby_exec_node+0xb7) [0x8089127]
0x808a726 ./miniruby(ruby_run_node+0x56) [0x808a726]
0x805cfd8 ./miniruby(main+0x68) [0x805cfd8]
0x400c6bd6 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)
[0x400c6bd6]
0x805ced1 ./miniruby() [0x805ced1]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [encdb.h] Aborted
[2010-07-05 17:18:00] make
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310: [BUG]
Segmentation fault
ruby 1.9.1p429 (2010-07-02 revision 28523) [i686-linux]

-- control frame ----------
c:0013 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :catch
c:0012 p:0049 s:0056 b:0056 l:000f88 d:000364 BLOCK
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310
c:0011 p:---- s:0050 b:0050 l:000049 d:000049 FINISH
c:0010 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :catch
c:0009 p:0062 s:0044 b:0044 l:000f88 d:000f88 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258
c:0008 p:0024 s:0034 b:0034 l:000033 d:000033 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1252
c:0007 p:0066 s:0029 b:0029 l:000fb4 d:000568 BLOCK
/tool/generic_erb.rb:12
c:0006 p:0116 s:0026 b:0026 l:000025 d:000025 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:793
c:0005 p:---- s:0020 b:0020 l:000019 d:000019 FINISH
c:0004 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :new
c:0003 p:0069 s:0015 b:0015 l:000fb4 d:000010 EVAL
/tool/generic_erb.rb:8
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000fb4 d:000fb4 TOP
---------------------------
-- Ruby level backtrace
information-----------------------------------------
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310:in `catch'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310:in `block in
parse_in_order'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258:in `catch'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258:in
`parse_in_order'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1252:in `order!'
/tool/generic_erb.rb:12:in `block in <main>'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:793:in
`initialize'
/tool/generic_erb.rb:8:in `new'
/tool/generic_erb.rb:8:in `<main>'

-- C level backtrace information
-------------------------------------------
0x816e439 ./miniruby(rb_vm_bugreport+0x69) [0x816e439]
0x8086ddf ./miniruby() [0x8086ddf]
0x8086e7a ./miniruby(rb_bug+0x3a) [0x8086e7a]
0x8114094 ./miniruby() [0x8114094]
0x4001d410 [0x4001d410]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x816b08b ./miniruby() [0x816b08b]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x815e620 ./miniruby() [0x815e620]
0x815ece5 ./miniruby(rb_funcall2+0x55) [0x815ece5]
0x8088450 ./miniruby(rb_obj_call_init+0x50) [0x8088450]
0x80bdf8a ./miniruby(rb_class_new_instance+0x3a) [0x80bdf8a]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x8165b7b ./miniruby(rb_iseq_eval_main+0xab) [0x8165b7b]
0x8089127 ./miniruby(ruby_exec_node+0xb7) [0x8089127]
0x808a726 ./miniruby(ruby_run_node+0x56) [0x808a726]
0x805cfd8 ./miniruby(main+0x68) [0x805cfd8]
0x400c6bd6 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)
[0x400c6bd6]
0x805ced1 ./miniruby() [0x805ced1]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [encdb.h] Aborted
[2010-07-06 12:56:18] make
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310: [BUG]
Segmentation fault
ruby 1.9.1p429 (2010-07-02 revision 28523) [i686-linux]

-- control frame ----------
c:0013 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :catch
c:0012 p:0049 s:0056 b:0056 l:001270 d:000744 BLOCK
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310
c:0011 p:---- s:0050 b:0050 l:000049 d:000049 FINISH
c:0010 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :catch
c:0009 p:0062 s:0044 b:0044 l:001270 d:001270 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258
c:0008 p:0024 s:0034 b:0034 l:000033 d:000033 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1252
c:0007 p:0066 s:0029 b:0029 l:001394 d:000860 BLOCK
/tool/generic_erb.rb:12
c:0006 p:0116 s:0026 b:0026 l:000025 d:000025 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:793
c:0005 p:---- s:0020 b:0020 l:000019 d:000019 FINISH
c:0004 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :new
c:0003 p:0069 s:0015 b:0015 l:001394 d:0003f0 EVAL
/tool/generic_erb.rb:8
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001394 d:001394 TOP
---------------------------
-- Ruby level backtrace
information-----------------------------------------
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310:in `catch'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310:in `block in
parse_in_order'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258:in `catch'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258:in
`parse_in_order'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1252:in `order!'
/tool/generic_erb.rb:12:in `block in <main>'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:793:in
`initialize'
/tool/generic_erb.rb:8:in `new'
/tool/generic_erb.rb:8:in `<main>'

-- C level backtrace information
-------------------------------------------
0x816e439 ./miniruby(rb_vm_bugreport+0x69) [0x816e439]
0x8086ddf ./miniruby() [0x8086ddf]
0x8086e7a ./miniruby(rb_bug+0x3a) [0x8086e7a]
0x8114094 ./miniruby() [0x8114094]
0x4001d410 [0x4001d410]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x816b08b ./miniruby() [0x816b08b]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x815e620 ./miniruby() [0x815e620]
0x815ece5 ./miniruby(rb_funcall2+0x55) [0x815ece5]
0x8088450 ./miniruby(rb_obj_call_init+0x50) [0x8088450]
0x80bdf8a ./miniruby(rb_class_new_instance+0x3a) [0x80bdf8a]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x8165b7b ./miniruby(rb_iseq_eval_main+0xab) [0x8165b7b]
0x8089127 ./miniruby(ruby_exec_node+0xb7) [0x8089127]
0x808a726 ./miniruby(ruby_run_node+0x56) [0x808a726]
0x805cfd8 ./miniruby(main+0x68) [0x805cfd8]
0x400c7bd6 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)
[0x400c7bd6]
0x805ced1 ./miniruby() [0x805ced1]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [encdb.h] Aborted
[2010-07-07 17:44:27] make
eval.c: In function 'ruby_cleanup':
eval.c:139: warning: passing argument 1 of 'ruby_init_stack' discards
qualifiers from pointer target type
/include/ruby/ruby.h:1001: note: expected 'VALUE *' but argument is of
type 'volatile VALUE *'
io.c: In function 'argf_next_argv':
io.c:6241: warning: ignoring return value of 'fchown', declared with
attribute warn_unused_result
process.c: In function 'rb_fork':
process.c:2322: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
process.c: In function 'proc_daemon':
process.c:4239: warning: ignoring return value of 'chdir', declared with
attribute warn_unused_result
random.c: In function 'fill_random_seed':
random.c:312: warning: ignoring return value of 'read', declared with
attribute warn_unused_result
vm_dump.c:240: warning: 'vm_stack_dump_each' defined but not used
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310: [BUG]
Segmentation fault
ruby 1.9.1p429 (2010-07-02 revision 28523) [i686-linux]

-- control frame ----------
c:0013 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :catch
c:0012 p:0049 s:0056 b:0056 l:002348 d:001734 BLOCK
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310
c:0011 p:---- s:0050 b:0050 l:000049 d:000049 FINISH
c:0010 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :catch
c:0009 p:0062 s:0044 b:0044 l:002348 d:002348 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258
c:0008 p:0024 s:0034 b:0034 l:000033 d:000033 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1252
c:0007 p:0066 s:0029 b:0029 l:002384 d:001938 BLOCK
/tool/generic_erb.rb:12
c:0006 p:0116 s:0026 b:0026 l:000025 d:000025 METHOD
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:793
c:0005 p:---- s:0020 b:0020 l:000019 d:000019 FINISH
c:0004 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :new
c:0003 p:0069 s:0015 b:0015 l:002384 d:0013e0 EVAL
/tool/generic_erb.rb:8
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:002384 d:002384 TOP
---------------------------
-- Ruby level backtrace
information-----------------------------------------
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310:in `catch'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1310:in `block in
parse_in_order'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258:in `catch'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1258:in
`parse_in_order'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:1252:in `order!'
/tool/generic_erb.rb:12:in `block in <main>'
/home/mitkok/.rvm/src/ruby-1.9.1-p429/lib/optparse.rb:793:in
`initialize'
/tool/generic_erb.rb:8:in `new'
/tool/generic_erb.rb:8:in `<main>'

-- C level backtrace information
-------------------------------------------
0x816e439 ./miniruby(rb_vm_bugreport+0x69) [0x816e439]
0x8086ddf ./miniruby() [0x8086ddf]
0x8086e7a ./miniruby(rb_bug+0x3a) [0x8086e7a]
0x8114094 ./miniruby() [0x8114094]
0x4001d410 [0x4001d410]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x816b08b ./miniruby() [0x816b08b]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x815e620 ./miniruby() [0x815e620]
0x815ece5 ./miniruby(rb_funcall2+0x55) [0x815ece5]
0x8088450 ./miniruby(rb_obj_call_init+0x50) [0x8088450]
0x80bdf8a ./miniruby(rb_class_new_instance+0x3a) [0x80bdf8a]
0x815b658 ./miniruby() [0x815b658]
0x815b9c4 ./miniruby() [0x815b9c4]
0x8167416 ./miniruby() [0x8167416]
0x81622fd ./miniruby() [0x81622fd]
0x8165903 ./miniruby() [0x8165903]
0x8165b7b ./miniruby(rb_iseq_eval_main+0xab) [0x8165b7b]
0x8089127 ./miniruby(ruby_exec_node+0xb7) [0x8089127]
0x808a726 ./miniruby(ruby_run_node+0x56) [0x808a726]
0x805cfd8 ./miniruby(main+0x68) [0x805cfd8]
0x400c7bd6 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)
[0x400c7bd6]
0x805ced1 ./miniruby() [0x805ced1]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

make: *** [encdb.h] Aborted
--
Posted via http://www.ruby-forum.com/.

From: Chuck Remes on

On Jul 7, 2010, at 10:23 AM, Mitko Kostov wrote:

> Hey, guys.
>
> Just wanted to try out ruby 1.9.1-p492 through rvm, but I've got nasty
> error message while compiling it. Any ideas ?

I just saw the p429 was pulled from rvm due to a bug with gem loading. There wasn't any note about a compilation problem.

For now, go back to p378.

cr


From: Jeremy Henty on
On 2010-07-07, Mitko Kostov <mitko.kostov(a)gmail.com> wrote:

> Just wanted to try out ruby 1.9.1-p492 through rvm, but I've got
> nasty error message while compiling it. Any ideas ?

Bug report, discussion and workaround here:

http://redmine.ruby-lang.org/issues/show/3528

Regards,

Jeremy Henty