[tpm] CPAN install of HTML::Form::ForceValue fails

Ilia samogon at gmail.com
Wed May 6 17:09:04 PDT 2009


It failed for me as well with the same result.

HTML::Form::ForceValue has a dependency on HTML::Form. It looks like
the latter's API has changed and ForceValue unit tests need to be
updated. I would report the test output as a bug -->
http://rt.cpan.org/Public/Dist/Display.html?Name=HTML-Form-ForceValue

ilia.


On Wed, May 6, 2009 at 7:43 PM, Madison Kelly <linux at alteeve.com> wrote:
> Hi all,
>
>  I've never had much luck with CPAN installs, but now I am facing an issue
> where I need the mentioned module and, again, I can't install it via cpan.
>
>  I am installing it as root, but I get the following error with no idea how
> to proceed. Advice?
>
> Thanks!
>
> Madi
>
> Error:
>
> root at T43p:~/.cpan/build/HTML-Form-ForceValue-0.006-mxhZEF# clear; sudo cpan
> -i HTML::Form::ForceValue
>
> CPAN: Storable loaded ok (v2.18)
> Going to read /root/.cpan/Metadata
>  Database was generated on Wed, 06 May 2009 19:29:59 GMT
> CPAN: YAML loaded ok (v0.68)
> Going to read /root/.cpan/build/
> ............................................................................DONE
> Found 5 old builds, restored the state of 5
> Running install for module 'HTML::Form::ForceValue'
> Running make for R/RJ/RJBS/HTML-Form-ForceValue-0.006.tar.gz
>  Has already been unwrapped into directory
> /root/.cpan/build/HTML-Form-ForceValue-0.006-mxhZEF
>  Has already been made
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00-load.........ok 1/1# Testing HTML::Form::ForceValue 0.006, Perl
> 5.010000, /usr/bin/perl
> t/00-load.........ok
> t/boilerplate.....ok
> t/form............NOK 1/8
> #   Failed test 'can't set select element to invalid option'
> #   at t/form.t line 20.
> #                   ''
> #     doesn't match '(?i-xsm:illegal value)'
> t/form............NOK 2/8
> #   Failed test 'can't set select element to invalid option'
> #   at t/form.t line 23.
> #                   ''
> #     doesn't match '(?i-xsm:illegal value)'
> t/form............ok 3/8# Looks like you failed 2 tests of 8.
> t/form............dubious
>        Test returned status 2 (wstat 512, 0x200)
> DIED. FAILED tests 1-2
>        Failed 2/8 tests, 75.00% okay
> t/perl-critic.....skipped
>        all skipped: define PERL_TEST_CRITIC to run these tests
> t/pod-coverage....ok
> t/pod.............ok
> Failed Test Stat Wstat Total Fail  List of Failed
> -------------------------------------------------------------------------------
> t/form.t       2   512     8    2  1-2
> 1 test skipped.
> Failed 1/6 test scripts. 2/14 subtests failed.
> Files=6, Tests=14,  0 wallclock secs ( 0.24 cusr +  0.03 csys =  0.27 CPU)
> Failed 1/6 test programs. 2/14 subtests failed.
> make: *** [test_dynamic] Error 255
>  RJBS/HTML-Form-ForceValue-0.006.tar.gz
>  /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
>  reports RJBS/HTML-Form-ForceValue-0.006.tar.gz
> Running make install
>  make test had returned bad status, won't install without force
> _______________________________________________
> toronto-pm mailing list
> toronto-pm at pm.org
> http://mail.pm.org/mailman/listinfo/toronto-pm
>



-- 
Ilia Lobsanov
Nurey Networks - http://www.nurey.com
New Ideas for a New Economy
Python, Perl, Java, Linux & more
Toronto +1 647 996 9087
Boston +1 781 328 1162


More information about the toronto-pm mailing list