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

Michael Tautschnig mt at debian.org
Fri Feb 19 02:03:30 UTC 2016


Package: ruby-rspec-expectations
Version: 2.14.2-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.

[...]
/usr/bin/ruby2.2 /usr/bin/gem2deb-test-runner

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

RUBYLIB=/srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-expectations/ruby-rspec-expectations-2.14.2/debian/ruby-rspec-expectations/usr/lib/ruby/vendor_ruby:. GEM_PATH=/srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-expectations/.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-expectations/usr/share/rubygems-integration/all ruby2.2 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.2 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb
/srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-expectations/ruby-rspec-expectations-2.14.2/spec/spec_helper.rb:5:in `block in <top (required)>': undefined method `color_enabled=' for #<RSpec::Core::Configuration:0x000000012afde0> (NoMethodError)
	from /usr/lib/ruby/vendor_ruby/rspec/core.rb:97:in `configure'
	from /srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-expectations/ruby-rspec-expectations-2.14.2/spec/spec_helper.rb:3: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-expectations/ruby-rspec-expectations-2.14.2/spec/rspec/expectations/differ_spec.rb:5: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 /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:42:in `invoke'
	from /usr/bin/rspec:4:in `<main>'
/usr/bin/ruby2.2 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed
ERROR: Test "ruby2.2" failed. Exiting.
dh_auto_install: dh_ruby --install /srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-expectations/ruby-rspec-expectations-2.14.2/debian/ruby-rspec-expectations returned exit code 1
debian/rules:15: recipe for target 'binary' failed


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-expectations-build-log.txt.gz
Type: application/x-gunzip
Size: 6880 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160219/dcb05c2a/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/20160219/dcb05c2a/attachment.sig>


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