Installing perl/cpan from source on Centos 6 64-bit - perl

I'm trying to install perl from source into a local directory on CentOS 6. I'm having issues installing certain packages with cpan. I solved a bunch of problems by installing some dev rpm's, I solved more problems by telling perl CentOS is 64 bit in the configure line. But I'm having a problem installing Apache2::TaintRequest that I'm not having much luck figuring out. I've been googling and recompiling for the last several days, so hopefully this isn't a dumb question...
Here is what I'm doing.
yum -y install libxml2-devel openssl-devel vsftpd emacs alpine xorg-x11-xauth
yum -y xorg-x11-fonts* gd gd-devel expat mod_perl gdbm gdbm-devel httpd-devel
yum -y mod_ssl slang slang-devel expat expat-devel gmp gmp-devel curl
yum -y curl-devel jemalloc jemalloc-devel
mkdir /local_perl
cd /root/
wget http://www.cpan.org/src/5.0/perl-5.18.0.tar.gz
tar -xzxf /root/initial_install/perl-5.18.0.tar.gz
cd perl-5.18.0
CFLAGS='-m64 -mtune=nocona' ./Configure -des -A ccflags="-fPIC -m64" \
-Dprefix=/local_perl -Aldflags='-lresolv -lnsl -ldl -lm -lcrypt -lutil -lc'
make
make test
make install
/local_perl/bin/cpan
/local_perl/bin/cpan Bundle::CPAN
/local_perl/bin/cpan -i YAML
/local_perl/bin/cpan -i Net::OpenID::Consumer
/local_perl/bin/cpan -i Apache2::RequestRec
/local_perl/bin/cpan -i Apache2::TaintRequest # fails
This is where I've gotten, here's the output
[STL root#mgs26 perl-5.18.0]# /local_perl/bin/cpan -i Apache2::TaintRequest #
CPAN: Storable loaded ok (v2.41)
Reading '/root/.cpan/Metadata'
Database was generated on Mon, 12 Aug 2013 19:53:03 GMT
Running install for module 'Apache2::TaintRequest'
Running make for P/PH/PHRED/Apache2-TaintRequest-0.01.tar.gz
CPAN: Digest::SHA loaded ok (v5.85)
CPAN: Compress::Zlib loaded ok (v2.062)
Checksum for /root/.cpan/sources/authors/id/P/PH/PHRED/Apache2-TaintRequest-0.01.tar.gz ok
CPAN: File::Temp loaded ok (v0.2301)
CPAN: Parse::CPAN::Meta loaded ok (v1.4405)
CPAN: CPAN::Meta loaded ok (v2.120921)
CPAN: Module::CoreList loaded ok (v2.90)
CPAN.pm: Building P/PH/PHRED/Apache2-TaintRequest-0.01.tar.gz
Checking if your kit is complete...
Looks good
Warning: prerequisite Taint 0 not found.
Writing Makefile for Apache2::TaintRequest
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- PHRED/Apache2-TaintRequest-0.01.tar.gz ----
Taint [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'Taint'
Running make for P/PH/PHOENIX/Taint-0.09.tar.gz
Checksum for /root/.cpan/sources/authors/id/P/PH/PHOENIX/Taint-0.09.tar.gz ok
CPAN.pm: Building P/PH/PHOENIX/Taint-0.09.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Taint
Writing MYMETA.yml and MYMETA.json
cp Taint.pm blib/lib/Taint.pm
Manifying blib/man3/Taint.3
PHOENIX/Taint-0.09.tar.gz
/usr/bin/make -- OK
CPAN: YAML loaded ok (v0.84)
Running make test
PERL_DL_NONLAZY=1 /local_perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0-basic.t .... Failed 4/52 subtests
t/no-taint.t ... ok
t/tied.t ....... All 11 subtests passed
t/u-untaint.t .. ok
Test Summary Report
-------------------
t/0-basic.t (Wstat: 0 Tests: 52 Failed: 4)
Failed tests: 32, 38-40
t/tied.t (Wstat: 0 Tests: 12 Failed: 1)
Failed test: 12
Parse errors: Bad plan. You planned 11 tests but ran 12.
Files=4, Tests=78, 0 wallclock secs ( 0.07 usr 0.02 sys + 0.07 cusr 0.04 csys = 0.20 CPU)
Result: FAIL
Failed 2/4 test programs. 5/78 subtests failed.
make: *** [test_dynamic] Error 255
PHOENIX/Taint-0.09.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PHOENIX/Taint-0.09.tar.gz
Running make install
make test had returned bad status, won't install without force
Running make for P/PH/PHRED/Apache2-TaintRequest-0.01.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Apache2-TaintRequest-0.01-Hq_Pbt
CPAN.pm: Building P/PH/PHRED/Apache2-TaintRequest-0.01.tar.gz
Warning: Prerequisite 'Taint => 0' for 'PHRED/Apache2-TaintRequest-0.01.tar.gz' failed when processing 'PHOENIX/Taint-0.09.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
CPAN: Time::HiRes loaded ok (v1.9725)
cp lib/Apache2/TaintRequest.pm blib/lib/Apache2/TaintRequest.pm
Manifying blib/man3/Apache2::TaintRequest.3
PHRED/Apache2-TaintRequest-0.01.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /local_perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Apache2-TaintRequest.t .. 1/1
# Failed test 'use Apache2::TaintRequest;'
# at t/Apache2-TaintRequest.t line 7.
# Tried to use 'Apache2::TaintRequest'.
# Error: Can't locate Taint.pm in #INC (you may need to install the Taint module) (#INC contains: /root/.cpan/build/Apache2-TaintRequest-0.01-Hq_Pbt/blib/lib /root/.cpan/build/Apache2-TaintRequest-0.01-Hq_Pbt/blib/arch /local_perl/lib/site_perl/5.18.0/x86_64-linux /local_perl/lib/site_perl/5.18.0 /local_perl/lib/5.18.0/x86_64-linux /local_perl/lib/5.18.0) at /root/.cpan/build/Apache2-TaintRequest-0.01-Hq_Pbt/blib/lib/Apache2/TaintRequest.pm line 29.
# BEGIN failed--compilation aborted at /root/.cpan/build/Apache2-TaintRequest-0.01-Hq_Pbt/blib/lib/Apache2/TaintRequest.pm line 29.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Apache2-TaintRequest.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/Apache2-TaintRequest.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.04 cusr 0.01 csys = 0.10 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 1
PHRED/Apache2-TaintRequest-0.01.tar.gz
one dependency not OK (Taint); additionally test harness failed
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PHRED/Apache2-TaintRequest-0.01.tar.gz
Running make install
make test had returned bad status, won't install without force
I'm at a loss, any help would be greatly appreciated. Thanks.

Have you seen if perlbrew sets the right flags and just works?

Force install the Taint module first:
cpan[1]> force install Taint
Then: cpan Apache2::TaintRequest

Related

Perl: Installation of Statistics::Normality fails

I'm trying to install Perl's Statistics::Normality (https://metacpan.org/pod/Statistics::Normality) but I am getting errors I don't know how to fix on the command line from CPAN 2.26 and perl 5.26.1
I've tried the installation instructions on that page, but they produce errors
Reading '/home/con/.local/share/.cpan/Metadata' Database was generated on Tue, 02 Apr 2019 16:17:03 GMT Running install for module 'Statistics::Normality' Checksum for /home/con/.local/share/.cpan/sources/authors/id/M/MW/MWENDL/Statistics-Normality-0.01.tar.gz ok Scanning cache /home/con/.local/share/.cpan/build for sizes ............................................................................DONE Configuring M/MW/MWENDL/Statistics-Normality-0.01.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Statistics::Normality Writing MYMETA.yml and MYMETA.json MWENDL/Statistics-Normality-0.01.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK Running make for M/MW/MWENDL/Statistics-Normality-0.01.tar.gz cp lib/Statistics/Normality.pm blib/lib/Statistics/Normality.pm Manifying 1 pod document MWENDL/Statistics-Normality-0.01.tar.gz /usr/bin/make -- OK Running make test for MWENDL/Statistics-Normality-0.01.tar.gz PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ....... 1/1 # Testing Statistics::Normality 0.01, Perl 5.026001, /usr/bin/perl t/00-load.t ....... ok t/01-normality.t .. 1/? # Tests were run but no plan was declared and done_testing() was not seen. t/01-normality.t .. Dubious, test returned 254 (wstat 65024, 0xfe00) All 4 subtests passed t/pod-coverage.t .. 1/1
# Failed test 'Pod coverage on Statistics::Normality'
# at /usr/local/share/perl/5.26.0/Test/Pod/Coverage.pm line 133.
# Coverage for Statistics::Normality is 0.0%, with 2 naked subroutines:
# dagostino_k_square_test
# shapiro_wilk_test
# Looks like you failed 1 test of 1. t/pod-coverage.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/pod.t ........... ok
Test Summary Report
------------------- t/01-normality.t (Wstat: 65024 Tests: 4 Failed: 0) Non-zero exit status: 254 Parse errors: No plan found in TAP output t/pod-coverage.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=4, Tests=7, 0 wallclock secs ( 0.03 usr
0.00 sys + 0.18 cusr 0.01 csys = 0.22 CPU) Result: FAIL Failed 2/4 test programs. 1/7 subtests failed. Makefile:822: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 MWENDL/Statistics-Normality-0.01.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports MWENDL/Statistics-Normality-0.01.tar.gz Failed during this command: MWENDL/Statistics-Normality-0.01.tar.gz : make_test NO
I have no idea how to fix this :(
If that's the only test error, it's a documentation issue and nothing to worry about. Install the module forcefully.
$ cpan -f Statistics::Normality

Couldn't install File::Path library with cpan

I am unable to install File::Path library using cpan. What is wrong?
# perl -v
This is perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-linux
Copyright 1987-2017, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
# cpan -v
/usr/bin/cpan script version 1.66, CPAN.pm version 2.18
Is there some other way how to make it installed or is there some workaround?
# cpan install File::Path
Reading '/root/.cpan/Metadata'
Database was generated on Thu, 01 Mar 2018 13:17:03 GMT
Running install for module 'File::Path'
CPAN: Digest::SHA loaded ok (v6.01)
CPAN: Compress::Zlib loaded ok (v2.074)
Checksum for /root/.cpan/sources/authors/id/J/JK/JKEENAN/File-Path-2.15.tar.gz ok
CPAN: YAML loaded ok (v1.24)
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::CoreList loaded ok (v5.20180220)
Configuring J/JK/JKEENAN/File-Path-2.15.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for File::Path
Writing MYMETA.yml and MYMETA.json
JKEENAN/File-Path-2.15.tar.gz
/root/localperl/bin/perl Makefile.PL -- OK
Running make for J/JK/JKEENAN/File-Path-2.15.tar.gz
cp lib/File/Path.pm blib/lib/File/Path.pm
Manifying 1 pod document
JKEENAN/File-Path-2.15.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/root/localperl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Path-Class.t .. ok
t/Path.t ........ ok
t/Path_root.t ... 1/11
# Failed test 'created a directory not owned by 1:inpuu...'
# at t/Path_root.t line 77.
# 'unable to map inpuu to a gid, group ownership not changed: at t/Path_root.t line 72.
# '
# doesn't match '(?^s:unable to map 1 to a uid, ownership not changed:)'
# Looks like you failed 1 test of 11.
t/Path_root.t ... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests
t/Path_win32.t .. skipped: not win32
t/taint.t ....... ok
Test Summary Report
-------------------
t/Path_root.t (Wstat: 256 Tests: 11 Failed: 1)
Failed test: 8
Non-zero exit status: 1
Files=5, Tests=214, 2 wallclock secs ( 0.05 usr 0.01 sys + 0.36 cusr 0.09 csys = 0.51 CPU)
Result: FAIL
Failed 1/5 test programs. 1/214 subtests failed.
make: *** [test_dynamic] Error 255
JKEENAN/File-Path-2.15.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JKEENAN/File-Path-2.15.tar.gz
This test failure is a known problem on centos 7, try the patch on RT.
https://rt.cpan.org/Public/Bug/Display.html?id=121967

Can't install AnyEvent::DBI with Cpan on macOS High Sierra

there was a problem installing the AnyEvent::DBI for perl v5.18.2 on macOS High Sierra 10.13.3
As I understood, the AnyEvent::Fork dependency module is not installed, here's the information from CPAN
cpan[1]> install AnyEvent::Fork
Reading '/Users/dmitry/.cpan/Metadata'
Database was generated on Tue, 20 Feb 2018 15:29:03 GMT
Running install for module 'AnyEvent::Fork'
Checksum for /Users/dmitry/.cpan/sources/authors/id/M/ML/MLEHMANN/AnyEvent-Fork-1.31.tar.gz ok
Scanning cache /Users/dmitry/.cpan/build for sizes
............................................................................DONE
Configuring M/ML/MLEHMANN/AnyEvent-Fork-1.31.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for AnyEvent::Fork
Writing MYMETA.yml and MYMETA.json
MLEHMANN/AnyEvent-Fork-1.31.tar.gz
/usr/bin/perl Makefile.PL -- OK
Running make for M/ML/MLEHMANN/AnyEvent-Fork-1.31.tar.gz
cp Fork/Template.pm blib/lib/AnyEvent/Fork/Template.pm
cp Fork/Serve.pm blib/lib/AnyEvent/Fork/Serve.pm
cp Fork/Early.pm blib/lib/AnyEvent/Fork/Early.pm
cp Fork.pm blib/lib/AnyEvent/Fork.pm
Manifying 3 pod documents
MLEHMANN/AnyEvent-Fork-1.31.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ...... ok
t/01_early.t ..... ok
t/02_template.t .. ok
t/03_new.t ....... ok
t/04_tofrom.t .... Failed 2/18 subtests
Test Summary Report
-------------------
t/04_tofrom.t (Wstat: 0 Tests: 18 Failed: 2)
Failed tests: 16-17
Files=5, Tests=34, 1 wallclock secs ( 0.04 usr 0.02 sys + 0.15 cusr 0.04 csys = 0.25 CPU)
Result: FAIL
Failed 1/5 test programs. 2/34 subtests failed.
make: *** [test_dynamic] Error 255
MLEHMANN/AnyEvent-Fork-1.31.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MLEHMANN/AnyEvent-Fork-1.31.tar.gz
Failed during this command:
MLEHMANN/AnyEvent-Fork-1.31.tar.gz : make_test NO
cpan[2]> reports MLEHMANN/AnyEvent-Fork-1.31.tar.gz
Distribution: M/ML/MLEHMANN/AnyEvent-Fork-1.31.tar.gz
Fetching 'http://www.cpantesters.org/show/AnyEvent-Fork.yaml'...DONE
Catching error: "CPAN::Exception::yaml_process_error=HASH(0x7fdfcd59c350)" at /Library/Perl/Updates/5.18.2/CPAN.pm line 392.
CPAN::shell() called at /Library/Perl/Updates/5.18.2/App/Cpan.pm line 414
App::Cpan::_process_options("App::Cpan") called at /Library/Perl/Updates/5.18.2/App/Cpan.pm line 511
App::Cpan::run("App::Cpan") called at /usr/local/bin/cpan line 10
cpan[3]>
The most interesting on the previous version of macOS I installed this module.

Failing to install perl UNIVERSAL::DOES module

I'm using Perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi and I'm trying to install UNIVERSAL::DOES from cpan (with sudo) using install UNIVERSAL::DOES and I get the following log:
Reading '/home/aris/.cpan/Metadata'
Database was generated on Tue, 10 Jun 2014 02:17:02 GMT
Running install for module 'UNIVERSAL::DOES'
Checksum for /home/aris/.cpan/sources/authors/id/G/GF/GFUJI/UNIVERSAL-DOES-0.004.tar.gz ok
Scanning cache /home/aris/.cpan/build for sizes
............................................................................DONE
'YAML' not installed, will not store persistent state
Configuring G/GF/GFUJI/UNIVERSAL-DOES-0.004.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for UNIVERSAL::DOES
Writing MYMETA.yml and MYMETA.json
GFUJI/UNIVERSAL-DOES-0.004.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for G/GF/GFUJI/UNIVERSAL-DOES-0.004.tar.gz
cp lib/UNIVERSAL/DOES.pm blib/lib/UNIVERSAL/DOES.pm
Manifying blib/man3/UNIVERSAL::DOES.3pm
GFUJI/UNIVERSAL-DOES-0.004.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ... 1/1 # Testing UNIVERSAL::DOES/0.004
t/00_load.t ... ok
t/01_basic.t .. 1/45
# Failed test at t/01_basic.t line 96.
# Failed test at t/01_basic.t line 97.
# Looks like you failed 2 tests of 45.
t/01_basic.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/45 subtests
Test Summary Report
-------------------
t/01_basic.t (Wstat: 512 Tests: 45 Failed: 2)
Failed tests: 33-34
Non-zero exit status: 2
Files=2, Tests=46, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.07 cusr 0.01 csys = 0.13 CPU)
Result: FAIL
Failed 1/2 test programs. 2/46 subtests failed.
make: *** [test_dynamic] Error 2
GFUJI/UNIVERSAL-DOES-0.004.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports GFUJI/UNIVERSAL-DOES-0.004.tar.gz
Failed during this command:
GFUJI/UNIVERSAL-DOES-0.004.tar.gz : make_test NO
Is this the proper way to install it? Do I miss something? When I do sudo apt-get install perl I get that all are up to date.
The cpan module you're trying to install UNIVERSAL::DOES is specifically for versions of perl prior to v5.10 when DOES was added to Core: "UNIVERSAL::DOES()" in perl5100delta.
You can find the module and inspect it using:
perl -MUNIVERSAL -e 'print $INC{"UNIVERSAL.pm"}'
Outputs (on my system)
C:/strawberry/perl/lib/UNIVERSAL.pm

Perl Event::Lib install fails all tests in OSX 10.8

I'm running Mac OSX 10.8.3; I installed libevent 2.0.21 (universal) with homebrew; I manage a private Perl 5.16 environment with perlbrew. I'm having trouble installing the CPAN module Event::Lib -- specifically, every single test fails.
When I force installation, perl -e 'use Event::Lib;' segfaults.
I suspect this has something to do with the libevent installation: in the attached log, there are warnings about directories not being found when checking for the existence of libevent, but nothing definitively stating that libevent couldn't be found.
This describes a similar sounding problem, but the solution involved compiling libevent as a universal, which I've tried.
Any suggestions? Install log follows.
~🍔 cpanm --reinstall Event::Lib
--> Working on Event::Lib
Fetching http://www.cpan.org/authors/id/V/VP/VPARSEVAL/Event-Lib-1.03.tar.gz ... OK
Configuring Event-Lib-1.03 ... OK
Building and testing Event-Lib-1.03 ... FAIL
! Installing Event::Lib failed. See /Users/chap/.cpanm/build.log for details.
~🍔 cat .cpanm/build.log
cpanm (App::cpanminus) 1.5018 on perl 5.016001 built for darwin-2level
Work directory is /Users/chap/.cpanm/work/1370047478.40810
You have make /usr/bin/make
You have LWP 6.04
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
Searching Event::Lib on cpanmetadb ...
--> Working on Event::Lib
Fetching http://www.cpan.org/authors/id/V/VP/VPARSEVAL/Event-Lib-1.03.tar.gz
-> OK
Unpacking Event-Lib-1.03.tar.gz
Entering Event-Lib-1.03
Checking configure dependencies from META.yml
Configuring Event-Lib-1.03
Running Makefile.PL
Checking existance of libevent...ld: warning: directory not found for option '-L/sw/lib'
ld: warning: directory not found for option '-L/opt/local/lib'
yes
Checking capabilities...
event_set_log_callback...yes
event_priority_init...yes
Additional defines: -DHAVE_LOG_CALLBACKS -DHAVE_PRIORITIES
Checking if your kit is complete...
Looks good
Writing Makefile for Event::Lib
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.63_02)
Building and testing Event-Lib-1.03
cp Lib/Event/Lib.pm blib/lib/Event/Lib.pm
Skip blib/lib/Event/Lib.pm (unchanged)
/Users/chap/perl5/perlbrew/perls/perl-5.16.1/bin/perl /Users/chap/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/ExtUtils/xsubpp -typemap /Users/chap/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1/ExtUtils/typemap -typemap typemap Lib.xs > Lib.xsc && mv Lib.xsc Lib.c
cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O3 -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" "-I/Users/chap/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1/darwin-2level/CORE" -DHAVE_CONFIG_H -DHAVE_LOG_CALLBACKS -DHAVE_PRIORITIES Lib.c
Running Mkbootstrap for Event::Lib ()
chmod 644 Lib.bs
rm -f blib/arch/auto/Event/Lib/Lib.bundle
LD_RUN_PATH="/usr/local/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector Lib.o -o blib/arch/auto/Event/Lib/Lib.bundle \
-levent -lm \
chmod 755 blib/arch/auto/Event/Lib/Lib.bundle
cp Lib.bs blib/arch/auto/Event/Lib/Lib.bs
chmod 644 blib/arch/auto/Event/Lib/Lib.bs
Manifying blib/man3/Event::Lib::Event::Lib.3
Manifying blib/man3/Event::Lib.3
PERL_DL_NONLAZY=1 /Users/chap/perl5/perlbrew/perls/perl-5.16.1/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_pod.t ....................... ok
t/00_pod_coverage.t .............. ok
t/01_event-lib.t .................
Failed 2/2 subtests
t/10_event.t .....................
[*** snip ***]
t/62_events_readded.t ............
No subtests run
t/63_events_readded.t ............
No subtests run
t/64_pending_events_destroyed.t ..
No subtests run
t/65_stress_no_clone.t ...........
No subtests run
t/70_misc.t ......................
Failed 4/4 subtests
t/71_misc.t ......................
Failed 2/2 subtests
t/72_misc.t ......................
Failed 1/1 subtests
t/73_misc.t ......................
Failed 26/26 subtests
t/80_processes.t .................
No subtests run
t/90_leak.t ......................
No subtests run
t/91_leak.t ......................
No subtests run
t/92_leak.t ......................
No subtests run
t/93_leak.t ......................
No subtests run
Test Summary Report
-------------------
t/01_event-lib.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/10_event.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 2 tests but ran 0.
[*** snip ***]
t/93_leak.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
Files=36, Tests=2, 6 wallclock secs ( 0.10 usr 0.06 sys + 0.59 cusr 0.11 csys = 0.86 CPU)
Result: FAIL
Failed 34/36 test programs. 0/2 subtests failed.
make: *** [test_dynamic] Error 255
-> FAIL Installing Event::Lib failed. See /Users/chap/.cpanm/build.log for details.
~🍔
Try the patch in this bug report?