Subject: | Unable to compile Log::Syslog::Fast |
Date: | Wed, 31 Oct 2012 18:30:32 +0000 |
To: | "bug-Log-Syslog-Fast [...] rt.cpan.org" <bug-Log-Syslog-Fast [...] rt.cpan.org> |
From: | "Clayton Dukes (cdukes)" <cdukes [...] cisco.com> |
Hi,
I'm having difficulty compiling this - not sure if I am doing something wrong or if it is a bug. Can you offer any advice?
# cpan Log::Syslog::Fast
CPAN: Storable loaded ok (v2.27)
Going to read '/root/.cpan/Metadata'
Database was generated on Wed, 31 Oct 2012 16:31:03 GMT
Running install for module 'Log::Syslog::Fast'
Running make for A/AT/ATHOMASON/Log-Syslog-Fast-0.60.tar.gz
CPAN: Digest::SHA loaded ok (v5.61)
CPAN: Compress::Zlib loaded ok (v2.033)
Checksum for /root/.cpan/sources/authors/id/A/AT/ATHOMASON/Log-Syslog-Fast-0.60.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.76)
Log-Syslog-Fast-0.60/
Log-Syslog-Fast-0.60/fallback/
Log-Syslog-Fast-0.60/fallback/const-c.inc
Log-Syslog-Fast-0.60/fallback/const-xs.inc
Log-Syslog-Fast-0.60/META.yml
Log-Syslog-Fast-0.60/typemap
Log-Syslog-Fast-0.60/Fast.xs
Log-Syslog-Fast-0.60/README
Log-Syslog-Fast-0.60/Makefile.PL
Log-Syslog-Fast-0.60/ppport.h
Log-Syslog-Fast-0.60/LogSyslogFast.c
Log-Syslog-Fast-0.60/MANIFEST
Log-Syslog-Fast-0.60/lib/
Log-Syslog-Fast-0.60/lib/Log/
Log-Syslog-Fast-0.60/lib/Log/Syslog/
Log-Syslog-Fast-0.60/lib/Log/Syslog/Fast.pm
Log-Syslog-Fast-0.60/lib/Log/Syslog/Fast/
Log-Syslog-Fast-0.60/lib/Log/Syslog/Fast/PP.pm
Log-Syslog-Fast-0.60/lib/Log/Syslog/Fast/Simple.pm
Log-Syslog-Fast-0.60/LogSyslogFast.h
Log-Syslog-Fast-0.60/META.json
Log-Syslog-Fast-0.60/benchmarks/
Log-Syslog-Fast-0.60/benchmarks/bench-sizes.pl
Log-Syslog-Fast-0.60/benchmarks/bench-tarballs.pl
Log-Syslog-Fast-0.60/benchmarks/bench-protos.pl
Log-Syslog-Fast-0.60/Log-Syslog-Fast.spec
Log-Syslog-Fast-0.60/Changes
Log-Syslog-Fast-0.60/t/
Log-Syslog-Fast-0.60/t/02-Log-Syslog-Fast-Simple.t
Log-Syslog-Fast-0.60/t/04-accessors.t
Log-Syslog-Fast-0.60/t/00-compile.t
Log-Syslog-Fast-0.60/t/lib/
Log-Syslog-Fast-0.60/t/lib/LSFServer.pm
Log-Syslog-Fast-0.60/t/01-Log-Syslog-Fast.t
Log-Syslog-Fast-0.60/t/05-ipv6.t
Log-Syslog-Fast-0.60/t/06-large-strings.t
Log-Syslog-Fast-0.60/t/09-undef-strings.t
Log-Syslog-Fast-0.60/t/03-corner-cases.t
Log-Syslog-Fast-0.60/t/07-Log-Syslog-Fast-PP.t
Log-Syslog-Fast-0.60/t/08-fd-leak.t
Log-Syslog-Fast-0.60/MANIFEST.SKIP
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4401)
CPAN: CPAN::Meta loaded ok (v2.112150)
CPAN: Module::CoreList loaded ok (v2.49_02)
CPAN.pm: Going to build A/AT/ATHOMASON/Log-Syslog-Fast-0.60.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Log::Syslog::Fast
Writing MYMETA.yml and MYMETA.json
cp lib/Log/Syslog/Fast.pm blib/lib/Log/Syslog/Fast.pm
cp lib/Log/Syslog/Fast/PP.pm blib/lib/Log/Syslog/Fast/PP.pm
cp lib/Log/Syslog/Fast/Simple.pm blib/lib/Log/Syslog/Fast/Simple.pm
cc -c -I. -g -O2 -g -DVERSION=\"0.60\" -DXS_VERSION=\"0.60\" -fPIC "-I/usr/lib/perl/5.14/CORE" LogSyslogFast.c
/usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp -typemap /usr/share/perl/5.14/ExtUtils/typemap -typemap typemap Fast.xs > Fast.xsc && mv Fast.xsc Fast.c
cc -c -I. -g -O2 -g -DVERSION=\"0.60\" -DXS_VERSION=\"0.60\" -fPIC "-I/usr/lib/perl/5.14/CORE" Fast.c
Running Mkbootstrap for Log::Syslog::Fast ()
chmod 644 Fast.bs
rm -f blib/arch/auto/Log/Syslog/Fast/Fast.so
cc -shared -O2 -g -L/usr/local/lib -fstack-protector LogSyslogFast.o Fast.o -o blib/arch/auto/Log/Syslog/Fast/Fast.so \
\
chmod 755 blib/arch/auto/Log/Syslog/Fast/Fast.so
cp Fast.bs blib/arch/auto/Log/Syslog/Fast/Fast.bs
chmod 644 blib/arch/auto/Log/Syslog/Fast/Fast.bs
Manifying blib/man3/Log::Syslog::Fast.3pm
Manifying blib/man3/Log::Syslog::Fast::PP.3pm
Manifying blib/man3/Log::Syslog::Fast::Simple.3pm
ATHOMASON/Log-Syslog-Fast-0.60.tar.gz
/usr/bin/make -- OK
'YAML' not installed, will not store persistent state
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-compile.t ................. ok
t/01-Log-Syslog-Fast.t ......... ok
t/02-Log-Syslog-Fast-Simple.t .. ok
t/03-corner-cases.t ............ ok
t/04-accessors.t ............... ok
t/05-ipv6.t .................... 1/73 # Error in ->new: getaddrinfo failure at t/lib/LSFServer.pm line 33.
# Error in ->new: getaddrinfo failure at t/lib/LSFServer.pm line 33.
# Error in ->new: getaddrinfo failure at t/lib/LSFServer.pm line 33.
# Error in ->new: getaddrinfo failure at t/lib/LSFServer.pm line 33.
# Error in ->new: getaddrinfo failure at t/lib/LSFServer.pm line 33.
# Error in ->new: getaddrinfo failure at t/lib/LSFServer.pm line 33.
# Looks like you planned 73 tests but ran 5.
t/05-ipv6.t .................... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 68/73 subtests
t/06-large-strings.t ........... ok
t/07-Log-Syslog-Fast-PP.t ...... ok
t/08-fd-leak.t ................. ok
t/09-undef-strings.t ........... ok
Test Summary Report
-------------------
t/05-ipv6.t (Wstat: 65280 Tests: 5 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 73 tests but ran 5.
Files=10, Tests=407, 5 wallclock secs ( 0.08 usr 0.03 sys + 0.51 cusr 0.06 csys = 0.68 CPU)
Result: FAIL
Failed 1/10 test programs. 0/407 subtests failed.
make: *** [test_dynamic] Error 255
ATHOMASON/Log-Syslog-Fast-0.60.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ATHOMASON/Log-Syslog-Fast-0.60.tar.gz
Running make install
make test had returned bad status, won't install without force
[cid:image001.jpg@01CDB774.4313C1B0]
Message body is not shown because it is too large.