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

Report information
The Basics
Id:
100901
Status:
new
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
(no value)
Broken in:
0.29
Fixed in:
(no value)



Subject: 15io-socket.t and 16v6only.t fail on network-restricted environments ( seen Perl 5.20.1 install )

https://bugs.gentoo.org/show_bug.cgi?id=532156

 

For some odd reason:

 

IO::Socket fails instead of knowing it can't be expected to work:

 

===(   16306;101  6/8  1/?  0/?  0/? )==================================
#   Failed test ''IO::Socket->new( Domain => AF_INET )' isa 'IO::Socket::IP''
#   at t/15io-socket.t line 20.
#     'IO::Socket->new( Domain => AF_INET )' isn't defined

#   Failed test ''IO::Socket->new( Domain => AF_INET6 )' isa 'IO::Socket::IP''
#   at t/15io-socket.t line 45.
#     'IO::Socket->new( Domain => AF_INET6 )' isn't defined
#   error was Name or service not known
# Looks like you failed 2 tests of 4.
../cpan/IO-Socket-IP/t/15io-socket.t .............................. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests 

 

And the AF_INET6 test also fails

 

===(   16312;102  6/8  0/?  0/? )=======================================Cannot listen on PF_INET6 - Name or service not known at t/16v6only.t line 22.
../cpan/IO-Socket-IP/t/16v6only.t ................................. Dubious, test returned 22 (wstat 5632, 0x1600)

 

I didn't find any other bug pertaining to this, and LeoNerd didn't yet recall any existing problem this describes.

 

Potentially Wanting either a code fix or test fix to backport to our 5.20.0 install to smooth over installation for our users ( because we build from source, and because users can run tests )

 

If the fix is small enough it might be stuffable in a 5.20.x stability release? *shrug*



This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.