Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383011 - dev-libs/hpricot-0.8.4-r1 fails tests (with ruby:1.9)
Summary: dev-libs/hpricot-0.8.4-r1 fails tests (with ruby:1.9)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 03:40 UTC by Nathan Phillip Brink (binki) (RETIRED)
Modified: 2011-12-27 07:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
hpricot-0.8.4-r1-build.log (hpricot-0.8.4-r1-build.log,12.71 KB, text/plain)
2011-09-15 03:40 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details
emerge--info.txt (emerge--info.txt,8.02 KB, text/plain)
2011-09-15 03:41 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-09-15 03:40:17 UTC
Created attachment 286505 [details]
hpricot-0.8.4-r1-build.log

Excerpts from the build.log seem to indicate that these test failures are related to the change in handing character encodings from ruby:1.8 to ruby:1.9:

  1) Error:
test_encoding_compatibility_error(TestParser):
ArgumentError: invalid byte sequence in US-ASCII
...
  2) Error:
test_scan_boingboing(TestParser):
ArgumentError: invalid byte sequence in US-ASCII
...
  3) Failure:
test_files(TestPreserved) [test/test_preserved.rb:61]:
<"8 Schandmaul - Magda Treadgolds M\xC3\xA4rchen<br>\n"> expected but was
<"8 Schandmaul - Magda Treadgolds M\u00E4rchen<br>\n">.
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-09-15 03:41:11 UTC
Created attachment 286507 [details]
emerge--info.txt
Comment 2 Hans de Graaff gentoo-dev Security 2011-12-27 07:54:02 UTC
These tests fail because LANG=C. Fixed in hpricot 1.8.5.