FTBFS: ERROR: Test "ruby1.9.1" failed. Exiting.

Bug #1255714 reported by Andreas Moog on 2013-11-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby-feedparser (Ubuntu)
High
Unassigned

Bug Description

Finished tests in 0.015833s, 884.2127 tests/s, 378.9483 assertions/s.

  1) Error:
test_almost_valid_iso88591(FeedParserTest):
ArgumentError: unknown encoding name - text/plain
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `force_encoding'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `recode'
    /build/buildd/ruby-feedparser-0.9.2/test/tc_feed_parse.rb:138:in `test_almost_valid_iso88591'
    /usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_230_to_2101.rb:36:in `run'

  2) Error:
test_enclosures(FeedParserTest):
ArgumentError: unknown encoding name - application/xml
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `force_encoding'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `recode'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:60:in `parse'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:53:in `initialize'
    /build/buildd/ruby-feedparser-0.9.2/test/tc_feed_parse.rb:100:in `new'
    /build/buildd/ruby-feedparser-0.9.2/test/tc_feed_parse.rb:100:in `test_enclosures'
    /usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_230_to_2101.rb:36:in `run'

  3) Error:
test_parse_rss091_1(FeedParserTest):
ArgumentError: unknown encoding name - application/xml
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `force_encoding'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `recode'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:60:in `parse'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:53:in `initialize'
    /build/buildd/ruby-feedparser-0.9.2/test/tc_feed_parse.rb:13:in `new'
    /build/buildd/ruby-feedparser-0.9.2/test/tc_feed_parse.rb:13:in `test_parse_rss091_1'
    /usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_230_to_2101.rb:36:in `run'

  4) Error:
test_parse_rss091_complete(FeedParserTest):
ArgumentError: unknown encoding name - application/xml
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `force_encoding'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `recode'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:60:in `parse'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:53:in `initialize'
    /build/buildd/ruby-feedparser-0.9.2/test/tc_feed_parse.rb:37:in `new'
    /build/buildd/ruby-feedparser-0.9.2/test/tc_feed_parse.rb:37:in `test_parse_rss091_complete'
    /usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_230_to_2101.rb:36:in `run'

  5) Error:
test_recode_iso88519(FeedParserTest):
ArgumentError: unknown encoding name - text/plain
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `force_encoding'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `recode'
    /build/buildd/ruby-feedparser-0.9.2/test/tc_feed_parse.rb:123:in `test_recode_iso88519'
    /usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_230_to_2101.rb:36:in `run'

  6) Error:
test_recode_unicode_char(FeedParserTest):
ArgumentError: unknown encoding name - text/plain
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `force_encoding'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `recode'
    /build/buildd/ruby-feedparser-0.9.2/test/tc_feed_parse.rb:133:in `test_recode_unicode_char'
    /usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_230_to_2101.rb:36:in `run'

  7) Error:
test_recode_utf8(FeedParserTest):
ArgumentError: unknown encoding name - text/plain
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `force_encoding'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `recode'
    /build/buildd/ruby-feedparser-0.9.2/test/tc_feed_parse.rb:119:in `test_recode_utf8'
    /usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_230_to_2101.rb:36:in `run'

  8) Error:
test_recode_utf8_mixed_with_ASCIIBIT(FeedParserTest):
ArgumentError: unknown encoding name - text/plain
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `force_encoding'
    /build/buildd/ruby-feedparser-0.9.2/lib/feedparser/feedparser.rb:39:in `recode'
    /build/buildd/ruby-feedparser-0.9.2/test/tc_feed_parse.rb:127:in `test_recode_utf8_mixed_with_ASCIIBIT'
    /usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_230_to_2101.rb:36:in `run'

14 tests, 6 assertions, 0 failures, 8 errors, 0 skips
ERROR: Test "ruby1.9.1" failed. Exiting.
dh_auto_install: dh_ruby --install /build/buildd/ruby-feedparser-0.9.2/debian/ruby-feedparser returned exit code 1
make: *** [binary] Error 1
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave error exit status 2
******************************************************************************

Full buildlog is at https://launchpadlibrarian.net/154740959/buildlog_ubuntu-trusty-i386.ruby-feedparser_0.9.2-2_FAILEDTOBUILD.txt.gz

Andreas Moog (ampelbein) wrote :

This is fixed in the current Ubuntu development release.

Changed in ruby-feedparser (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers