Source: ruby-factory-girl Version: 4.7.0-2.1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: debian-r...@lists.debian.org Usertags: ruby3.0
Hi, We are about to enable building against ruby3.0 on unstable. During a test rebuild, ruby-factory-girl 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): > ArgumentError: > no receiver given > # ./lib/factory_girl/attribute/dynamic.rb:16:in `instance_exec' > # ./lib/factory_girl/attribute/dynamic.rb:16:in `block in to_proc' > # ./lib/factory_girl/evaluator.rb:75:in `instance_exec' > # ./lib/factory_girl/evaluator.rb:75:in `block in define_attribute' > # ./lib/factory_girl/attribute_assigner.rb:56:in `get' > # ./lib/factory_girl/attribute_assigner.rb:16:in `block (2 levels) in > object' > # ./lib/factory_girl/attribute_assigner.rb:15:in `each' > # ./lib/factory_girl/attribute_assigner.rb:15:in `block in object' > # <internal:kernel>:90:in `tap' > # ./lib/factory_girl/attribute_assigner.rb:14:in `object' > # ./lib/factory_girl/evaluation.rb:12:in `object' > # ./lib/factory_girl/strategy/build.rb:9:in `result' > # ./lib/factory_girl/factory.rb:42:in `run' > # ./lib/factory_girl/factory_runner.rb:29:in `block in run' > # > /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:182:in > `instrument' > # ./lib/factory_girl/factory_runner.rb:28:in `run' > # ./lib/factory_girl/strategy_syntax_method_registrar.rb:20:in `block in > define_singular_strategy_method' > # ./spec/acceptance/definition_spec.rb:42:in `block (2 levels) in <top > (required)>' > > Finished in 8.59 seconds (files took 1.14 seconds to load) > 537 examples, 3 failures > > Failed examples: > > rspec ./spec/acceptance/callbacks_spec.rb:68 # callbacks using Symbol#to_proc > runs the callback correctly > rspec ./spec/acceptance/definition_spec.rb:34 # attributes defined using > Symbol#to_proc assigns values correctly > rspec ./spec/acceptance/definition_spec.rb:41 # attributes defined using > Symbol#to_proc assigns value with override correctly > > /usr/bin/ruby3.0 > -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib > /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec > --pattern ./spec/\*\*/\*_spec.rb --format documentation failed > ERROR: Test "ruby3.0" failed: The full build log is available at https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-factory-girl/ruby-factory-girl_4.7.0-2.1+rebuild1633379420_amd64.build.txt
signature.asc
Description: PGP signature