使用64位Cygwin v2.0.4(0.287 / 5/3),我从CPAN手动下载SOAP-Lite-1.14,然后运行perl Makefile.PL
,make
,然后{{1} }。 (我没有先删除t文件夹)。但是,make test
会在.pm文件中发现错误。
make test
$ perl Makefile.PL
Generating a Unix-style Makefile
Writing Makefile for SOAP::Lite
Writing MYMETA.yml and MYMETA.json
$ make
Skip blib/lib/SOAP/Packager.pm (unchanged)
Skip blib/lib/SOAP/Header.pod (unchanged)
Skip blib/lib/SOAP/Client.pod (unchanged)
Skip blib/lib/SOAP/Constants.pm (unchanged)
Skip blib/lib/SOAP/Transport/LOOPBACK.pm (unchanged)
Skip blib/lib/SOAP/Lite/Packager.pm (unchanged)
Skip blib/lib/SOAP/SOM.pod (unchanged)
Skip blib/lib/SOAP/Lite/Deserializer/XMLSchema1999.pm (unchanged)
Skip blib/lib/SOAP/Transport/MAILTO.pm (unchanged)
Skip blib/lib/SOAP/Transport.pod (unchanged)
Skip blib/lib/SOAP/Test.pm (unchanged)
Skip blib/lib/SOAP/Schema.pod (unchanged)
Skip blib/lib/Apache/SOAP.pm (unchanged)
Skip blib/lib/SOAP/Lite/Deserializer/XMLSchema2001.pm (unchanged)
Skip blib/lib/SOAP/Trace.pod (unchanged)
Skip blib/lib/SOAP/Transport/POP3.pm (unchanged)
Skip blib/lib/SOAP/Deserializer.pod (unchanged)
Skip blib/lib/SOAP/Server.pod (unchanged)
Skip blib/lib/SOAP/Data.pod (unchanged)
Skip blib/lib/SOAP/Transport/TCP.pm (unchanged)
Skip blib/lib/SOAP/Utils.pod (unchanged)
Skip blib/lib/SOAP/Transport/IO.pm (unchanged)
Skip blib/lib/SOAP/Transport/HTTP.pm (unchanged)
Skip blib/lib/SOAP/Serializer.pod (unchanged)
Skip blib/lib/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.pm (unchanged)
Skip blib/lib/SOAP/Lite/Utils.pm (unchanged)
Skip blib/lib/SOAP/Lite/Deserializer/XMLSchemaSOAP1_1.pm (unchanged)
Skip blib/lib/SOAP/Transport/LOCAL.pm (unchanged)
Skip blib/lib/SOAP/Lite.pm (unchanged)
Skip blib/lib/SOAP/Fault.pod (unchanged)
cp bin/SOAPsh.pl blib/script/SOAPsh.pl
"/usr/bin/perl.exe" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/SOAPsh.pl
cp bin/stubmaker.pl blib/script/stubmaker.pl
"/usr/bin/perl.exe" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/stubmaker.pl
Manifying 2 pod documents
Manifying 21 pod documents
$ make test
PERL_DL_NONLAZY=1 "/usr/bin/perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Issues/*.t t/SOAP/*.t t/SOAP/Lite/*.t t/SOAP/Lite/Deserializer/*.t t/SOAP/Schema/*.t t/SOAP/Transport/*.t t/SOAP/Transport/HTTP/*.t
t/01-core.t .................................. ok
t/010-serializer.t ........................... ok
t/012-cloneable.t ............................ ok
t/013-array-deserialization.t ................ ok
t/014_UNIVERSAL_use.t ........................ ok
t/015_UNIVERSAL_can.t ........................ ok
t/02-payload.t ............................... ok
t/03-server.t ................................ ok
t/04-attach-cid-encoded.t .................... ok
t/04-attach.t ................................ ok
t/05-customxml.t ............................. ok
t/06-modules.t ............................... ok
t/08-schema.t ................................ ok
t/11-cgi.t ................................... skipped: 200 Assumed OK
t/12-cgi_https.t ............................. skipped: 500 Can't connect to localhost:443
t/13-mod_perl.t .............................. skipped: 200 Assumed OK
t/14-cgi_apache.t ............................ skipped: 200 Assumed OK
t/15-daemon.t ................................ skipped: 200 Assumed OK
t/17-mod_soap.t .............................. skipped: 200 Assumed OK
t/19-apachesoap.t ............................ skipped: 500 Can't connect to localhost:8080
t/21-public.t ................................ skipped: 500 Can't connect to services.xmethods.net:80
t/22-interop_apache.t ........................ skipped: 500 Can't connect to nagoya.apache.org:5049
t/23-ppm.t ................................... skipped: ActiveState's ppmserver.pl server seems to be broken - skipping tests
t/24-wsdl.t .................................. skipped: 500 Can't connect to services.xmethods.net:80
t/36-leaks.t ................................. ok
t/38-packager.t .............................. ok
t/40-loopback.t .............................. ok
t/Issues/rt15176.t ........................... ok
t/Issues/rt53375.t ........................... ok
t/Issues/rt70329.t ........................... ok
t/Issues/rt70381.t ........................... skipped: This is a performance test. Set PROFILE_PERFORMANCE env var to a true value to run
t/Issues/rt72836.t ........................... ok
t/Issues/rt74029.t ........................... skipped: not fixed yet
t/Issues/rt74308.t ........................... Use of uninitialized value $_[0] in pattern match (m//) at /home/<user_profile_name>/SOAP-Lite-1.14/blib/lib/SOAP/Lite.pm line 340.
Use of uninitialized value $input_name in string eq at /home/<user_profile_name>/SOAP-Lite-1.14/blib/lib/SOAP/Lite.pm line 3193.
Use of uninitialized value $input_name in string eq at /home/<user_profile_name>/SOAP-Lite-1.14/blib/lib/SOAP/Lite.pm line 3193.
t/Issues/rt74308.t ........................... ok
t/Issues/rt75169.t ........................... ok
t/Issues/rt78588.t ........................... ok
t/Issues/rt88915.t ........................... ok
t/release-kwalitee.t ......................... skipped: these tests are for release candidate testing
t/release-pod-syntax.t ....................... skipped: these tests are for release candidate testing
t/SOAP/Data.t ................................ ok
t/SOAP/Lite/Deserializer/XMLSchema1999.t ..... ok
t/SOAP/Lite/Deserializer/XMLSchema2001.t ..... ok
t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_1.t .. ok
t/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.t .. ok
t/SOAP/Lite/Packager.t ....................... ok
t/SOAP/Schema/WSDL.t ......................... ok
t/SOAP/Serializer.t .......................... ok
t/SOAP/Transport/HTTP.t ...................... ok
t/SOAP/Transport/HTTP/CGI.t .................. Illegal field name '!A:' at /home/<user_profile_name>/SOAP-Lite-1.14/blib/lib/SOAP/Transport/HTTP.pm line 607.
Use of uninitialized value $error[0] in join or string at /usr/lib/perl5/vendor_perl/5.14/Carp.pm line 455.
at t/SOAP/Transport/HTTP/CGI.t line 52.
# Looks like your test exited with 255 before it could output anything.
t/SOAP/Transport/HTTP/CGI.t .................. Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/SOAP/Transport/IO.t ........................ ok
t/SOAP/Transport/LOCAL.t ..................... ok
t/SOAP/Transport/LOOPBACK.t .................. ok
t/SOAP/Transport/MAILTO.t .................... ok
t/SOAP/Transport/POP3.t ...................... ok
t/SOAP/Transport/TCP.t ....................... ok
Test Summary Report
-------------------
t/SOAP/Transport/HTTP/CGI.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=55, Tests=903, 21 wallclock secs ( 0.14 usr 0.09 sys + 5.48 cusr 4.58 csys = 10.29 CPU)
Result: FAIL
Failed 1/55 test programs. 0/903 subtests failed.
Makefile:1044: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255