I can do this in seperate bugs if you prefer, but after the monster I created with spamassassin earlier today, I thought this time I'd try the shorter approach. In the process of enabling test related deps for WWW-Mechanize (with the bump that's about to enter portage), and in so doing the following ebuilds will also need to be keyworded before your arch's should be keyworded back in (all via repoman, don't blame the messanger). amd64 'dev-perl/Test-Taint' (new), 'dev-perl/Test-Memory-Cycle', 'dev-perl/Test-LongString', 'dev-perl/Test-Warn' (new) ppc 'dev-perl/Test-Taint' (new), 'dev-perl/Test-Memory-Cycle', 'dev-perl/Test-Warn' (new) Thanks! ~mcummings
WWW-Mechanize is not entirely happy on my ppc. t/00-load................# Testing WWW::Mechanize 1.18 t/00-load................ok t/add_header.............ok t/aliases................ok t/area_link..............ok t/autocheck..............ok t/clone..................ok t/die....................ok t/field..................ok t/find_image.............ok t/find_link-warnings.....ok t/find_link..............ok t/form-parsing...........ok t/frames.................ok t/image-new..............ok t/image-parse............ok t/link-base..............ok t/link-relative..........ok t/link...................ok t/local/back.............ok 3/38# Started http://localhost:50008/ t/local/back.............ok 27/38 # Failed test '404 check' # in t/local/back.t at line 148. # got: '500' # expected: '404' # Looks like you failed 1 test of 38. t/local/back.............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 28 Failed 1/38 tests, 97.37% okay t/local/click............ok 2/10# Started http://localhost:47481/ t/local/click............ok t/local/click_button.....ok 2/18# Started http://localhost:52960/ t/local/click_button.....ok t/local/failure..........ok 1/17# Started http://localhost:55214/ t/local/failure..........ok t/local/follow...........ok 1/28# Started http://localhost:48909/ t/local/follow...........ok t/local/form.............ok 1/16# Started http://localhost:39213/ t/local/form.............ok t/local/get..............ok 1/37# Started http://localhost:48999/ t/local/get..............ok t/local/overload.........skipped all skipped: Mysteriously stopped passing, and I don't know why. t/local/page_stack.......ok 1/11# Started http://localhost:39538/ t/local/page_stack.......ok t/local/referer..........ok t/local/reload...........ok 1/16# Started http://localhost:38166/ t/local/reload...........ok t/local/submit...........ok 1/15# Started http://localhost:36767/ t/local/submit...........ok t/mech-dump/mech-dump....ok t/new....................ok t/pod-coverage...........skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod....................ok t/regex-error............ok t/select.................ok t/taint..................ok t/tick...................ok t/upload.................ok t/warn...................ok t/warnings...............ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/local/back.t 1 256 38 1 2.63% 28 2 tests skipped. Failed 1/41 test scripts, 97.56% okay. 1/499 subtests failed, 99.80% okay. make: *** [test_dynamic] Error 255
I get the same problem. Turns out you need the host returned from `hostname` to resolve to 127.0.0.1... Please confirm this is the problem -- I'll report upstream.
(In reply to comment #2) > I get the same problem. > Turns out you need the host returned from `hostname` to resolve to 127.0.0.1... May not be an upstream problem - we pass it the -local flag (so it doesn't try to test outside the localbox and raise other security flags). Betting that is the root of this - I'll favor dropping the tests from the mainstream ebuild if everyone else is good with that.
keyworded for amd64. I've reviewed the bad tests, appears to be a problem in expectations on output from HTTP::Server (it isn't giving what Andy expects at the 404 check), so I've removed the SRC_TEST do for now. Examples in the cookbook worked fine.
All packages are keyworded for ~ppc.