[DRE-maint] Bug#720253: ruby-rubymail: FTBFS with ruby2.0: ERROR: Test "ruby2.0" failed: invalid multibyte escape: /\A([^\x00-\x1f\x7f-\xff :]+):\s*/ (SyntaxError)

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


Source: ruby-rubymail
Version: 1.0.0-1
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):
> # Running tests:
> 
> .................................................................................................................................................................................
> 
> Finished tests in 1.595146s, 110.9616 tests/s, 29795.3937 assertions/s.
> 
> 177 tests, 47528 assertions, 0 failures, 0 errors, 0 skips
> /usr/bin/ruby2.0 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> /«PKGBUILDDIR»/test/testbase.rb:42:in `<class:TestBase>': Use RbConfig instead of obsolete and deprecated Config.
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': /«PKGBUILDDIR»/debian/ruby-rubymail-doc/usr/lib/ruby/vendor_ruby/rmail/header.rb:76: invalid multibyte escape: /\A([^\x00-\x1f\x7f-\xff :]+):\s*/ (SyntaxError)
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
> 	from /«PKGBUILDDIR»/test/testheader.rb:29:in `<top (required)>'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
> 	from debian/ruby-tests.rb:2:in `block in <main>'
> 	from debian/ruby-tests.rb:2:in `each'
> 	from debian/ruby-tests.rb:2:in `<main>'
> ERROR: Test "ruby2.0" failed: 
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/tmp returned exit code 1
> make[1]: *** [override_dh_auto_install] Error 1

The full build log is available from:
  http://aws-logs.debian.net/ftbfs-logs/ruby2.0/ruby-rubymail_1.0.0-1_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