Source: ruby-fakefs Version: 0.6.7-1 Severity: important User: debian-r...@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: build/ruby-fakefs-0.6.7/lib/fakefs/file.rb:261: warning: constant ::Fixnum is deprecated ................./build/ruby-fakefs-0.6.7/test/fakefs_test.rb:766: warning: FakeFS::File#write is outdated interface which accepts just one argument /build/ruby-fakefs-0.6.7/test/fakefs_test.rb:766: warning: FakeFS::File#write is outdated interface which accepts just one argument /build/ruby-fakefs-0.6.7/test/fakefs_test.rb:767: warning: FakeFS::File#write is outdated interface which accepts just one argument /build/ruby-fakefs-0.6.7/test/fakefs_test.rb:767: warning: FakeFS::File#write is outdated interface which accepts just one argument ...................../build/ruby-fakefs-0.6.7/test/fakefs_test.rb:822: warning: setting Encoding.default_external .................../build/ruby-fakefs-0.6.7/test/fakefs_test.rb:2667: warning: FakeFS::File::new() does not take block; use FakeFS::File::open() instead ............../build/ruby-fakefs-0.6.7/lib/fakefs/file.rb:256: warning: constant ::Fixnum is deprecated /build/ruby-fakefs-0.6.7/lib/fakefs/file.rb:261: warning: constant ::Fixnum is deprecated ................./build/ruby-fakefs-0.6.7/test/fakefs_test.rb:352: warning: global variable `$PID' not initialized ......................................................F............................................/build/ruby-fakefs-0.6.7/lib/fakefs/dir.rb:223: warning: global variable `$PID' not initialized /build/ruby-fakefs-0.6.7/lib/fakefs/dir.rb:223: warning: global variable `$PID' not initialized ................../build/ruby-fakefs-0.6.7/lib/fakefs/file.rb:256: warning: constant ::Fixnum is deprecated /build/ruby-fakefs-0.6.7/lib/fakefs/file.rb:261: warning: constant ::Fixnum is deprecated ..../build/ruby-fakefs-0.6.7/lib/fakefs/file.rb:256: warning: constant ::Fixnum is deprecated /build/ruby-fakefs-0.6.7/lib/fakefs/file.rb:261: warning: constant ::Fixnum is deprecated ........................./build/ruby-fakefs-0.6.7/lib/fakefs/dir.rb:168: warning: global variable `$PID' not initialized ....................../build/ruby-fakefs-0.6.7/lib/fakefs/dir.rb:168: warning: global variable `$PID' not initialized ............................. Finished in 0.272047s, 1378.4389 runs/s, 2789.9604 assertions/s. 1) Failure: FakeFSTest#test_every_method_in_file_is_in_fake_fs_file [/build/ruby-fakefs-0.6.7/test/fakefs_test.rb:1218]: pread method is not available in File :( 375 runs, 759 assertions, 1 failures, 0 errors, 0 skips rake aborted! Command failed with status (1) 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-fakefs-0.6.7/debian/ruby-fakefs returned exit code 1 debian/rules:16: 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-fakefs.log Please fix it! Cheers, Chris.