[DRE-maint] Bug#720228: ruby-bluefeather: FTBFS with ruby2.0: ERROR: Test "ruby2.0" failed: `end_with?': no implicit conversion of Pathname into String (TypeError)

David Suárez david.sephirot at gmail.com
Mon Aug 19 19:05:27 UTC 2013


Source: ruby-bluefeather
Version: 0.41-2
Severity: important
Tags: jessie sid
User: debian-ruby at lists.debian.org
Usertags: ruby2-ftbfs-20130818 ruby2-ftbfs
Justification: FTBFS on amd64 with ruby2.0

Hi,

During a rebuild of all packages that build depends on gem2deb
using the new ruby2.0 interpreter, your package failed to build
on amd64.

Relevant part (hopefully):
> /usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> /usr/bin/ruby1.9.1 -Ku -S rspec spec/auto-link.rb spec/code-block.rb spec/cui.rb spec/dl.rb spec/encoding.rb spec/escape.rb spec/footnote.rb spec/header-id.rb spec/numbering.rb spec/table.rb spec/toc.rb spec/warning.rb spec/win32.rb
> DEPRECATION: Rspec::Core::SharedExampleGroup#share_as is deprecated. Use RSpec::SharedContext or shared_examples instead. Called from /usr/lib/ruby/vendor_ruby/rspec/core/shared_example_group.rb:41:in `share_as'.
> DEPRECATION: Rspec::Core::SharedExampleGroup#share_as is deprecated. Use RSpec::SharedContext or shared_examples instead. Called from /usr/lib/ruby/vendor_ruby/rspec/core/shared_example_group.rb:41:in `share_as'.
> DEPRECATION: Rspec::Core::SharedExampleGroup#share_as is deprecated. Use RSpec::SharedContext or shared_examples instead. Called from /usr/lib/ruby/vendor_ruby/rspec/core/shared_example_group.rb:41:in `share_as'.
> DEPRECATION: Rspec::Core::SharedExampleGroup#share_as is deprecated. Use RSpec::SharedContext or shared_examples instead. Called from /usr/lib/ruby/vendor_ruby/rspec/core/shared_example_group.rb:41:in `share_as'.
> DEPRECATION: Rspec::Core::SharedExampleGroup#share_as is deprecated. Use RSpec::SharedContext or shared_examples instead. Called from /usr/lib/ruby/vendor_ruby/rspec/core/shared_example_group.rb:41:in `share_as'.
> spec/win32.rb skipped.
> ...................................**...................................................................................................................................................
> 
> Pending:
>   0.31 code block bug in list item: complex: overview
>     # not fixed
>     # 
>   0.31 code block bug in list item: complex: body
>     # not fixed
>     # 
> 
> Finished in 0.39468 seconds
> 184 examples, 0 failures, 2 pending
> /usr/bin/ruby2.0 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> /usr/bin/ruby2.0 -Ku -S rspec spec/auto-link.rb spec/code-block.rb spec/cui.rb spec/dl.rb spec/encoding.rb spec/escape.rb spec/footnote.rb spec/header-id.rb spec/numbering.rb spec/table.rb spec/toc.rb spec/warning.rb spec/win32.rb
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:109:in `end_with?': no implicit conversion of Pathname into String (TypeError)
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:109:in `rescue in require'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:35:in `require'
> 	from /«PKGBUILDDIR»/spec/auto-link.rb:2:in `<top (required)>'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `load'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `block in load_spec_files'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `each'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `load_spec_files'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/command_line.rb:22:in `run'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:80:in `run'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:17:in `block in autorun'
> /usr/bin/ruby2.0 -Ku -S rspec spec/auto-link.rb spec/code-block.rb spec/cui.rb spec/dl.rb spec/encoding.rb spec/escape.rb spec/footnote.rb spec/header-id.rb spec/numbering.rb spec/table.rb spec/toc.rb spec/warning.rb spec/win32.rb failed
> ERROR: Test "ruby2.0" failed: 
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/ruby-bluefeather returned exit code 1
> make: *** [binary] Error 1

The full build log is available from:
  http://aws-logs.debian.net/ftbfs-logs/ruby2.0/ruby-bluefeather_0.41-2_unstable_ruby2.log

This build is part of an effort to add gem2deb support for ruby2.0.
Information about is available at https://wiki.debian.org/Teams/Ruby/Jessie.

About the rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services,
using a clean, minimal and up-to-date chroot, plus gem2deb and ruby2.0 packages from
the repository at http://people.debian.org/~terceiro/packages/. The gem2deb version
in that repository does not pull ruby1.8 as a dependency anymore, and builds packages
against ruby1.9.1 and ruby2.0. Every failed build was retried once to eliminate random
failures.

The version of gem2deb used for this rebuild, as well as ruby2.0,
will be uploaded to unstable soon.



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