Source: ruby-acts-as-tree Version: 2.8.0-1.1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: [email protected] Usertags: ruby3.0
Hi,
We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-acts-as-tree was found to fail to build in that situation.
To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.
Relevant part (hopefully):
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/associations/builder/association.rb:51:in
> `build_scope': undefined method `arity' for {:class_name=>"LevelMixin",
> :primary_key=>"id", :foreign_key=>"parent_id", :counter_cache=>nil,
> :touch=>false, :inverse_of=>:children, :optional=>true}:Hash (NoMethodError)
> from
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/associations/builder/association.rb:45:in
> `create_reflection'
> from
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/associations/builder/association.rb:30:in
> `build'
> from
> /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/associations.rb:1658:in
> `belongs_to'
> from
> /<<PKGBUILDDIR>>/debian/ruby-acts-as-tree/usr/lib/ruby/vendor_ruby/acts_as_tree.rb:93:in
> `acts_as_tree'
> from /<<PKGBUILDDIR>>/test/acts_as_tree_test.rb:86:in
> `<class:LevelMixin>'
> from /<<PKGBUILDDIR>>/test/acts_as_tree_test.rb:84: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 -e:1:in `block in <main>'
> from -e:1:in `each'
> from -e:1:in `<main>'
> ERROR: Test "ruby3.0" failed:
The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-acts-as-tree/ruby-acts-as-tree_2.8.0-1.1+rebuild1633375114_amd64.build.txt
signature.asc
Description: PGP signature

