[DRE-maint] Bug#812939: ruby-rspec-mocks: FTBFS - undefined method `color_enabled='

Michael Tautschnig mt at debian.org
Thu Jan 28 00:15:02 UTC 2016


Package: ruby-rspec-mocks
Version: 2.14.5-1
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.2 from debian/ruby-tests.rb                              │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-mocks/ruby-rspec-mocks-2.14.5/debian/ruby-rspec-mocks/usr/lib/ruby/vendor_ruby:. GEM_PATH=/srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-mocks/.gem/ruby/2.2.0:/var/lib/gems/2.2.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.2.0:/usr/share/rubygems-integration/2.2.0:/usr/share/rubygems-integration/2.2:/usr/share/rubygems-integration/all:debian/ruby-rspec-mocks/usr/share/rubygems-integration/all ruby2.2 debian/ruby-tests.rb
/srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-mocks/ruby-rspec-mocks-2.14.5/spec/spec_helper.rb:25:in `block in <top (required)>': undefined method `color_enabled=' for #<RSpec::Core::Configuration:0x000000025bc398> (NoMethodError)
	from /usr/lib/ruby/vendor_ruby/rspec/core.rb:97:in `configure'
	from /srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-mocks/ruby-rspec-mocks-2.14.5/spec/spec_helper.rb:23:in `<top (required)>'
	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-mocks/ruby-rspec-mocks-2.14.5/spec/rspec/mocks/and_call_original_spec.rb:1:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1327:in `load'
	from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1327:in `block in load_spec_files'
	from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1325:in `each'
	from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1325:in `load_spec_files'
	from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:103:in `setup'
	from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:89:in `run'
	from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:74:in `run'
	from debian/ruby-tests.rb:6:in `<main>'
ERROR: Test "ruby2.2" failed. Exiting.
dh_auto_install: dh_ruby --install /srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-mocks/ruby-rspec-mocks-2.14.5/debian/ruby-rspec-mocks returned exit code 1
debian/rules:15: recipe for target 'binary' failed
make: *** [binary] Error 1


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-rspec-mocks-build-log.txt.gz
Type: application/x-gunzip
Size: 6881 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160128/56196a8a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160128/56196a8a/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list