Project

General

Profile

Backport #5844

Can't install ruby-debug-base19

Added by bosborne (Brian Osborne) over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
[ruby-core:41908]

Description

gem install ruby-debug-base19

Building native extensions. This could take a while...
ERROR: Error installing ruby-debug-base19:
ERROR: Failed to build gem native extension.

    /usr/local/bin/ruby extconf.rb

checking for rb_method_entry_t.body in method.h... no
checking for vm_core.h... no
/usr/local/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'
/usr/local/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

ruby -v
ruby 1.9.3p0 (2011-10-30) [x86_64-darwin11.2.0]


Related issues

Related to Ruby master - Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERNThird Party's Issue08/16/2011Actions

History

Updated by kosaki (Motohiro KOSAKI) over 7 years ago

  • Status changed from Open to Rejected

You should contact gem developer, not us.

Updated by Anonymous over 7 years ago

Could we please move ruby-debug19 into trunk ("bless" that gem)? I
think it is a necessary aspect for MRI core functionality, and would
be much better to keep in sync.
-roger-

On Wed, Jan 4, 2012 at 8:34 PM, Motohiro KOSAKI
kosaki.motohiro@gmail.com wrote:

Issue #5844 has been updated by Motohiro KOSAKI.

Status changed from Open to Rejected

You should contact gem developer, not us.

Backport #5844: Can't install ruby-debug-base19
https://bugs.ruby-lang.org/issues/5844

Author: Brian Osborne
Status: Rejected
Priority: Normal
Assignee:
Category:
Target version:

gem install ruby-debug-base19
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-debug-base19:
       ERROR: Failed to build gem native extension.

       /usr/local/bin/ruby extconf.rb
checking for rb_method_entry_t.body in method.h... no
checking for vm_core.h... no
/usr/local/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'
/usr/local/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

ruby -v
ruby 1.9.3p0 (2011-10-30) [x86_64-darwin11.2.0]

--
http://redmine.ruby-lang.org

Also available in: Atom PDF