ruby-rspec-longrun: FTBFS: undefined method `cyan' for class `RSpec::Longrun::Formatter' (NameError)

Bug #1507412 reported by Logan Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby-rspec-longrun (Debian)
Fix Released
Unknown
ruby-rspec-longrun (Ubuntu)
Triaged
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/795678:

Source: ruby-rspec-longrun
Version: 1.0.1-1
Severity: serious
Justification: fails to build from source

Dear Maintainer,

ruby-rspec-longrun fails to build from source on unstable/amd64:

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

  RUBYLIB=/tmp/buildd/ruby-rspec-longrun-1.0.1/debian/ruby-rspec-longrun/usr/lib/ruby/vendor_ruby:.
  rake2.1 -f debian/ruby-tests.rake
  /usr/bin/ruby2.1 /usr/bin/rspec --pattern
  spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
  /tmp/buildd/ruby-rspec-longrun-1.0.1/lib/rspec/longrun/formatter.rb:55:in
  `alias_method': undefined method `cyan' for class
  `RSpec::Longrun::Formatter' (NameError)
   from
   /tmp/buildd/ruby-rspec-longrun-1.0.1/lib/rspec/longrun/formatter.rb:55:in
   `alias_missing_method'
   from
   /tmp/buildd/ruby-rspec-longrun-1.0.1/lib/rspec/longrun/formatter.rb:59:in
   `<class:Formatter>'
   from
   /tmp/buildd/ruby-rspec-longrun-1.0.1/lib/rspec/longrun/formatter.rb:6:in
   `<module:Longrun>'
   from
   /tmp/buildd/ruby-rspec-longrun-1.0.1/lib/rspec/longrun/formatter.rb:4:in
   `<module:RSpec>'
   from
   /tmp/buildd/ruby-rspec-longrun-1.0.1/lib/rspec/longrun/formatter.rb:3:in
   `<top (required)>'
   from
   /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
   `require'
   from
   /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
   `require'
   from
   /tmp/buildd/ruby-rspec-longrun-1.0.1/lib/rspec/longrun.rb:2:in
   `<top (required)>'
   from
   /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
   `require'
   from
   /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
   `require'
   from
   /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1280:in
   `block in requires='
   from
   /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1280:in
   `each'
   from
   /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1280:in
   `requires='
   from
   /usr/lib/ruby/vendor_ruby/rspec/core/configuration_options.rb:109:in
   `block in process_options_into'
   from
   /usr/lib/ruby/vendor_ruby/rspec/core/configuration_options.rb:108:in
   `each'
   from
   /usr/lib/ruby/vendor_ruby/rspec/core/configuration_options.rb:108:in
   `process_options_into'
   from
   /usr/lib/ruby/vendor_ruby/rspec/core/configuration_options.rb:21:in
   `configure'
   from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:102: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.1 /usr/bin/rspec --pattern
  spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
  ERROR: Test "ruby2.1" failed. Exiting.
  dh_auto_install: dh_ruby --install
  /tmp/buildd/ruby-rspec-longrun-1.0.1/debian/ruby-rspec-longrun
  returned exit code 1
  debian/rules:15: recipe for target 'binary' failed
  make: *** [binary] Error 1
  dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
  status 2

  [..]

The full build log is attached or can be viewed here:

  https://reproducible.debian.net/logs/unstable/amd64/ruby-rspec-longrun_1.0.1-1.build1.log.gz

Regards,

--
      ,''`.
     : :' : Chris Lamb
     `. `'` <email address hidden> / chris-lamb.co.uk
       `-

Logan Rosen (logan)
Changed in ruby-rspec-longrun (Ubuntu):
status: New → Triaged
importance: Undecided → High
description: updated
Changed in ruby-rspec-longrun (Debian):
importance: Undecided → Unknown
status: New → Confirmed
Changed in ruby-rspec-longrun (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.