[DRE-maint] Bug#1032485: ruby-fcgi: Incompatible version with ruby >3.0

Petr Jurasek petr.jurasek at solnet.cz
Tue Mar 7 22:20:53 GMT 2023


Package: ruby-fcgi
Version: 0.9.2.1-3+b2
Severity: important

Dear Maintainer,

there's new version 0.9.2.2 on github (https://github.com/alphallc/ruby-fcgi-ng)
with compatibility changes. I compared debian source package with new github version and
among other things new construct in ext/fcgi/fcgi.c:
#if !defined(RUBY_API_VERSION_MAJOR) || (RUBY_API_VERSION_MAJOR < 3)
  rb_secure(4);
#endif

rb_secure was removed from ruby3.0. In case of this is impossible to include .so
file. If I use irb on bookworm:
irb(main):001:0> require 'fcgi.so'
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require': /usr/lib/i386-linux-gnu/ruby/vendor_ruby/3.1.0/fcgi.so: undefined symbol: rb_secure - /usr/lib/i386-linux-gnu/ruby/vendor_ruby/3.1.0/fcgi.so (LoadError)



-- System Information:
Debian Release: bookworm/sid
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'testing'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 6.1.0-3-686-pae (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ruby-fcgi depends on:
ii  libc6                       2.36-8
ii  libfcgi0ldbl                2.4.2-2
ii  libruby                     1:3.1
ii  libruby3.1                  3.1.2-6
ii  ruby                        1:3.1
ii  ruby2.1 [ruby-interpreter]  2.1.5-2+deb8u3

ruby-fcgi recommends no packages.

ruby-fcgi suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/lib/ruby/vendor_ruby/fcgi.rb (from ruby-fcgi:i386 package)



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