rails/rails — Issue #3670: ruby-debug19 not compatible with 1.9.3?
Author: dvyjones
Created: 2011-11-17 22:05:03+00:00
State: open

Hi,

It seems like the update in df300a754bf64d0c350fdc8c69408c5bd04b80a3 makes `bundle install` fail on Ruby 1.9.3-p0. Someone on IRC said they didn't think ruby-debug19 was compatible with 1.9.3 yet.

Here's the error output:

```
Installing ruby-debug-base19 (0.11.25) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/Users/dvyjones/.rbenv/versions/1.9.3-p0/bin/ruby extconf.rb
checking for rb_method_entry_t.body in method.h... no
checking for vm_core.h... no
/Users/dvyjones/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config.
checking for rb_method_entry_t.body in method.h... no
checking for vm_core.h... yes
checking for iseq.h... yes
checking for insns.inc... yes
checking for insns_info.inc... yes
checking for eval_intern.h... yes
creating Makefile

make
compiling breakpoint.c
compiling ruby_debug.c
ruby_debug.c:29: error: conflicting types for ‘rb_iseq_compile_with_option’
/Users/dvyjones/.rbenv/versions/1.9.3-p0/include/ruby-1.9.1/ruby-1.9.3-p0/vm_core.h:505: error: previous declaration of ‘rb_iseq_compile_with_option’ was here
ruby_debug.c: In function ‘call_at_line_unprotected’:
ruby_debug.c:480: warning: implicit conversion shortens 64-bit value into a 32-bit value
ruby_debug.c: In function ‘filename_cmp’:
ruby_debug.c:544: warning: implicit conversion shortens 64-bit value into a 32-bit value
ruby_debug.c:545: warning: implicit conversion shortens 64-bit value into a 32-bit value
ruby_debug.c: In function ‘debug_event_hook’:
ruby_debug.c:872: warning: implicit conversion shortens 64-bit value into a 32-bit value
ruby_debug.c: In function ‘optional_frame_position’:
ruby_debug.c:1732: warning: implicit conversion shortens 64-bit value into a 32-bit value
ruby_debug.c: In function ‘do_jump’:
ruby_debug.c:2346: warning: implicit conversion shortens 64-bit value into a 32-bit value
ruby_debug.c: In function ‘context_jump’:
ruby_debug.c:2414: warning: comparison between signed and unsigned
ruby_debug.c:2428: warning: comparison between signed and unsigned
make: *** [ruby_debug.o] Error 1

Gem files will remain installed in /Users/dvyjones/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby-debug-base19-0.11.25 for inspection.
Results logged to /Users/dvyjones/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/ruby-debug-base19-0.11.25/ext/ruby_debug/gem_make.out
An error occured while installing ruby-debug-base19 (0.11.25), and Bundler cannot continue.
Make sure that `gem install ruby-debug-base19 -v '0.11.25'` succeeds before bundling.
```