[DRE-maint] Bug#996384: ruby-serialport: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require': /<<PKGBUILDDIR>>/debian/ruby-serialport/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.0.0/serialport.so: undefined symbol: rb_secure - /<<PKGBUILDDIR>>/debian/ruby-serialport/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.0.0/serialport.so (LoadError)

Antonio Terceiro terceiro at debian.org
Wed Oct 13 15:29:55 BST 2021


Source: ruby-serialport
Version: 1.3.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-serialport was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require': /<<PKGBUILDDIR>>/debian/ruby-serialport/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.0.0/serialport.so: undefined symbol: rb_secure - /<<PKGBUILDDIR>>/debian/ruby-serialport/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.0.0/serialport.so (LoadError)
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from /<<PKGBUILDDIR>>/debian/ruby-serialport/usr/lib/ruby/vendor_ruby/serialport.rb:1:in `<top (required)>'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from debian/ruby-tests.rb:2:in `<main>'
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-serialport/ruby-serialport_1.3.1-1+rebuild1633395250_amd64.build.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211013/2671b123/attachment.sig>


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