[DRE-maint] Bug#1019618: ruby-delayed-job: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: Failure/Error:

Antonio Terceiro terceiro at debian.org
Tue Sep 13 01:11:53 BST 2022


Source: ruby-delayed-job
Version: 4.1.9-1
Severity: serious
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-delayed-job with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
>      Failure/Error:
>        expect do
>          yaml = "--- !ruby/struct\nn: 1\n"
>          object = YAML.load(yaml)
>          expect(object).to be_kind_of(Struct)
>          expect(object.n).to eq(1)
>        end.not_to raise_error
> 
>        expected no Exception, got #<Psych::DisallowedClass: Tried to load unspecified class: Struct> with backtrace:
>          # (eval):2:in `struct'
>          # ./spec/yaml_ext_spec.rb:28:in `block (3 levels) in <top (required)>'
>          # ./spec/yaml_ext_spec.rb:26:in `block (2 levels) in <top (required)>'
>      # ./spec/yaml_ext_spec.rb:26:in `block (2 levels) in <top (required)>'
> 
> Finished in 1.46 seconds (files took 0.9459 seconds to load)
> 177 examples, 1 failure
> 
> Failed examples:
> 
> rspec ./spec/yaml_ext_spec.rb:25 # YAML autoloads the class of an anonymous struct
> 
> /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/17/ruby-delayed-job/ruby-delayed-job_4.1.9-1+rebuild1663007476_amd64-2022-09-12T18:31:17Z.build

To reproduce this, you need ruby-all-dev >= 1:3.0+2.  Depending on when you
read this, this might mean installing ruby-all-dev from experimental, or ir the
transition has alraedy started in unstable, a normal build on unstable should
do it.  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/20220912/f6c77b73/attachment.sig>


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