Re: Bug#791844: subversion: FTBFS with ruby2.2: cannot load such file -- test/unit (LoadError)
Control: tag -1 moreinfo
On Wed, Jul 08, 2015 at 09:41:41PM +0200, Christian Hofstaedtler wrote:
> We're planning to switch the ruby version in unstable to 2.2, and
> shortly after that 2.1 will be removed.
>
> In a short test with the ruby and ruby-all-dev packages from
> experimental, the following FTBFS was seen:
>
> make[3]: Entering directory '/«PKGBUILDDIR»/BUILD/subversion/bindings/swig/perl/native'
> /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- test/unit (LoadError)
> from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
> from /«PKGBUILDDIR»/subversion/bindings/swig/ruby/test/run-test.rb:22:in `<main>'
> make[2]: *** [check-swig-rb] Error 1
> Makefile:861: recipe for target 'check-swig-rb' failed
> make[2]: Leaving directory '/«PKGBUILDDIR»/BUILD'
> make[1]: *** [check-swig-rb] Error 2
>
> Generally this error means that you'll now need to Build-Depend on
> ruby-test-unit, as the older, bundled version of that test runner
> is no longer shipped with ruby2.2.
According to the release notes for Ruby 2.2:
bundled libraries:
Update Psych 2.0.8
Update Rake 10.4.2
Update RDoc 4.2.0
Update RubyGems 2.4.5
Update test-unit 3.0.8 (removed from repository but bundled in tarball)
test-unit isn't maintained in the repository, but it's still being
shipped as part of the official Ruby tarball. Why then is Debian's ruby
package not providing the same?
Cheers,
--
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan@debian.org>
Reply to: