Skip Menu |

This queue is for tickets about the Log-Syslog-Fast CPAN distribution.

Report information
The Basics
Id: 80530
Status: stalled
Priority: 0/
Queue: Log-Syslog-Fast

People
Owner: athomason [...] cpan.org
Requestors: cdukes [...] cisco.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.

Download image001.jpg
image/jpeg 11.3k
image001.jpg
That looks like a resolution failure in getaddrinfo, probably when trying to resolve the hardcoded ::1 loopback address. Is there anything peculiar about your ipv6 setup that would be causing that to fail? The error message isn't very helpful so I've just uploaded 0.61 that gives a better diagnostic in this case.
Subject: RE: [rt.cpan.org #80530] Unable to compile Log::Syslog::Fast
Date: Sun, 9 Dec 2012 15:44:41 +0000
To: "bug-Log-Syslog-Fast [...] rt.cpan.org" <bug-Log-Syslog-Fast [...] rt.cpan.org>
From: "Clayton Dukes (cdukes)" <cdukes [...] cisco.com>
Hi, Sorry for the delay in responding. This seems to be an issue on every Ubuntu 12.x server I have. The default /etc/hosts file on all servers is: ::1 localhost ip6-localhost ip6-loopback Here's the output of another run on a different server: t/05-ipv6.t .................... 2/73 # Error in ->new: Address family for hostname not supported at t/lib/LSFServer.pm line 33. # Error in ->new: Address family for hostname not supported at t/lib/LSFServer.pm line 33. # Error in ->new: Address family for hostname not supported at t/lib/LSFServer.pm line 33. # Error in ->new: Address family for hostname not supported at t/lib/LSFServer.pm line 33. # Error in ->new: Address family for hostname not supported at t/lib/LSFServer.pm line 33. # Error in ->new: Address family for hostname not supported 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 P.S. If it's not too much trouble, can you please remove my signature image from the original email/post at https://rt.cpan.org/Public/Bug/Display.html?id=80530? Thanks :-)
On Sun Dec 09 10:45:02 2012, cdukes@cisco.com wrote: Show quoted text
> Hi, > Sorry for the delay in responding. This seems to be an issue on > every Ubuntu 12.x server I have. > The default /etc/hosts file on all > servers is: > ::1 localhost ip6-localhost ip6-loopback
I have the same line on my 12.04 machine and the tests all pass. Is there anything else in /etc/hosts that mentions ::1 or localhost? Show quoted text
> > Here's > the output of another run on a different server: > t/05-ipv6.t > .................... 2/73 # Error in ->new: Address family for > hostname not supported at t/lib/LSFServer.pm line 33. > # Error in > ->new: Address family for hostname not supported at t/lib/LSFServer.pm > line 33. > # Error in ->new: Address family for hostname not supported > at t/lib/LSFServer.pm line 33. > # Error in ->new: Address family for > hostname not supported at t/lib/LSFServer.pm line 33. > # Error in > ->new: Address family for hostname not supported at t/lib/LSFServer.pm > line 33. > # Error in ->new: Address family for hostname not supported > 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
That error message has the code EAI_ADDRFAMILY, whose entry in the getaddrinfo an page say "The specified network host does not have any network addresses in the requested address family." Some Googling suggests this error typical appears in invalid ipv6 configurations (see for instance http://stackoverflow.com/questions/5985470/ipv6-address-to-domain-name). Seems that the network stack fails to recognize ::1 as an address. Does running "ping6 ::1" work for you? (ping6 is in the iputils-ping package). If not, I'd poke around in /etc/sysctl.conf for anything suspicious, but otherwise searching about ipv6 troubleshooting in Ubuntu would be most helpful to you. Show quoted text
> P.S. > If it's not too much trouble, can you please remove my signature > image from the original email/post at > https://rt.cpan.org/Public/Bug/Display.html?id=80530? > Thanks :-)
I would, but I don't have the rights. You might try the administrators at rt-cpan-admin@bestpractical.com.
Marking this ticket stalled for inactivity.