[DRE-maint] Bug#720243: ruby-safe-yaml: FTBFS with ruby2.0: ERROR: Test "ruby2.0" failed: undefined method `each' for nil:NilClass (NoMethodError)
David Suárez
david.sephirot at gmail.com
Mon Aug 19 19:17:44 UTC 2013
Source: ruby-safe-yaml
Version: 0.9.3-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 specs in Ruby 1.9.3 with 'psych' YAML engine.
> .................................................................................................................
>
> Finished in 0.35674 seconds
> 113 examples, 0 failures
> /usr/bin/ruby1.9.1 -S rspec ./spec/psych_resolver_spec.rb ./spec/safe_yaml_spec.rb ./spec/syck_resolver_spec.rb ./spec/transform/base64_spec.rb ./spec/transform/to_date_spec.rb ./spec/transform/to_float_spec.rb ./spec/transform/to_integer_spec.rb ./spec/transform/to_symbol_spec.rb --color
> Running specs in Ruby 1.9.3 with 'syck' YAML engine.
> ............................................................................................................
>
> Finished in 0.20343 seconds
> 108 examples, 0 failures
> /usr/bin/ruby2.0 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> debian/ruby-tests.rb:12:in `<main>': undefined method `each' for nil:NilClass (NoMethodError)
> ERROR: Test "ruby2.0" failed:
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/ruby-safe-yaml 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-safe-yaml_0.9.3-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