Closed eserte closed 2 years ago
I'm very glad you reported this, as I've seen failure reports from CPAN-testers a couple of times before but not been able to replicate it. Expect questions!
To start with, can you tell me what locale settings you've got on the machines where this happens?
Also what does this say?
perl -MData::Dumper -MI18N::LangTags::Detect -E 'say Dumper(I18N::LangTags::implicate_supers(I18N::LangTags::Detect::detect()))'
Thinking about it a bit more ... the key here seems to be Test::More::is(undef, "\x{5ef6}\x{5ca1}", "Japanese area name ...
indicating that this line got an undef
from here. That can happen if the country-specific class can't be loaded here. That's something perfectly valid if the "country" is something like Inmarsat, and I can replicate the failure if I just delete the module for Japan.
Did you run out of disk space while untarring the dist?
I'll stick to the CentOS 7 smoker for your questions first:
$VAR1 = 'en-us';
$VAR2 = 'en';
While stepping with the debugger I see:
DB<6>
Number::Phone::JP::areaname(/opt/perl-5.30.0/lib/site_perl/5.30.0/Number/Phone/JP.pm:158):
158: sub areaname { undef }
Confirmed: just install Number::Phone::JP first, then the Number::Phone test will fail.
Ahhh, so obvious. Fixed in 66b7030. I'll push a new release out tomorrow assuming the CI doesn't whine.
Thanks for your help!
Released as version 3.8004.
On some of my smokers (various freebsd, centos7, fedora systems; various perl versions between 5.8.9 and 5.30.0) the test suite fails like this: