[DRE-maint] Bug#699255: ruby-activeresource-2.3: FTBFS: test_load_yaml_array(BaseTest) fails

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Jan 29 15:17:12 UTC 2013


Source: ruby-activeresource-2.3
Version: 2.3.14-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130129 qa-ftbfs
Justification: FTBFS in wheezy on amd64

Hi,

During a rebuild of all packages in *wheezy*, your package failed to
build on amd64.

Relevant part:
>  fakeroot debian/rules binary
> dh binary --buildsystem=ruby --with ruby
>    dh_testroot -O--buildsystem=ruby
>    dh_prep -O--buildsystem=ruby
>    dh_installdirs -O--buildsystem=ruby
>    dh_auto_install -O--buildsystem=ruby
> /usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:31: warning: method redefined; discarding old visit_String
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:4: warning: previous definition of visit_String was here
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:39: warning: method redefined; discarding old register
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:12: warning: previous definition of register was here
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:43: warning: method redefined; discarding old format_time
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:16: warning: previous definition of format_time was here
> /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:115: warning: method redefined; discarding old to_s
> /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:44: warning: previous definition of to_s was here
>   Entering dh_ruby --install
> install -d /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby
> install -D -m644 lib/active_resource.rb /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby/active_resource.rb
> install -D -m644 lib/activeresource.rb /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby/activeresource.rb
> install -D -m644 lib/active_resource/custom_methods.rb /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby/active_resource/custom_methods.rb
> install -D -m644 lib/active_resource/version.rb /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby/active_resource/version.rb
> install -D -m644 lib/active_resource/formats/json_format.rb /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby/active_resource/formats/json_format.rb
> install -D -m644 lib/active_resource/formats/xml_format.rb /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby/active_resource/formats/xml_format.rb
> install -D -m644 lib/active_resource/connection.rb /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby/active_resource/connection.rb
> install -D -m644 lib/active_resource/formats.rb /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby/active_resource/formats.rb
> install -D -m644 lib/active_resource/base.rb /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby/active_resource/base.rb
> install -D -m644 lib/active_resource/validations.rb /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby/active_resource/validations.rb
> install -D -m644 lib/active_resource/http_mock.rb /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby/active_resource/http_mock.rb
> install -D -m644 lib/active_resource/exceptions.rb /«PKGBUILDDIR»/debian/ruby-activeresource-2.3/usr/lib/ruby/vendor_ruby/active_resource/exceptions.rb
> /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> Loaded suite -e
> Started
> ................................................................................F.....................................................................
> Finished in 1.346321 seconds.
> 
>   1) Failure:
> test_load_yaml_array(BaseTest) [./test/base_test.rb:1079]:
> Exception raised:
> Class: <ActiveSupport::CoreExtensions::Hash::Conversions::DisallowedType>
> Message: <"Disallowed type attribute: \"yaml\"">
> ---Backtrace---
> /usr/lib/ruby/vendor_ruby/active_support/core_ext/hash/conversions.rb:185:in `typecast_xml_value'
> /usr/lib/ruby/vendor_ruby/active_support/core_ext/hash/conversions.rb:225:in `typecast_xml_value'
> /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `inject'
> /usr/lib/ruby/vendor_ruby/active_support/core_ext/hash/conversions.rb:224:in `each'
> /usr/lib/ruby/vendor_ruby/active_support/core_ext/hash/conversions.rb:224:in `inject'
> /usr/lib/ruby/vendor_ruby/active_support/core_ext/hash/conversions.rb:224:in `typecast_xml_value'
> /usr/lib/ruby/vendor_ruby/active_support/core_ext/hash/conversions.rb:225:in `typecast_xml_value'
> /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `inject'
> /usr/lib/ruby/vendor_ruby/active_support/core_ext/hash/conversions.rb:224:in `each'
> /usr/lib/ruby/vendor_ruby/active_support/core_ext/hash/conversions.rb:224:in `inject'
> /usr/lib/ruby/vendor_ruby/active_support/core_ext/hash/conversions.rb:224:in `typecast_xml_value'
> /usr/lib/ruby/vendor_ruby/active_support/core_ext/hash/conversions.rb:171:in `from_xml'
> /«PKGBUILDDIR»/lib/active_resource/formats/xml_format.rb:19:in `decode'
> /«PKGBUILDDIR»/lib/active_resource/connection.rb:138:in `get'
> /«PKGBUILDDIR»/lib/active_resource/base.rb:661:in `find_single'
> /«PKGBUILDDIR»/lib/active_resource/base.rb:589:in `find'
> ./test/base_test.rb:1080:in `test_load_yaml_array'
> ./test/base_test.rb:1079:in `test_load_yaml_array'
> ---------------
> 
> 150 tests, 474 assertions, 1 failures, 0 errors
> ERROR: Test "ruby1.8" failed. Exiting.
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/ruby-activeresource-2.3 returned exit code 1
> make: *** [binary] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2013/01/29/ruby-activeresource-2.3_2.3.14-2_wheezy.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



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