Source: ruby-versionomy
Version: 0.5.0-2.1
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-versionomy with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
> /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.1                          
>  │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-versionomy/usr/share/rubygems-integration/all:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0
>  ruby3.1 -e gem\ \"versionomy\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-test-files.yaml                      
>  │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-versionomy/usr/lib/ruby/vendor_ruby:. 
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-versionomy/usr/share/rubygems-integration/all:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0
>  ruby3.1 -ryaml -e YAML.load_file\(\"debian/ruby-test-files.yaml\"\).each\ 
> \{\ \|f\|\ require\ f\ \}
> Run options: --seed 50525
> 
> # Running:
> 
> .........E........................................................................E.........
> 
> Finished in 0.023531s, 3909.7426 runs/s, 18358.7912 assertions/s.
> 
>   1) Error:
> Versionomy::Tests::TestStandardMisc#test_yaml:
> Psych::DisallowedClass: Tried to load unspecified class: Versionomy::Value
>     /usr/lib/ruby/3.1.0/psych/class_loader.rb:99:in `find'
>     /usr/lib/ruby/3.1.0/psych/class_loader.rb:28:in `load'
>     /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:424:in `resolve_class'
>     /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:165:in 
> `visit_Psych_Nodes_Mapping'
>     /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
>     /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
>     /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
>     /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:318:in 
> `visit_Psych_Nodes_Document'
>     /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
>     /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
>     /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
>     /usr/lib/ruby/3.1.0/psych.rb:335:in `safe_load'
>     /usr/lib/ruby/3.1.0/psych.rb:370:in `load'
>     /<<PKGBUILDDIR>>/test/tc_standard_misc.rb:87:in `test_yaml'
> 
>   2) Error:
> Versionomy::Tests::TestSemverBasic#test_yaml:
> Psych::DisallowedClass: Tried to load unspecified class: Versionomy::Value
>     /usr/lib/ruby/3.1.0/psych/class_loader.rb:99:in `find'
>     /usr/lib/ruby/3.1.0/psych/class_loader.rb:28:in `load'
>     /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:424:in `resolve_class'
>     /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:165:in 
> `visit_Psych_Nodes_Mapping'
>     /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
>     /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
>     /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
>     /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:318:in 
> `visit_Psych_Nodes_Document'
>     /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
>     /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
>     /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
>     /usr/lib/ruby/3.1.0/psych.rb:335:in `safe_load'
>     /usr/lib/ruby/3.1.0/psych.rb:370:in `load'
>     /<<PKGBUILDDIR>>/test/tc_semver_basic.rb:205:in `test_yaml'
> 
> 92 runs, 432 assertions, 0 failures, 2 errors, 0 skips
> ERROR: Test "ruby3.1" failed.


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-versionomy/ruby-versionomy_0.5.0-2.1+rebuild1663008302_amd64-2022-09-12T18:45:03Z.build

To reproduce this, you need to install ruby-all-dev >= 1:3.0+2. Depending on
when you try this, it might mean installing ruby-all-dev from experimental, or
if the transition has already started, a normal build on unstable will be
enough.  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

Attachment: signature.asc
Description: PGP signature

Reply via email to