[DRE-maint] Bug#996140: ruby-bogus: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: # ArgumentError:
Antonio Terceiro
terceiro at debian.org
Mon Oct 11 14:05:00 BST 2021
Source: ruby-bogus
Version: 0.1.6-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0
Hi,
We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-bogus 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:
> # wrong number of arguments (given 1, expected 0)
> # (eval):1:in `bar'
>
> Finished in 0.39388 seconds (files took 0.26338 seconds to load)
> 400 examples, 30 failures
>
> Failed examples:
>
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:1:2]' # Ruby 2.1 required keyword arguments with regular objects can spy on stubbed methods
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:1:3]' # Ruby 2.1 required keyword arguments with regular objects can mock methods with keyword arguments
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:1:4]' # Ruby 2.1 required keyword arguments with regular objects can stub methods with keyword arguments
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:1:6]' # Ruby 2.1 required keyword arguments with regular objects does not overwrite the method signature
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:1:7]' # Ruby 2.1 required keyword arguments with regular objects can spy on stubbed methods
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:1:8]' # Ruby 2.1 required keyword arguments with regular objects can mock methods with keyword arguments
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:1:9]' # Ruby 2.1 required keyword arguments with regular objects can stub methods with keyword arguments
> rspec ./spec/bogus/ruby_2_1_support_spec.rb:30 # Ruby 2.1 required keyword arguments with fakes allows spying without stubbing
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:2:2]' # Ruby 2.1 required keyword arguments with fakes can spy on stubbed methods
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:2:3]' # Ruby 2.1 required keyword arguments with fakes can mock methods with keyword arguments
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:2:4]' # Ruby 2.1 required keyword arguments with fakes can stub methods with keyword arguments
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:2:6]' # Ruby 2.1 required keyword arguments with fakes does not overwrite the method signature
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:2:7]' # Ruby 2.1 required keyword arguments with fakes can spy on stubbed methods
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:2:8]' # Ruby 2.1 required keyword arguments with fakes can mock methods with keyword arguments
> rspec './spec/bogus/ruby_2_1_support_spec.rb[1:2:9]' # Ruby 2.1 required keyword arguments with fakes can stub methods with keyword arguments
> rspec './spec/bogus/ruby_2_support_spec.rb[1:1:2]' # Ruby 2.0 keyword arguments with regular objects can spy on stubbed methods
> rspec './spec/bogus/ruby_2_support_spec.rb[1:1:3]' # Ruby 2.0 keyword arguments with regular objects can mock methods with keyword arguments
> rspec './spec/bogus/ruby_2_support_spec.rb[1:1:4]' # Ruby 2.0 keyword arguments with regular objects can stub methods with keyword arguments
> rspec './spec/bogus/ruby_2_support_spec.rb[1:1:6]' # Ruby 2.0 keyword arguments with regular objects does not overwrite the method signature
> rspec './spec/bogus/ruby_2_support_spec.rb[1:1:7]' # Ruby 2.0 keyword arguments with regular objects can spy on stubbed methods
> rspec './spec/bogus/ruby_2_support_spec.rb[1:1:8]' # Ruby 2.0 keyword arguments with regular objects can mock methods with keyword arguments
> rspec './spec/bogus/ruby_2_support_spec.rb[1:1:9]' # Ruby 2.0 keyword arguments with regular objects can stub methods with keyword arguments
> rspec ./spec/bogus/ruby_2_support_spec.rb:32 # Ruby 2.0 keyword arguments with fakes allows spying without stubbing
> rspec './spec/bogus/ruby_2_support_spec.rb[1:2:3]' # Ruby 2.0 keyword arguments with fakes can spy on stubbed methods
> rspec './spec/bogus/ruby_2_support_spec.rb[1:2:4]' # Ruby 2.0 keyword arguments with fakes can mock methods with keyword arguments
> rspec './spec/bogus/ruby_2_support_spec.rb[1:2:5]' # Ruby 2.0 keyword arguments with fakes can stub methods with keyword arguments
> rspec './spec/bogus/ruby_2_support_spec.rb[1:2:7]' # Ruby 2.0 keyword arguments with fakes does not overwrite the method signature
> rspec './spec/bogus/ruby_2_support_spec.rb[1:2:8]' # Ruby 2.0 keyword arguments with fakes can spy on stubbed methods
> rspec './spec/bogus/ruby_2_support_spec.rb[1:2:9]' # Ruby 2.0 keyword arguments with fakes can mock methods with keyword arguments
> rspec './spec/bogus/ruby_2_support_spec.rb[1:2:10]' # Ruby 2.0 keyword arguments with fakes can stub methods with keyword arguments
>
> /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 spec/bogus/bugs/rbx_instance_eval_bug_spec.rb spec/bogus/bugs/rbx_jruby_stub_on_class_spec.rb spec/bogus/clean_ruby_spec.rb spec/bogus/configuration_spec.rb spec/bogus/contracts/adds_contract_verification_spec.rb spec/bogus/contracts/adds_recording_spec.rb spec/bogus/contracts/interactions_repository_spec.rb spec/bogus/contracts/proxy_class_spec.rb spec/bogus/contracts/records_double_interactions_spec.rb spec/bogus/contracts/verifies_contracts_spec.rb spec/bogus/fakes/base_class_identifier_spec.rb spec/bogus/fakes/class_methods_spec.rb spec/bogus/fakes/converts_name_to_class_spec.rb spec/bogus/fakes/copies_classes_spec.rb spec/bogus/fakes/creates_fakes_spec.rb spec/bogus/fakes/creates_fakes_with_stubbed_methods_spec.rb spec/bogus/fakes/fake_configuration_spec.rb spec/bogus/fakes/fake_registry_spec.rb spec/bogus/fakes/fake_spec.rb spec/bogus/fakes/fakes_classes_spec.rb spec/bogus/fakes/faking_factories_spec.rb spec/bogus/fakes/frozen_fakes_spec.rb spec/bogus/fakes/instance_methods_spec.rb spec/bogus/fakes/makes_ducks_spec.rb spec/bogus/fakes/makes_substitute_methods_spec.rb spec/bogus/fakes/method_copiers_spec.rb spec/bogus/fakes/overwriten_classes_spec.rb spec/bogus/fakes/overwrites_classes_spec.rb spec/bogus/fakes/registers_created_fakes_spec.rb spec/bogus/fakes/resets_overwritten_classes_spec.rb spec/bogus/fakes/stubbing_new_method_on_fake_class_spec.rb spec/bogus/mocking_dsl_spec.rb spec/bogus/rspec/syntax_spec.rb spec/bogus/ruby_2_1_support_spec.rb spec/bogus/ruby_2_support_spec.rb spec/bogus/stubbing/anything_spec.rb spec/bogus/stubbing/double_spec.rb spec/bogus/stubbing/ensures_all_interactions_satisfied_spec.rb spec/bogus/stubbing/have_received_matcher_spec.rb spec/bogus/stubbing/interaction_spec.rb spec/bogus/stubbing/multi_stubber_spec.rb spec/bogus/stubbing/overwrites_methods_spec.rb spec/bogus/stubbing/record_interactions_spec.rb spec/bogus/stubbing/resets_stubbed_methods_spec.rb spec/bogus/stubbing/shadow_spec.rb spec/bogus/stubbing/stubbing_existing_methods_on_fakes_spec.rb spec/bogus/stubbing/tracks_existence_of_test_doubles_spec.rb spec/bogus/stubbing/undefined_return_value_spec.rb spec/bogus/stubbing/verifies_stub_definition_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-bogus/ruby-bogus_0.1.6-2+rebuild1633375813_amd64.build.txt
-------------- 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/20211011/862bac05/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list