[DRE-maint] Bug#1015309: ruby-bson: FTBFS: ERROR: Test "ruby3.1" failed: Failure/Error: actual = YAML.load(regexp.to_yaml)

Antonio Terceiro terceiro at debian.org
Tue Jul 19 12:29:37 BST 2022


Source: ruby-bson
Version: 4.10.0-2+rebuild1658137615
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-bson with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
>      Failure/Error: actual = YAML.load(regexp.to_yaml)
>      
>      Psych::DisallowedClass:
>        Tried to load unspecified class: BSON::Regexp::Raw
>      # ./spec/bson/raw_spec.rb:588:in `block (3 levels) in <top (required)>'
> 
> Finished in 4.66 seconds (files took 2.66 seconds to load)
> 6802 examples, 5 failures, 8 pending
> 
> Failed examples:
> 
> rspec './spec/bson/document_spec.rb[1:19:3:1]' # BSON::Document#each when the document has been serialized iterates over each of the keys
> rspec './spec/bson/document_spec.rb[1:19:3:2]' # BSON::Document#each when the document has been serialized iterates over each of the vals
> rspec './spec/bson/document_spec.rb[1:20:3:1]' # BSON::Document#each_pair when the document has been serialized iterates over each of the keys
> rspec './spec/bson/document_spec.rb[1:20:3:2]' # BSON::Document#each_pair when the document has been serialized iterates over each of the vals
> rspec ./spec/bson/raw_spec.rb:587 # BSON::Regexp::Raw yaml loading round-trips
> 
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/ruby-bson_4.10.0-2+rebuild1658137615_amd64.log

To reproduce this, you need to install ruby-all-dev >= 1:3.0+2 (in experimental).
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/20220719/810645b8/attachment.sig>


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