[Pkg-puppet-devel] Bug#996383: ruby-semantic-puppet: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: RuntimeError:

Antonio Terceiro terceiro at debian.org
Wed Oct 13 15:28:57 BST 2021


Source: ruby-semantic-puppet
Version: 1.0.3-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-semantic-puppet 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/semantic_puppet/dependency/graph_node.rb:39:in `block in dependencies'
>       # ./lib/semantic_puppet/dependency/graph_node.rb:47:in `add_dependency'
>       # ./spec/unit/semantic_puppet/dependency/graph_node_spec.rb:14:in `block in initialize'
>       # ./spec/unit/semantic_puppet/dependency/graph_node_spec.rb:14:in `each'
>       # ./spec/unit/semantic_puppet/dependency/graph_node_spec.rb:14:in `initialize'
>       # ./spec/unit/semantic_puppet/dependency/graph_node_spec.rb:26:in `new'
>       # ./spec/unit/semantic_puppet/dependency/graph_node_spec.rb:26:in `instance'
>       # ./spec/unit/semantic_puppet/dependency/graph_node_spec.rb:54:in `block (3 levels) in <top (required)>'
>       # ./spec/unit/semantic_puppet/dependency/graph_node_spec.rb:57:in `block (3 levels) in <top (required)>'
>       # ------------------
>       # --- Caused by: ---
>       # LoadError:
>       #   cannot load such file -- sorted_set
>       #   ./lib/semantic_puppet/dependency/graph_node.rb:39:in `block in dependencies'
> 
> Finished in 1.03 seconds (files took 0.69167 seconds to load)
> 985 examples, 53 failures
[...]
> Randomized with seed 9711
> 
> /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: 

Note that sorted_set has been removed from the standard library. It needs to be
packaged separately, and when that's done this package will need an explicit
dependency on it.


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-semantic-puppet/ruby-semantic-puppet_1.0.3-1+rebuild1633395095_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-puppet-devel/attachments/20211013/d9fafdd2/attachment.sig>


More information about the Pkg-puppet-devel mailing list