[DRE-maint] Bug#908863: ruby-bourne: FTBFS (undefined method `reset_instance')

Santiago Vila sanvila at debian.org
Sat Sep 15 09:40:29 BST 2018


Package: src:ruby-bourne
Version: 1.6.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=ruby --with ruby
   dh_update_autotools_config -i -O--buildsystem=ruby
   dh_auto_configure -i -O--buildsystem=ruby
	dh_ruby --configure
   dh_auto_build -i -O--buildsystem=ruby
	dh_ruby --build
   dh_ruby --build
   dh_auto_test -i -O--buildsystem=ruby
	dh_ruby --test
 fakeroot debian/rules binary-indep
dh binary-indep --buildsystem=ruby --with ruby
   dh_testroot -i -O--buildsystem=ruby
   dh_prep -i -O--buildsystem=ruby

[... snipped ...]

===============================================================================
Error: test_passes_if_invocation_count_correct(PureHaveReceivedTest):
  NoMethodError: undefined method `reset_instance' for Mocha::Mockery:Class
  Did you mean?  reset_mocha
/<<PKGBUILDDIR>>/test/unit/have_received_test.rb:13:in `teardown'
===============================================================================
E
===============================================================================
Error: test_passes_if_invocation_exists(PureHaveReceivedTest):
  NoMethodError: undefined method `reset_instance' for Mocha::Mockery:Class
  Did you mean?  reset_mocha
/<<PKGBUILDDIR>>/test/unit/have_received_test.rb:13:in `teardown'
===============================================================================
E
===============================================================================
Error: test_passes_if_invocation_exists_for_impersonating_mock(PureHaveReceivedTest):
  NoMethodError: undefined method `reset_instance' for Mocha::Mockery:Class
  Did you mean?  reset_mocha
/<<PKGBUILDDIR>>/test/unit/have_received_test.rb:13:in `teardown'
===============================================================================
E
===============================================================================
Error: test_passes_if_invocation_exists_with_exact_arguments(PureHaveReceivedTest):
  NoMethodError: undefined method `reset_instance' for Mocha::Mockery:Class
  Did you mean?  reset_mocha
/<<PKGBUILDDIR>>/test/unit/have_received_test.rb:13:in `teardown'
===============================================================================
E
===============================================================================
Error: test_passes_if_invocation_exists_with_wildcard_arguments(PureHaveReceivedTest):
  NoMethodError: undefined method `reset_instance' for Mocha::Mockery:Class
  Did you mean?  reset_mocha
/<<PKGBUILDDIR>>/test/unit/have_received_test.rb:13:in `teardown'
===============================================================================
.......................
Finished in 0.158188284 seconds.
-------------------------------------------------------------------------------
137 tests, 365 assertions, 0 failures, 33 errors, 0 pendings, 0 omissions, 0 notifications
99.2701% passed
-------------------------------------------------------------------------------
866.06 tests/s, 2307.38 assertions/s
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-bourne returned exit code 1
make: *** [debian/rules:6: binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder on buster with "dpkg-buildpackage -A"
but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-bourne.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



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