[DRE-maint] Bug#888123: ruby-crack: FTBFS on ruby2.5: uninitialized constant SafeYAML::Parse::Date::DateTime
Chris West (Faux)
debian at fau.xxx
Tue Jan 23 15:06:08 UTC 2018
Source: ruby-crack
Version: 0.4.3-2
Severity: important
User: debian-ruby at lists.debian.org
Usertags: ruby2.5
Dear Maintainer,
This package fails to build against ruby2.5. Soon, there will
be a transition to ruby2.5, and this package will FTBFS in sid.
There may be some details on the wiki about common problems:
https://wiki.debian.org/Teams/Ruby/Ruby25Transition
Build log excerpt:
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.5 from debian/ruby-tests.rake │
└──────────────────────────────────────────────────────────────────────────────┘
RUBYLIB=/build/ruby-crack-0.4.3/debian/ruby-crack/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-crack/usr/share/rubygems-integration/all:/root/.gem/ruby/2.5.0:/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 -w -I"lib:test" "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/hash_test.rb" "test/json_test.rb" "test/parser_test.rb" "test/string_test.rb" "test/xml_test.rb"
/build/ruby-crack-0.4.3/test/hash_test.rb:10: warning: ambiguous first argument; put parentheses or a space even after `/' operator
/build/ruby-crack-0.4.3/test/hash_test.rb:11: warning: ambiguous first argument; put parentheses or a space even after `/' operator
/build/ruby-crack-0.4.3/test/hash_test.rb:12: warning: ambiguous first argument; put parentheses or a space even after `/' operator
/build/ruby-crack-0.4.3/test/hash_test.rb:22: warning: ambiguous first argument; put parentheses or a space even after `/' operator
/build/ruby-crack-0.4.3/test/hash_test.rb:23: warning: ambiguous first argument; put parentheses or a space even after `/' operator
/build/ruby-crack-0.4.3/test/hash_test.rb:24: warning: ambiguous first argument; put parentheses or a space even after `/' operator
/usr/lib/ruby/vendor_ruby/safe_yaml/parse/date.rb:22:in `<class:Date>': uninitialized constant SafeYAML::Parse::Date::DateTime (NameError)
Did you mean? SafeYAML::Parse::Date::DATE_MATCHER
from /usr/lib/ruby/vendor_ruby/safe_yaml/parse/date.rb:3:in `<class:Parse>'
from /usr/lib/ruby/vendor_ruby/safe_yaml/parse/date.rb:2:in `<module:SafeYAML>'
from /usr/lib/ruby/vendor_ruby/safe_yaml/parse/date.rb:1:in `<top (required)>'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /usr/lib/ruby/vendor_ruby/safe_yaml/load.rb:14:in `<top (required)>'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /build/ruby-crack-0.4.3/lib/crack/json.rb:6:in `<top (required)>'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /build/ruby-crack-0.4.3/lib/crack.rb:6:in `<top (required)>'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /build/ruby-crack-0.4.3/test/test_helper.rb:3:in `<top (required)>'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /build/ruby-crack-0.4.3/test/hash_test.rb:1:in `<top (required)>'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:17:in `block in <main>'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:5:in `select'
from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:5:in `<main>'
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test" "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/hash_test.rb" "test/json_test.rb" "test/parser_test.rb" "test/string_test.rb" "test/xml_test.rb" ]
Tasks: TOP => default => test
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/ruby-crack-0.4.3/debian/ruby-crack returned exit code 1
debian/rules:6: recipe for target 'binary' failed
make: *** [binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Full build log:
https://rbuild.fau.xxx/2018-01-23/ruby-crack.log
Please fix it!
Cheers,
Chris.
More information about the Pkg-ruby-extras-maintainers
mailing list