[DRE-maint] Bug#996142: ruby-buff-config: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: RuntimeError:

Antonio Terceiro terceiro at debian.org
Mon Oct 11 14:06:11 BST 2021


Source: ruby-buff-config
Version: 2.0.0-2
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-buff-config 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):
>      RuntimeError:
>        The `SortedSet` class has been extracted from the `set` library.You must use the `sorted_set` gem or other alternatives.
>      # ./lib/buff/config/ruby.rb:175:in `const_get'
>      # ./lib/buff/config/ruby.rb:175:in `block in find_constant'
>      # ./lib/buff/config/ruby.rb:173:in `each'
>      # ./lib/buff/config/ruby.rb:173:in `find'
>      # ./lib/buff/config/ruby.rb:173:in `find_constant'
>      # ./lib/buff/config/ruby.rb:139:in `block in to_ruby'
>      # ./lib/buff/config/ruby.rb:138:in `each'
>      # ./lib/buff/config/ruby.rb:138:in `map'
>      # ./lib/buff/config/ruby.rb:138:in `to_ruby'
>      # ./spec/buff/config/ruby_spec.rb:85:in `block (3 levels) in <top (required)>'
>      # ------------------
>      # --- Caused by: ---
>      # LoadError:
>      #   cannot load such file -- sorted_set
>      #   ./lib/buff/config/ruby.rb:175:in `const_get'
> 
> Finished in 0.16636 seconds (files took 0.63774 seconds to load)
> 30 examples, 1 failure
> 
> Failed examples:
> 
> rspec ./spec/buff/config/ruby_spec.rb:79 # Buff::Config::Ruby#to_rb returns ruby with key values for each attribute
> 
> /usr/bin/ruby3.0 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-buff-config/ruby-buff-config_2.0.0-2+rebuild1633375864_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/20211011/a639c319/attachment-0001.sig>


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