Source: ruby-mathml
Version: 0.14-3
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: [email protected]
Usertags: ftbfs
X-Debbugs-CC: [email protected]
Dear Maintainer,
The package fails to build:
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.1 from debian/ruby-tests.rake │
└──────────────────────────────────────────────────────────────────────────────┘
RUBYLIB=/ruby-mathml-0.14/debian/ruby-mathml/usr/lib/ruby/vendor_ruby:. rake2.1
-f debian/ruby-tests.rake
/usr/bin/ruby2.1 /usr/bin/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
F..F.F.F....FF.....FFFF.FFFFFF..F.FFF.F..F.....FFFF......................................................
Failures:
1) MathML::Element #display_style and #as_display_style
Failure/Error: e.display_style.should be_true
expected true to respond to `true?` or perhaps you meant `be true` or
`be_truthy`
# ./spec/math_ml/element_spec.rb:9:in `block (2 levels) in <top
(required)>'
2) MathML::LaTeX::Macro #parse
Failure/Error: lambda{@m.parse('\newcommand{notcommand}{}')}.should
raise_parse_error("Need newcommand.", '\\newcommand{', "notcommand}{}")
ArgumentError:
wrong number of arguments (1 for 3+)
# ./spec/util.rb:11:in `new'
# ./spec/util.rb:11:in `raise_parse_error'
# ./spec/math_ml/latex/macro_spec.rb:32:in `block (2 levels) in <top
(required)>'
3) MathML::LaTeX::Macro #expand_command
Failure/Error: lambda{@m.expand_command("paramcom", ["12"])}.should
raise_parse_error("Need more parameter.", "", "")
ArgumentError:
wrong number of arguments (1 for 3+)
# ./spec/util.rb:11:in `new'
# ./spec/util.rb:11:in `raise_parse_error'
# ./spec/math_ml/latex/macro_spec.rb:76:in `block (2 levels) in <top
(required)>'
...
26) MathML::LaTeX::Parser#symbol_table should return default symbol module
numeric character reference version when set by requiring should be true
Failure/Error: require("math_ml/symbol/character_reference").should
be_true
expected true to respond to `true?` or perhaps you meant `be true` or
`be_truthy`
# ./spec/math_ml/latex/parser_spec.rb:574:in `block (5 levels) in <top
(required)>'
Deprecation Warnings:
Using `should` from rspec-expectations' old `:should` syntax without explicitly
enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly
enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }`
instead. Called from /ruby-mathml-0.14/spec/math_ml/element_spec.rb:5:in `block
(2 levels) in <top (required)>'.
...
ERROR: Test "ruby2.1" failed. Exiting.
dh_auto_install: dh_ruby --install /ruby-mathml-0.14/debian/ruby-mathml
returned exit code 1
debian/rules:10: recipe for target 'override_dh_auto_install' failed
Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/ruby-mathml.html
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)