[DRE-maint] Bug#747733: FTBFS: Test "ruby2.1" failed. Exiting

Christian Hofstaedtler zeha at debian.org
Sun May 11 13:06:58 UTC 2014


Source: ruby-heckle
Version: 2.0.0~b1-1
Severity: serious
Justification: fails to build from source
User: debian-ruby at lists.debian.org
Usertags: ruby2.0-rm

Dear Maintainer,

During a rebuild of ruby-related packages your package failed to
build with these errors:

===================================================================
Running tests for ruby2.1 using debian/ruby-tests.rb...
Run options: --seed 31023

# Running tests:
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

  1) Error:
TestHeckle#test_reset_mutatees:
NoMethodError: undefined method `[]' for nil:NilClass
    /«PKGBUILDDIR»/debian/ruby-heckle/usr/lib/ruby/vendor_ruby/heckle.rb:569:in `block in find_scope'
    /«PKGBUILDDIR»/debian/ruby-heckle/usr/lib/ruby/vendor_ruby/heckle.rb:19:in `block in each_sexp'
    /«PKGBUILDDIR»/debian/ruby-heckle/usr/lib/ruby/vendor_ruby/heckle.rb:16:in `each'
    /«PKGBUILDDIR»/debian/ruby-heckle/usr/lib/ruby/vendor_ruby/heckle.rb:16:in `each_sexp'
    /«PKGBUILDDIR»/debian/ruby-heckle/usr/lib/ruby/vendor_ruby/heckle.rb:565:in `find_scope'
    /«PKGBUILDDIR»/debian/ruby-heckle/usr/lib/ruby/vendor_ruby/heckle.rb:544:in `block in find_scope_and_method'
    /«PKGBUILDDIR»/debian/ruby-heckle/usr/lib/ruby/vendor_ruby/heckle.rb:521:in `each'
    /«PKGBUILDDIR»/debian/ruby-heckle/usr/lib/ruby/vendor_ruby/heckle.rb:521:in `find_scope_and_method'
    /«PKGBUILDDIR»/debian/ruby-heckle/usr/lib/ruby/vendor_ruby/heckle.rb:144:in `initialize'
    ./test/test_heckle.rb:33:in `new'
[...]
===================================================================

Please note that the default ruby recently has been switched to 2.1
in sid. If your package doesn't already do this, please switch to
the ruby(-all)(-dev) metapackages and `dh_ruby --print-supported`
for detecting the ruby to build for.
(Also, if everything goes according to plan, this is the last ruby
transition for jessie.)

About the test rebuild: this build was done in a rather standard
sbuild/schroot setup, on an amd64 host where PID1 is provided by
systemd, and options passed to sbuild were:
  DEB_BUILD_OPTIONS=parallel=12

Please find the full build log attached.

Thanks,
  -ch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-heckle_2.0.0~b1-1_amd64.build
Type: inode/symlink
Size: 123386 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20140511/0bfb37f8/attachment-0001.bin>


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