[DRE-maint] Bug#725115: ruby-inline: Does not work under Ruby 2.0

Gunnar Wolf gwolf at gwolf.org
Tue Oct 1 17:14:04 UTC 2013


Package: ruby-inline
Version: 3.11.2-2
Severity: important
Tags: upstream

Although ruby-inline can be required from Ruby2.0 code, trying to
actually use it fails:

$ irb2.0 
>> require 'inline'
=> true
>> Inline
=> Inline
>> Inline.inline :C do;end
RuntimeError: unsupported ruby version: 2.0.0
	from /usr/lib/ruby/vendor_ruby/inline.rb:149:in `directory'
	from /usr/lib/ruby/vendor_ruby/inline.rb:393:in `so_name'
	from /usr/lib/ruby/vendor_ruby/inline.rb:516:in `load_cache'
	from /usr/lib/ruby/vendor_ruby/inline.rb:842:in `inline'
	from (irb):3
	from /usr/bin/irb2.0:12:in `<main>'

Compared to:

$ irb1.9.1 
>> require 'inline'
=> true
>> Inline
=> Inline
>> Inline.inline :C do;end
=> true


This renders all packages depending on ruby-inline (that ship tests,
so they actually do work) FTBFS.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.8-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ruby-inline depends on:
ii  rake                          10.0.4-1
ii  ruby                          1:1.9.3
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-8
ii  ruby1.8-dev                   1.8.7.358-8
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.448-1
ii  ruby1.9.1-dev                 1.9.3.448-1
ii  ruby2.0 [ruby-interpreter]    2.0.0.299-2

Versions of packages ruby-inline recommends:
ii  gcc [c-compiler]      4:4.8.1-3
ii  gcc-4.4 [c-compiler]  4.4.7-4
ii  gcc-4.6 [c-compiler]  4.6.4-4
ii  gcc-4.7 [c-compiler]  4.7.3-7
ii  gcc-4.8 [c-compiler]  4.8.1-10
ii  rubygems              1.8.24-1

ruby-inline suggests no packages.

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list