[DRE-maint] Bug#674324: ruby-net-sftp: FTBFS: test failed

Emanuele Rocca ema at debian.org
Sat Sep 1 08:20:45 UTC 2012


On 24/05 11:58, Lucas Nussbaum wrote:
> Source: ruby-net-sftp
> Version: 1:2.0.5-2
> Severity: serious
> Tags: wheezy sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20120524 qa-ftbfs
> Justification: FTBFS on amd64
[...]

> > /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> > Loaded suite debian/ruby-tests
[...]

> > 418 tests, 1059 assertions, 7 failures, 0 errors
> > ERROR: Test "ruby1.8" failed. Exiting.
> > dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/tmp returned exit code 1
> > make: *** [binary] Error 1

Interestingly, with older versions of ruby-mocha all the tests pass
without problems. For example, on Ubuntu Oneiric:

ema at saturn:~/debian/packages/ruby-net-sftp-2.0.5$ apt-cache policy ruby-mocha
ruby-mocha:
  Installed: 0.9.12-1
  Candidate: 0.9.12-1
  Version table:
 *** 0.9.12-1 0
        500 http://de.archive.ubuntu.com/ubuntu/ oneiric/universe amd64
Packages
        100 /var/lib/dpkg/status
ema at saturn:~/debian/packages/ruby-net-sftp-2.0.5$ /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2de
Running tests for ruby1.8 using debian/ruby-tests.rb...
Loaded suite debian/ruby-tests
Started
...............................................................................................................................
Finished in 0.690501 seconds.

418 tests, 1147 assertions, 0 failures, 0 errors

It looks like the changes introduced in recent upstream versions of
ruby-mocha are breaking ruby-net-sftp's tests.

    Emanuele



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