[DRE-maint] Bug#1019663: ruby-ronn: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed.

Antonio Terceiro terceiro at debian.org
Tue Sep 13 12:56:52 BST 2022


Source: ruby-ronn
Version: 0.9.1-2
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-ronn with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
> /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.1                           │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> GEM_PATH=/<<PKGBUILDDIR>>/debian/tmp/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"ronn-ng\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-tests.rb                              │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/tmp/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 debian/ruby-tests.rb
> mv Gemfile.lock ./.gem2deb.Gemfile.lock
> Loaded suite debian/ruby-tests
> Started
> ........................E
> ===============================================================================
> Error: test_converting_to_yaml(DocumentTest::TestSimpleConventionallyNamedDocument): Psych::DisallowedClass: Tried to load unspecified class: Time
> /usr/lib/ruby/3.1.0/psych/class_loader.rb:99:in `find'
> /usr/lib/ruby/3.1.0/psych/class_loader.rb:28:in `load'
> /usr/lib/ruby/3.1.0/psych/scalar_scanner.rb:109:in `parse_time'
> /usr/lib/ruby/3.1.0/psych/scalar_scanner.rb:52:in `tokenize'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:65:in `deserialize'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:128:in `visit_Psych_Nodes_Scalar'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:345:in `block in revive_hash'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:318:in `visit_Psych_Nodes_Document'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych.rb:335:in `safe_load'
> /usr/lib/ruby/3.1.0/psych.rb:370:in `load'
> /<<PKGBUILDDIR>>/test/test_ronn_document.rb:149:in `block (2 levels) in <class:DocumentTest>'
> ===============================================================================
> .........................................
> Finished in 6.585783789 seconds.
> -------------------------------------------------------------------------------
> 66 tests, 111 assertions, 0 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications
> 98.4848% passed
> -------------------------------------------------------------------------------
> 10.02 tests/s, 16.85 assertions/s
> mv ./.gem2deb.Gemfile.lock Gemfile.lock
> ERROR: Test "ruby3.1" failed.


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-ronn/ruby-ronn_0.9.1-2+rebuild1663008136_amd64-2022-09-12T18:42:17Z.build

To reproduce this, you need to install ruby-all-dev >= 1:3.0+2. Depending on
when you try this, it might mean installing ruby-all-dev from experimental, or
if the transition has already started, a normal build on unstable will be
enough.  If you fail to reproduce, please provide a build log and diff it with
mine so that we can identify if something relevant changed in the meantime.

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- 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/20220913/d5299574/attachment.sig>


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