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

Christian Hofstaedtler zeha at debian.org
Sun May 11 13:30:02 UTC 2014


Source: ruby-mongo
Version: 1.9.2-2
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:

===================================================================
  1) Error:
CollectionTest#test_: Basic operations: should not log binary data. :
NoMethodError: undefined method `generate' for #<BSON::ObjectId:0x00000001643d08>
    /usr/lib/ruby/vendor_ruby/bson/types/object_id.rb:47:in `initialize'
    /usr/lib/ruby/vendor_ruby/bson/types/object_id.rb:92:in `new'

  2) Error:
CollectionTest#test_: Basic operations: should send insert message. :
NoMethodError: undefined method `generate' for #<BSON::ObjectId:0x0000000167a510>
    /usr/lib/ruby/vendor_ruby/bson/types/object_id.rb:47:in `initialize'
    /usr/lib/ruby/vendor_ruby/bson/types/object_id.rb:92: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-mongo_1.9.2-2_amd64.build
Type: inode/symlink
Size: 65646 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20140511/dcead9d7/attachment-0001.bin>


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