[DRE-maint] Bug#816660: FTBFS: ArgumentError: wrong number of arguments (given 0, expected 1)
Antonio Terceiro
terceiro at debian.org
Thu Mar 3 18:30:15 UTC 2016
Package: ruby-activerecord-deprecated-finders
Version: 1.0.4-1
Severity: serious
Tags: upstream
Justification: Fails to build from source
Forwarded: https://github.com/rails/activerecord-deprecated_finders/issues/27
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.3 from debian/ruby-tests.rake │
└──────────────────────────────────────────────────────────────────────────────┘
RUBYLIB=/home/terceiro/src/debian/pkg-ruby-extras/build-area/ruby-activerecord-deprecated-finders-1.0.4/debian/ruby-activerecord-deprecated-finders/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-activerecord-deprecated-finders/usr/share/rubygems-integration/all:/home/terceiro/.gem/ruby/2.3.0:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.3 -I"lib:test" "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/associations_test.rb" "test/calculate_test.rb" "test/default_scope_test.rb" "test/dynamic_methods_test.rb" "test/find_in_batches_test.rb" "test/finder_options_test.rb" "test/finder_test.rb" "test/scope_test.rb" "test/scoped_test.rb" "test/update_all_test.rb" "test/with_scope_test.rb"
Run options: --seed 13090
# Running:
......................E.....EE......................................
Finished in 0.331967s, 204.8398 runs/s, 370.5190 assertions/s.
1) Error:
associations#test_0005_translates hash scope options into scopes:
ArgumentError: wrong number of arguments (given 0, expected 1)
/usr/lib/ruby/vendor_ruby/active_record/relation/spawn_methods.rb:41:in `instance_exec'
/usr/lib/ruby/vendor_ruby/active_record/relation/spawn_methods.rb:41:in `merge!'
/usr/lib/ruby/vendor_ruby/active_record/relation/spawn_methods.rb:33:in `merge'
/home/terceiro/src/debian/pkg-ruby-extras/build-area/ruby-activerecord-deprecated-finders-1.0.4/lib/active_record/deprecated_finders/association_builder.rb:24:in `block in to_proc'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:191:in `instance_exec'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:191:in `eval_scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:155:in `block (2 levels) in add_constraints'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:154:in `each'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:154:in `block in add_constraints'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:141:in `each'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:141:in `each_with_index'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:141:in `add_constraints'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:39:in `scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:5:in `scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/association.rb:97:in `association_scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/association.rb:86:in `scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/collection_association.rb:423:in `scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/collection_proxy.rb:37:in `initialize'
/usr/lib/ruby/vendor_ruby/active_record/relation/delegation.rb:106:in `new'
/usr/lib/ruby/vendor_ruby/active_record/relation/delegation.rb:106:in `create'
/usr/lib/ruby/vendor_ruby/active_record/associations/collection_association.rb:39:in `reader'
/usr/lib/ruby/vendor_ruby/active_record/associations/builder/association.rb:115:in `comments'
/home/terceiro/src/debian/pkg-ruby-extras/build-area/ruby-activerecord-deprecated-finders-1.0.4/test/associations_test.rb:49:in `block (2 levels) in <top (required)>'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:108:in `block (3 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:205:in `capture_exceptions'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:105:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:256:in `time_it'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:331:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:276:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:778:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:305:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:293:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:292:in `each'
/usr/lib/ruby/vendor_ruby/minitest.rb:292:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:331:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest.rb:318:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest.rb:291:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:152:in `block in __run'
/usr/lib/ruby/vendor_ruby/minitest.rb:152:in `map'
/usr/lib/ruby/vendor_ruby/minitest.rb:152:in `__run'
/usr/lib/ruby/vendor_ruby/minitest.rb:129:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:56:in `block in autorun'
2) Error:
associations#test_0006_supports proc where values:
ArgumentError: wrong number of arguments (given 0, expected 1)
/usr/lib/ruby/vendor_ruby/active_record/relation/spawn_methods.rb:41:in `instance_exec'
/usr/lib/ruby/vendor_ruby/active_record/relation/spawn_methods.rb:41:in `merge!'
/home/terceiro/src/debian/pkg-ruby-extras/build-area/ruby-activerecord-deprecated-finders-1.0.4/lib/active_record/deprecated_finders/association_builder.rb:22:in `block in to_proc'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:191:in `instance_exec'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:191:in `eval_scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:155:in `block (2 levels) in add_constraints'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:154:in `each'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:154:in `block in add_constraints'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:141:in `each'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:141:in `each_with_index'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:141:in `add_constraints'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:39:in `scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:5:in `scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/association.rb:97:in `association_scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/association.rb:86:in `scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/collection_association.rb:423:in `scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/collection_proxy.rb:37:in `initialize'
/usr/lib/ruby/vendor_ruby/active_record/relation/delegation.rb:106:in `new'
/usr/lib/ruby/vendor_ruby/active_record/relation/delegation.rb:106:in `create'
/usr/lib/ruby/vendor_ruby/active_record/associations/collection_association.rb:39:in `reader'
/usr/lib/ruby/vendor_ruby/active_record/associations/builder/association.rb:115:in `comments'
/home/terceiro/src/debian/pkg-ruby-extras/build-area/ruby-activerecord-deprecated-finders-1.0.4/test/associations_test.rb:67:in `block (2 levels) in <top (required)>'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:108:in `block (3 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:205:in `capture_exceptions'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:105:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:256:in `time_it'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:331:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:276:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:778:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:305:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:293:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:292:in `each'
/usr/lib/ruby/vendor_ruby/minitest.rb:292:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:331:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest.rb:318:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest.rb:291:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:152:in `block in __run'
/usr/lib/ruby/vendor_ruby/minitest.rb:152:in `map'
/usr/lib/ruby/vendor_ruby/minitest.rb:152:in `__run'
/usr/lib/ruby/vendor_ruby/minitest.rb:129:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:56:in `block in autorun'
3) Error:
associations#test_0007_supports proc where values which access the owner:
ArgumentError: wrong number of arguments (given 0, expected 1)
/usr/lib/ruby/vendor_ruby/active_record/relation/spawn_methods.rb:41:in `instance_exec'
/usr/lib/ruby/vendor_ruby/active_record/relation/spawn_methods.rb:41:in `merge!'
/home/terceiro/src/debian/pkg-ruby-extras/build-area/ruby-activerecord-deprecated-finders-1.0.4/lib/active_record/deprecated_finders/association_builder.rb:22:in `block in to_proc'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:191:in `instance_exec'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:191:in `eval_scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:155:in `block (2 levels) in add_constraints'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:154:in `each'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:154:in `block in add_constraints'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:141:in `each'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:141:in `each_with_index'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:141:in `add_constraints'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:39:in `scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/association_scope.rb:5:in `scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/association.rb:97:in `association_scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/association.rb:86:in `scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/collection_association.rb:423:in `scope'
/usr/lib/ruby/vendor_ruby/active_record/associations/collection_proxy.rb:37:in `initialize'
/usr/lib/ruby/vendor_ruby/active_record/relation/delegation.rb:106:in `new'
/usr/lib/ruby/vendor_ruby/active_record/relation/delegation.rb:106:in `create'
/usr/lib/ruby/vendor_ruby/active_record/associations/collection_association.rb:39:in `reader'
/usr/lib/ruby/vendor_ruby/active_record/associations/builder/association.rb:115:in `comments'
/home/terceiro/src/debian/pkg-ruby-extras/build-area/ruby-activerecord-deprecated-finders-1.0.4/test/associations_test.rb:77:in `block (2 levels) in <top (required)>'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:108:in `block (3 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:205:in `capture_exceptions'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:105:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:256:in `time_it'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:104:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:331:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:276:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:778:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:305:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:293:in `block (2 levels) in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:292:in `each'
/usr/lib/ruby/vendor_ruby/minitest.rb:292:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:331:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest.rb:318:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest.rb:291:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:152:in `block in __run'
/usr/lib/ruby/vendor_ruby/minitest.rb:152:in `map'
/usr/lib/ruby/vendor_ruby/minitest.rb:152:in `__run'
/usr/lib/ruby/vendor_ruby/minitest.rb:129:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:56:in `block in autorun'
68 runs, 123 assertions, 0 failures, 3 errors, 0 skips
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160303/116f0ed9/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list