Source: ruby-activerecord-import
Version: 1.2.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-activerecord-import 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-activerecord-import/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/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\ \"activerecord-import\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-tests.rake                           
>  │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=. 
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-activerecord-import/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/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 -S rake -f debian/ruby-tests.rake
> cp test/database.yml.sample test/database.yml
> 
> To run tests you must supply the adapter, see rake -T for more information.
> 
> Mocha deprecation warning at 
> /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
>  `block in require': `require 'mocha/mini_test'` has been deprecated. Please 
> use `require 'mocha/minitest' instead.
> /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/core_ext/class/subclasses.rb:30:
>  warning: method redefined; discarding old subclasses
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:430:in 
> `visit_Psych_Nodes_Alias': Unknown alias: common (Psych::BadAlias)
>       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:345:in `block in 
> revive_hash'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167: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:345:in `block in 
> revive_hash'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167: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 /<<PKGBUILDDIR>>/test/test_helper.rb:54:in `<top (required)>'
>       from 
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in
>  `require'
>       from 
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in
>  `require'
>       from /<<PKGBUILDDIR>>/test/import_test.rb:1:in `<top (required)>'
>       from 
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in
>  `require'
>       from 
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in
>  `require'
>       from 
> /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in 
> `block in <main>'
>       from 
> /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in 
> `select'
>       from 
> /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in 
> `<main>'
> rake aborted!
> Command failed with status (1)
> 
> Tasks: TOP => default => test:sqlite3
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.1" failed.


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-activerecord-import/ruby-activerecord-import_1.2.0-1+rebuild1663007333_amd64-2022-09-12T18:28:54Z.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

Attachment: signature.asc
Description: PGP signature

Reply via email to