[Rt-devel] HTTP::Server::Simple::Mason fails tests on install

Reed Loden reed at reedloden.com
Sat Sep 10 22:27:39 EDT 2005


I got this when trying to install HTTP::Server::Simple::Mason (within an
installation of 3.4-RELEASE [svn copy]):

Running make test
make[1]: Entering directory `/root/.cpan/build/HTTP-Server-Simple-Mason-0.09'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00smoke..............ok
t/01live...............ok 1/5mason had an error: Can't locate object method
"http_header_sent" via package "HTML::Mason::FakeApache" at
/root/.cpan/build/HTTP-Server-Simple-Mason-0.09/blib/lib/HTTP/Server/Simple/Mason.pm
line 136, <DATA> line 16.

Stack:
 
[/root/.cpan/build/HTTP-Server-Simple-Mason-0.09/blib/lib/HTTP/Server/Simple/Mason.pm:136]
  [/usr/share/perl5/HTML/Mason/Request.pm:502]

#     Failed test (t/01live.t at line 18)
#                   ''
#     doesn't match '(?-xism:2$)'
# Looks like you failed 1 test of 5.
t/01live...............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 4
        Failed 1/5 tests, 80.00% okay
t/02pod................skipped
        all skipped: Test::Pod 1.14 required for testing POD
t/03podcoverage........skipped
        all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
t/04unhandlederrors....ok
t/05handlederrors......ok
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/01live.t     1   256     5    1  20.00%  4
2 tests skipped.
Failed 1/6 test scripts, 83.33% okay. 1/23 subtests failed, 95.65% okay.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/root/.cpan/build/HTTP-Server-Simple-Mason-0.09'
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

I thought maybe HTML::Mason::FakeApache was out of date, so I tried to upgrade
it:
cpan> install HTML::Mason::FakeApache
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Fri, 09 Sep 2005 23:58:45 GMT
HTML::Mason::FakeApache is up to date.

So, it must be a problem with HTTP::Server::Simple::Mason.
Please fix! :P

Thanks,
~reed


More information about the Rt-devel mailing list