Skip Menu |

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

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

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

Bug Information
Severity: (no value)
Broken in:
  • 0.18
  • 0.19
  • 0.20
  • 0.21
Fixed in: 0.23



Subject: t/11sockopts.t fails with "Cannot socket() - Protocol not available"

Its very likely this box just doesn't have IPV6 support somewhere, its a bit old, enough that "ping6 <IPv6 addr>" doesn't work, while my other box which is more up to date, and on the same LAN, works fine ( and IO-Socket-IP has no failures on it either ).

t/11sockopts.t ...................... 1/3 Cannot socket() - Protocol not available at t/11sockopts.t line 30.
# Looks like you planned 3 tests but ran 1.
# Looks like your test exited with 92 just after 1.
t/11sockopts.t ...................... Dubious, test returned 92 (wstat 23552, 0x5c00)
Failed 2/3 subtests
t/12port-fallback.t ................. ok   
 

Downstream seem to think its a mis-detection of SO_PORTREUSE

https://bugs.gentoo.org/show_bug.cgi?id=473438
Should now be fixed in 0.23; have added test logic to check the socket option actually works with the kernel, before running the unit test. -- Paul Evans