[DRE-maint] Bug#1015308: ruby-bert: FTBFS: ERROR: Test "ruby3.1" failed.
Antonio Terceiro
terceiro at debian.org
Tue Jul 19 12:26:51 BST 2022
Source: ruby-bert
Version: 1.1.6-2+rebuild1658133846
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-bert with ruby3.1 enabled, the build failed.
Relevant part of the build log (hopefully):
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.1 │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> /usr/lib/ruby/3.1.0/psych/class_loader.rb:99:in `find': Tried to load unspecified class: Gem::Specification (Psych::DisallowedClass)
> from /usr/lib/ruby/3.1.0/psych/class_loader.rb:28:in `load'
> from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:424:in `resolve_class'
> from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:213:in `visit_Psych_Nodes_Mapping'
> from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:318:in `visit_Psych_Nodes_Document'
> from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> from /usr/lib/ruby/3.1.0/psych.rb:335:in `safe_load'
> from /usr/lib/ruby/3.1.0/psych.rb:370:in `load'
> from /usr/lib/ruby/3.1.0/psych.rb:671:in `block in load_file'
> from /usr/lib/ruby/3.1.0/psych.rb:670:in `open'
> from /usr/lib/ruby/3.1.0/psych.rb:670:in `load_file'
> from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:123:in `load_gemspec'
> from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:36:in `block in initialize'
> from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:35:in `chdir'
> from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:35:in `initialize'
> from /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb:90:in `new'
> from /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb:90:in `block in do_check_dependencies'
> from /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb:89:in `each'
> from /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb:89:in `do_check_dependencies'
> from /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb:79:in `run_tests'
> from /usr/bin/gem2deb-test-runner:60:in `<main>'
> ERROR: Test "ruby3.1" failed. Exiting.
> dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-bert returned exit code 1
> make: *** [debian/rules:18: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/ruby-bert_1.1.6-2+rebuild1658133846_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/b13e3daf/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list