Source: ruby-commander
Version: 4.5.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-commander 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/commander/user_interaction.rb:347:in `const_get'
>      # ./lib/commander/user_interaction.rb:347:in `block in method_missing'
>      # ./lib/commander/user_interaction.rb:346:in `map'
>      # ./lib/commander/user_interaction.rb:346:in `method_missing'
>      # ./spec/methods_spec.rb:49:in `block (4 levels) in <top (required)>'
>      # ------------------
>      # --- Caused by: ---
>      # LoadError:
>      #   cannot load such file -- sorted_set
>      #   ./lib/commander/user_interaction.rb:347:in `const_get'
> 
> Finished in 0.15647 seconds (files took 0.27216 seconds to load)
> 134 examples, 1 failure
> 
> Failed examples:
> 
> rspec ./spec/methods_spec.rb:47 # Commander::Methods AskForClass defining 
> methods implements "ask_for_*"
> 
> Coverage report generated for RSpec to /<<PKGBUILDDIR>>/coverage. 398 / 473 
> LOC (84.14%) covered.
> /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-commander/ruby-commander_4.5.2-1+rebuild1633376972_amd64.build.txt

Attachment: signature.asc
Description: PGP signature

Reply via email to