[DRE-maint] Bug#906655: ruby-minitest-around: FTBFS in buster/sid (failing tests)

Santiago Vila sanvila at debian.org
Sun Aug 19 12:20:00 BST 2018


Package: src:ruby-minitest-around
Version: 0.3.2-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: Compatibility levels before 9 are deprecated (level 7 in use)
   dh_update_autotools_config -i -O--buildsystem=ruby
   dh_auto_configure -i -O--buildsystem=ruby
dh_auto_configure: Compatibility levels before 9 are deprecated (level 7 in use)
	dh_ruby --configure
   dh_auto_build -i -O--buildsystem=ruby
dh_auto_build: Compatibility levels before 9 are deprecated (level 7 in use)
	dh_ruby --build
   dh_ruby --build
   dh_auto_test -i -O--buildsystem=ruby
dh_auto_test: Compatibility levels before 9 are deprecated (level 7 in use)
	dh_ruby --test

[... snipped ...]

install -D -m644 /<<PKGBUILDDIR>>/lib/minitest/around/unit.rb /<<PKGBUILDDIR>>/debian/ruby-minitest-around/usr/lib/ruby/vendor_ruby/minitest/around/unit.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/minitest/around/version.rb /<<PKGBUILDDIR>>/debian/ruby-minitest-around/usr/lib/ruby/vendor_ruby/minitest/around/version.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/minitest/around.rb /<<PKGBUILDDIR>>/debian/ruby-minitest-around/usr/lib/ruby/vendor_ruby/minitest/around.rb

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install Rubygems integration metadata                                        │
└──────────────────────────────────────────────────────────────────────────────┘

generating gemspec at /<<PKGBUILDDIR>>/debian/ruby-minitest-around/usr/share/rubygems-integration/all/specifications/minitest-around-0.3.2.gemspec
/usr/bin/ruby2.5 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.5 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-minitest-around/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-minitest-around/usr/share/rubygems-integration/all:/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"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/around_spec.rb" "test/around_test.rb" "test/nested_spec.rb" "test/nested_test.rb" -v
/<<PKGBUILDDIR>>/debian/ruby-minitest-around/usr/lib/ruby/vendor_ruby/minitest/around/spec.rb:27: warning: method redefined; discarding old before
/usr/lib/ruby/vendor_ruby/minitest/spec.rb:180: warning: previous definition of before was here
/<<PKGBUILDDIR>>/debian/ruby-minitest-around/usr/lib/ruby/vendor_ruby/minitest/around/spec.rb:31: warning: method redefined; discarding old after
/usr/lib/ruby/vendor_ruby/minitest/spec.rb:194: warning: previous definition of after was here
Run options: -v --seed 39915

# Running:

Minitest Around::nested fun::more nesting fun#test_0001_orders = /usr/lib/ruby/vendor_ruby/minitest.rb:961:in `run_one_method': Minitest Around::nested fun::more nesting fun#run _must_ return a Result (RuntimeError)
	from /usr/lib/ruby/vendor_ruby/minitest.rb:334:in `run_one_method'
	from /usr/lib/ruby/vendor_ruby/minitest.rb:321:in `block (2 levels) in run'
	from /usr/lib/ruby/vendor_ruby/minitest.rb:320:in `each'
	from /usr/lib/ruby/vendor_ruby/minitest.rb:320:in `block in run'
	from /usr/lib/ruby/vendor_ruby/minitest.rb:360:in `on_signal'
	from /usr/lib/ruby/vendor_ruby/minitest.rb:347:in `with_info_handler'
	from /usr/lib/ruby/vendor_ruby/minitest.rb:319:in `run'
	from /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `block in __run'
	from /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `map'
	from /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `__run'
	from /usr/lib/ruby/vendor_ruby/minitest.rb:136:in `run'
	from /usr/lib/ruby/vendor_ruby/minitest.rb:63:in `block in autorun'
rake aborted!
Command failed with status (1): [ruby -w -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/around_spec.rb" "test/around_test.rb" "test/nested_spec.rb" "test/nested_test.rb" -v]

Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-minitest-around returned exit code 1
make: *** [debian/rules:15: binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-minitest-around.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