Skip Menu |

This queue is for tickets about the IO-Socket-IP CPAN distribution.

Report information
The Basics
Id: 102662
Status: resolved
Priority: 0/
Queue: IO-Socket-IP

People
Owner: Nobody in particular
Requestors: JHI [...] cpan.org
Cc:
AdminCc:

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



Subject: IRIX 6.5 doesn't do t/16v6only.t
Couldn't figure out how to get it working, so skipping. Could have made it a $TODO but the _get_host_service() croaks of getnameinfo() fails. Patch attached.
Subject: 0001-IRIX-IPV6_V6ONLY-exists-but-doesn-t-seem-to-be-doing.patch
From 6a946865028ae2f8bf6967da5601a4a08dcd6110 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi <jhi@iki.fi> Date: Mon, 9 Mar 2015 19:13:52 -0400 Subject: [PATCH] IRIX: IPV6_V6ONLY exists, but doesn't seem to be doing much. (IPv6 seems to be enabled in the system... maybe there's something special that IRIX needs, but IPV6_V6ONLY or getnameinfo() documentation don't offer much insight) --- cpan/IO-Socket-IP/t/16v6only.t | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpan/IO-Socket-IP/t/16v6only.t b/cpan/IO-Socket-IP/t/16v6only.t index 8e3ee31..189e56a 100644 --- a/cpan/IO-Socket-IP/t/16v6only.t +++ b/cpan/IO-Socket-IP/t/16v6only.t @@ -14,6 +14,10 @@ eval { IO::Socket::IP->new( LocalHost => "::1" ) } or eval { defined IPV6_V6ONLY } or plan skip_all => "IPV6_V6ONLY not available"; +if ($^O eq 'irix') { + plan skip_all => "$^O: IPV6_V6ONLY exists but getnameinfo() fails with EAI_NONAME - Hostname nor servname provided, or not known"; +} + # Don't be locale-sensitive $! = Errno::ECONNREFUSED; my $ECONNREFUSED_STR = "$!"; -- 2.3.1
Thanks. I'll make it skip on IRIX by default for now, but at some point it would be nice to get to the bottom of it. -- Paul Evans
Subject: Re: [rt.cpan.org #102662] IRIX 6.5 doesn't do t/16v6only.t
Date: Thu, 12 Mar 2015 19:45:49 -0400
To: bug-IO-Socket-IP [...] rt.cpan.org
From: Jarkko Hietaniemi <jhi [...] iki.fi>
On Thursday-201503-12 15:18, Paul Evans via RT wrote: Show quoted text
> I'll make it skip on IRIX by default for now, but at some point it would be nice to get to the bottom of it.
Thanks. I'll continue poking. Will probably try doing the same in plain C and see what happens.
Released in 0.37 -- Paul Evans