miyagawa / Starman

Starman is a high-performance preforking Perl PSGI web server
http://search.cpan.org/dist/Starman
Other
287 stars 84 forks source link

starman hangs on make tests (Win 7, Strawberry perl) #127

Open eliot1785 opened 7 years ago

eliot1785 commented 7 years ago

I attempted to install the latest Starman on Windows 7, Strawberry Perl 64-bit. It's hanging on a Server/PreFork.t test. I've copied my logs below. I'm going to force install.

Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.

cpan install starman

CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.

Would you like to configure as much as possible automatically? [yes]
CPAN: LWP::UserAgent loaded ok (v6.26)
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v1.23)
Reading 'C:\Users\sdewey\.cpan\sources\authors\01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.074)
............................................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/02packages.details.txt.gz
Reading 'C:\Users\sdewey\.cpan\sources\modules\02packages.details.txt.gz'
  Database was generated on Wed, 20 Sep 2017 22:17:03 GMT
............................................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/03modlist.data.gz
Reading 'C:\Users\sdewey\.cpan\sources\modules\03modlist.data.gz'
DONE
Writing C:\Users\sdewey\.cpan\Metadata
Could not expand [starman]. Check the module name.
I can suggest names if you install one of Text::Levenshtein::XS, Text::Levenshtein::Damerau::XS, Text::Levenshtein, and
Text::Levenshtein::Damerau::PP
Skipping starman because I couldn't find a matching namespace.

C:\Users\sdewey\Documents\ML Team\AgentLarry script conversion to FactSet.io\perl helloworld\heroku-buildpack-perl
> cpan install Starman
Reading 'C:\Users\sdewey\.cpan\Metadata'
  Database was generated on Wed, 20 Sep 2017 22:17:03 GMT
Running install for module 'Starman'
CPAN: LWP::UserAgent loaded ok (v6.26)
Fetching with LWP:
http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Starman-0.4014.tar.gz
CPAN: YAML loaded ok (v1.23)
CPAN: Digest::SHA loaded ok (v5.96)
Fetching with LWP:
http://www.cpan.org/authors/id/M/MI/MIYAGAWA/CHECKSUMS
CPAN: Compress::Zlib loaded ok (v2.074)
Checksum for C:\Users\sdewey\.cpan\sources\authors\id\M\MI\MIYAGAWA\Starman-0.4014.tar.gz ok
CPAN: Archive::Tar loaded ok (v2.26)
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
CPAN: CPAN::Meta loaded ok (v2.150010)
CPAN: Module::Build loaded ok (v0.4224)
CPAN: Module::CoreList loaded ok (v5.20170821)
Configuring M/MI/MIYAGAWA/Starman-0.4014.tar.gz with Build.PL
Creating new 'Build' script for 'Starman' version '0.4014'
  MIYAGAWA/Starman-0.4014.tar.gz
  C:\Strawberry\perl\bin\perl.exe Build.PL -- OK
Running Build for M/MI/MIYAGAWA/Starman-0.4014.tar.gz
---- Unsatisfied dependencies detected during ----
----      MIYAGAWA/Starman-0.4014.tar.gz      ----
    HTTP::Parser::XS [requires]
    Net::Server [requires]
    Plack [requires]
    Test::TCP [requires]
Running install for module 'HTTP::Parser::XS'
Fetching with LWP:
http://www.cpan.org/authors/id/K/KA/KAZUHO/HTTP-Parser-XS-0.17.tar.gz
Fetching with LWP:
http://www.cpan.org/authors/id/K/KA/KAZUHO/CHECKSUMS
Checksum for C:\Users\sdewey\.cpan\sources\authors\id\K\KA\KAZUHO\HTTP-Parser-XS-0.17.tar.gz ok
Configuring K/KA/KAZUHO/HTTP-Parser-XS-0.17.tar.gz with Makefile.PL
Subroutine readme_from redefined at inc/Module/Install/ReadmeFromPod.pm line 11.
Subroutine _readme_txt redefined at inc/Module/Install/ReadmeFromPod.pm line 64.
Subroutine _readme_htm redefined at inc/Module/Install/ReadmeFromPod.pm line 77.
Subroutine _readme_man redefined at inc/Module/Install/ReadmeFromPod.pm line 96.
Subroutine _readme_pdf redefined at inc/Module/Install/ReadmeFromPod.pm line 106.
Subroutine _all_from redefined at inc/Module/Install/ReadmeFromPod.pm line 122.
Cannot determine perl version info from lib/HTTP/Parser/XS.pm
Checking if your kit is complete...
Looks good
Generating a gmake-style Makefile
Writing Makefile for HTTP::Parser::XS
Writing MYMETA.yml and MYMETA.json
  KAZUHO/HTTP-Parser-XS-0.17.tar.gz
  C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for K/KA/KAZUHO/HTTP-Parser-XS-0.17.tar.gz
cp lib/HTTP/Parser/XS.pm blib\lib\HTTP\Parser\XS.pm
cp lib/HTTP/Parser/XS/PP.pm blib\lib\HTTP\Parser\XS\PP.pm
Running Mkbootstrap for XS ()
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e chmod -- 644 "XS.bs"
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command::MM -e cp_nonempty -- XS.bs blib\arch\auto\HTTP\Parser\XS\
XS.bs 644
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" "C:\Strawberry\perl\lib\ExtUtils/xsubpp"  -typemap C:\STRAWB~1\perl\lib\ExtUti
ls\typemap  XS.xs > XS.xsc
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e mv -- XS.xsc XS.c
gcc -c   -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2   -DVERSION=\"0.17\" -DXS_VERSION=\"
0.17\"  "-IC:\STRAWB~1\perl\lib\CORE"   XS.c
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"HTTP::Parser::XS\", 'DLBASE' => 'XS', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {
  }, 'DL_VARS' => []);"
g++ XS.def -o blib\arch\auto\HTTP\Parser\XS\XS.xs.dll -mdll -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" XS.o
  "C:\STRAWB~1\perl\lib\CORE\libperl526.a" -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshe
ll32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -Wl,--enable-a
uto-image-base
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e chmod -- 755 blib\arch\auto\HTTP\Parser\XS\XS.xs.dll
  KAZUHO/HTTP-Parser-XS-0.17.tar.gz
  C:\Strawberry\c\bin\gmake.EXE -- OK
Running make test
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command::MM -e cp_nonempty -- XS.bs blib\arch\auto\HTTP\Parser\XS\
XS.bs 644
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test
_harness(0, 'inc', 'blib\lib', 'blib\arch'); " t/*.t
t/00base.t ............. 1/1 # Testing HTTP::Parser::XS/0.17 (xs)
t/00base.t ............. ok
t/01simple.t ........... ok
t/02response.t ......... ok
t/03response-error.t ... ok
t/04response-format.t .. ok
t/05too-much.t ......... ok
All tests successful.
Files=6, Tests=96,  1 wallclock secs ( 0.08 usr +  0.39 sys =  0.47 CPU)
Result: PASS
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "$ENV{q{PERL_ONLY}} = q{1}; undef *Te
st::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch'); " t/*.t
t/00base.t ............. 1/1 # Testing HTTP::Parser::XS/0.17 (pp)
t/00base.t ............. ok
t/01simple.t ........... ok
t/02response.t ......... ok
t/03response-error.t ... ok
t/04response-format.t .. ok
t/05too-much.t ......... skipped: PP has no static limitations
All tests successful.
Files=6, Tests=81,  1 wallclock secs ( 0.08 usr +  0.40 sys =  0.48 CPU)
Result: PASS
  KAZUHO/HTTP-Parser-XS-0.17.tar.gz
  C:\Strawberry\c\bin\gmake.EXE test -- OK
Running make install
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command::MM -e cp_nonempty -- XS.bs blib\arch\auto\HTTP\Parser\XS\
XS.bs 644
Files found in blib\arch: installing files in blib\lib into architecture dependent library tree
Installing C:\STRAWB~1\perl\site\lib\auto\HTTP\Parser\XS\XS.xs.dll
Installing C:\STRAWB~1\perl\site\lib\HTTP\Parser\XS.pm
Installing C:\STRAWB~1\perl\site\lib\HTTP\Parser\XS\PP.pm
Appending installation info to C:\STRAWB~1\perl\lib/perllocal.pod
  KAZUHO/HTTP-Parser-XS-0.17.tar.gz
  C:\Strawberry\c\bin\gmake.EXE install  -- OK
Running install for module 'Net::Server'
Fetching with LWP:
http://www.cpan.org/authors/id/R/RH/RHANDOM/Net-Server-2.009.tar.gz
Fetching with LWP:
http://www.cpan.org/authors/id/R/RH/RHANDOM/CHECKSUMS
Checksum for C:\Users\sdewey\.cpan\sources\authors\id\R\RH\RHANDOM\Net-Server-2.009.tar.gz ok
Configuring R/RH/RHANDOM/Net-Server-2.009.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a gmake-style Makefile
Writing Makefile for Net::Server
Writing MYMETA.yml and MYMETA.json
  RHANDOM/Net-Server-2.009.tar.gz
  C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for R/RH/RHANDOM/Net-Server-2.009.tar.gz
cp lib/Net/Server/PSGI.pm blib\lib\Net\Server\PSGI.pm
cp lib/Net/Server/Proto/UDP.pm blib\lib\Net\Server\Proto\UDP.pm
cp lib/Net/Server/PreForkSimple.pm blib\lib\Net\Server\PreForkSimple.pm
cp lib/Net/Server/HTTP.pm blib\lib\Net\Server\HTTP.pm
cp lib/Net/Server/Proto/UNIXDGRAM.pm blib\lib\Net\Server\Proto\UNIXDGRAM.pm
cp lib/Net/Server/SIG.pm blib\lib\Net\Server\SIG.pm
cp lib/Net/Server/Fork.pm blib\lib\Net\Server\Fork.pm
cp lib/Net/Server/Proto.pm blib\lib\Net\Server\Proto.pm
cp lib/Net/Server/Proto/TCP.pm blib\lib\Net\Server\Proto\TCP.pm
cp lib/Net/Server/Proto/SSLEAY.pm blib\lib\Net\Server\Proto\SSLEAY.pm
cp lib/Net/Server/Daemonize.pm blib\lib\Net\Server\Daemonize.pm
cp lib/Net/Server/Multiplex.pm blib\lib\Net\Server\Multiplex.pm
cp lib/Net/Server/INET.pm blib\lib\Net\Server\INET.pm
cp lib/Net/Server/Log/Sys/Syslog.pm blib\lib\Net\Server\Log\Sys\Syslog.pm
cp lib/Net/Server.pod blib\lib\Net\Server.pod
cp lib/Net/Server/MultiType.pm blib\lib\Net\Server\MultiType.pm
cp lib/Net/Server/Log/Log/Log4perl.pm blib\lib\Net\Server\Log\Log\Log4perl.pm
cp lib/Net/Server.pm blib\lib\Net\Server.pm
cp lib/Net/Server/Proto/SSL.pm blib\lib\Net\Server\Proto\SSL.pm
cp lib/Net/Server/Proto/UNIX.pm blib\lib\Net\Server\Proto\UNIX.pm
cp lib/Net/Server/PreFork.pm blib\lib\Net\Server\PreFork.pm
cp lib/Net/Server/Single.pm blib\lib\Net\Server\Single.pm
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e cp -- bin/net-server blib\script\net-server
pl2bat.bat blib\script\net-server
  RHANDOM/Net-Server-2.009.tar.gz
  C:\Strawberry\c\bin\gmake.EXE -- OK
Running make test
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test
_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/Options.t ............... ok
t/Port_Configuration.t .... # number of tests ran 35 did not match number of specified tests 51
t/Port_Configuration.t .... Failed 17/51 subtests
t/Server_BASE.t ........... ok
t/Server_Fork.t ........... ok
t/Server_http.t ........... ok
t/Server_INET.t ........... ok
t/Server_Multiplex.t ...... ok
t/Server_MultiType.t ...... ok
t/Server_PreFork.t ........ 1/5
twata1 commented 5 years ago

Because:

Bug #81993 for Net-Server: Net-Server-2.006 test stuck on Windows