[DRE-maint] Bug#892191: ruby-progressbar FTBFS with Ruby 2.5: Failure/Error: require 'mathn'

Adrian Bunk bunk at debian.org
Tue Mar 6 14:45:11 UTC 2018


Source: ruby-progressbar
Version: 1.4.2-1
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-progressbar.html

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

RUBYLIB=/build/1st/ruby-progressbar-1.4.2/debian/ruby-progressbar/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-progressbar/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb

An error occurred while loading ./spec/lib/ruby-progressbar/base_spec.rb.
Failure/Error: require 'mathn'

LoadError:
  cannot load such file -- mathn
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/lib/ruby-progressbar/base_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/lib/ruby-progressbar/components/bar_spec.rb.
Failure/Error: require 'mathn'

LoadError:
  cannot load such file -- mathn
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/lib/ruby-progressbar/components/bar_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/lib/ruby-progressbar/components/elapsed_timer_spec.rb.
Failure/Error: require 'mathn'

LoadError:
  cannot load such file -- mathn
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/lib/ruby-progressbar/components/elapsed_timer_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/lib/ruby-progressbar/components/estimated_timer_spec.rb.
Failure/Error: require 'mathn'

LoadError:
  cannot load such file -- mathn
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/lib/ruby-progressbar/components/estimated_timer_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/lib/ruby-progressbar/components/progressable_spec.rb.
Failure/Error: require 'mathn'

LoadError:
  cannot load such file -- mathn
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/lib/ruby-progressbar/components/progressable_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/lib/ruby-progressbar/components/throttle_spec.rb.
Failure/Error: require 'mathn'

LoadError:
  cannot load such file -- mathn
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/lib/ruby-progressbar/components/throttle_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/lib/ruby-progressbar/format/molecule_spec.rb.
Failure/Error: require 'mathn'

LoadError:
  cannot load such file -- mathn
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/lib/ruby-progressbar/format/molecule_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/lib/ruby-progressbar/running_average_calculator_spec.rb.
Failure/Error: require 'mathn'

LoadError:
  cannot load such file -- mathn
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/lib/ruby-progressbar/running_average_calculator_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/lib/ruby-progressbar/time_spec.rb.
Failure/Error: require 'mathn'

LoadError:
  cannot load such file -- mathn
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/lib/ruby-progressbar/time_spec.rb:1:in `<top (required)>'
No examples found.


Finished in 0.00045 seconds (files took 0.54597 seconds to load)
0 examples, 0 failures, 9 errors occurred outside of examples

/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/1st/ruby-progressbar-1.4.2/debian/ruby-progressbar returned exit code 1
make: *** [debian/rules:15: binary] Error 1


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