cpanm (App::cpanminus) 1.7040 on perl 5.022001 built for x86_64-linux Work directory is /home/myuser/.cpanm/work/1460406756.1242 You have make /usr/bin/make You have LWP 6.15 You have /bin/tar: tar (GNU tar) 1.23 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching HTTP::Server::Simple () on cpanmetadb ... --> Working on HTTP::Server::Simple Fetching http://www.cpan.org/authors/id/B/BP/BPS/HTTP-Server-Simple-0.51.tar.gz -> OK Unpacking HTTP-Server-Simple-0.51.tar.gz Entering HTTP-Server-Simple-0.51 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.04_01) Configuring HTTP-Server-Simple-0.51 Running Makefile.PL Cannot determine perl version info from lib/HTTP/Server/Simple.pm Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for HTTP::Server::Simple Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have CGI 0 ... Yes (4.28) Checking if you have Socket 1.94 ... Yes (2.018) Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04_01) Checking if you have Test::More 0 ... Yes (1.001014) Building and testing HTTP-Server-Simple-0.51 cp lib/HTTP/Server/Simple.pm blib/lib/HTTP/Server/Simple.pm cp lib/HTTP/Server/Simple/CGI/Environment.pm blib/lib/HTTP/Server/Simple/CGI/Environment.pm cp lib/HTTP/Server/Simple/CGI.pm blib/lib/HTTP/Server/Simple/CGI.pm PERL_DL_NONLAZY=1 "/home/myuser/.plenv/versions/colab/bin/perl5.22.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00smoke.t ........ ok bind to *:40344: Address already in use at t/01live.t line 157. Name or service not known! at /home/myuser/.cpanm/work/1460406756.1242/HTTP-Server-Simple-0.51/blib/lib/HTTP/Server/Simple.pm line 712, line 16. Use of uninitialized value $sockaddr in bind at /home/myuser/.cpanm/work/1460406756.1242/HTTP-Server-Simple-0.51/blib/lib/HTTP/Server/Simple.pm line 731, line 16. bind to localhost:40345: Invalid argument at t/01live.t line 157. # Failed test 'Returns a page' # at t/01live.t line 166. # '[ERROR] getaddrinfo: Name or service not known operating on [localhost] [40345] [10] [1] [6] at t/01live.t line 109, line 16. # ' # doesn't match '/Congratulations/' Name or service not known! at /home/myuser/.cpanm/work/1460406756.1242/HTTP-Server-Simple-0.51/blib/lib/HTTP/Server/Simple.pm line 712, line 16. Use of uninitialized value $sockaddr in bind at /home/myuser/.cpanm/work/1460406756.1242/HTTP-Server-Simple-0.51/blib/lib/HTTP/Server/Simple.pm line 731, line 16. bind to localhost:40346: Invalid argument at t/01live.t line 61. # Failed test 'Returns a page' # at t/01live.t line 68. # '[ERROR] getaddrinfo: Name or service not known operating on [localhost] [40346] [10] [1] [6] at t/01live.t line 109, line 16. # ' # doesn't match '/Congratulations/' # Failed test 'knows what a request isn't' # at t/01live.t line 71. # '[ERROR] getaddrinfo: Name or service not known operating on [localhost] [40346] [10] [1] [6] at t/01live.t line 109, line 16. # ' # doesn't match '/bad request/i' # Failed test 'HTTP/1.1 request' # at t/01live.t line 77. # '[ERROR] getaddrinfo: Name or service not known operating on [localhost] [40346] [10] [1] [6] at t/01live.t line 109, line 16. # ' # doesn't match '/Congratulations/' # Failed test 'HTTP/0.9 request' # at t/01live.t line 80. # '[ERROR] getaddrinfo: Name or service not known operating on [localhost] [40346] [10] [1] [6] at t/01live.t line 109, line 16. # ' # doesn't match '/Congratulations/' # Looks like you failed 5 tests of 34. t/01live.t ......... Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/34 subtests (less 1 skipped subtest: 28 okay) t/02pod.t .......... skipped: Test::Pod 1.14 required for testing POD t/03podcoverage.t .. skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/04cgi.t .......... ok Test Summary Report ------------------- t/01live.t (Wstat: 1280 Tests: 34 Failed: 5) Failed tests: 16, 26-29 Non-zero exit status: 5 Files=5, Tests=104, 18 wallclock secs ( 0.06 usr 0.01 sys + 0.48 cusr 0.07 csys = 0.62 CPU) Result: FAIL Failed 1/5 test programs. 5/104 subtests failed. make: *** [test_dynamic] Error 255 -> FAIL Installing HTTP::Server::Simple failed. See /home/myuser/.cpanm/work/1460406756.1242/build.log for details. Retry with --force to force install it.