Bug#725115: ruby-inline: Does not work under Ruby 2.0
Just tried again with the git repository (- 3.12.2-1), and it appears that inline.rb needs patching for the new location of ruby/config.h on 2.0: ruby-inline (git)-[master] % RUBYLIB=lib irb2.0 irb(main):001:0 require 'inline'; Inline.inline :C do;end In file included from /usr/include/ruby-2.0.0/ruby.h:33:0, from /home/ch/.ruby_inline/ruby-2.0.0/Inline_Inline_d41d8cd98f00b204e9800998ecf8427e.c:1: /usr/include/ruby-2.0.0/ruby/ruby.h:24:25: fatal error: ruby/config.h: No such file or directory #include ruby/config.h ^ compilation terminated. CompilationError: error executing gcc -shared -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -I /usr/include/ruby-2.0.0 -I /usr/include/ruby-2.0.0/x86_64-linux-gnu -I /usr/include -L/usr/lib -o \/home/ch/.ruby_inline/ruby-2.0.0/Inline_Inline_d41d8cd98f00b204e9800998ecf8427e.so\ \/home/ch/.ruby_inline/ruby-2.0.0/Inline_Inline_d41d8cd98f00b204e9800998ecf8427e.c\ : pid 17381 exit 1 % dpkg -L ruby2.0-dev | grep config.h /usr/include/x86_64-linux-gnu/ruby-2.0.0/ruby/config.h -- ,''`. Christian Hofstaedtler z...@debian.org : :' : Debian Developer `. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03 `- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#725115: ruby-inline: Does not work under Ruby 2.0
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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#725115: ruby-inline: Does not work under Ruby 2.0
I tried to upload to the newest upstream release, 3.12.2, but the bug behaviour persists. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org