Skip Menu |

This queue is for tickets about the Module-Generic CPAN distribution.

Report information
The Basics
Id: 132664
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: Module-Generic

People
Owner: JDEGUEST [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Language "fr_FR" is not supported by your system (v0.12.6)
On some of my smoker systems (probably the systems without a French locale installed) the test suite fails like this: ... Language "fr_FR" is not supported by your system. within package Module::Generic::Number at line 4666 in file /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6-0/blib/lib/Module/Generic.pm Trace begun at /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6-0/blib/lib/Module/Generic.pm line 4666 Module::Generic::Number::__ANON__ at /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6-0/blib/lib/Module/Generic.pm line 4669 eval {...} at /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6-0/blib/lib/Module/Generic.pm line 4669 Module::Generic::Number::init('Module::Generic::Number=HASH(0x805368870)', 100, 'HASH(0x8050c38d0)') called at /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6-0/blib/lib/Module/Generic.pm line 188 Module::Generic::new('Module::Generic::Number', 100, 'HASH(0x8050c38d0)') called at t/02.num.t line 22 # Failed test ''Object with locale language string' isa 'Module::Generic::Number'' # at t/02.num.t line 23. # 'Object with locale language string' isn't defined Can't call method "precision" on an undefined value at t/02.num.t line 24. # Looks like your test exited with 2 just after 3. t/02.num.t ..... Dubious, test returned 2 (wstat 512, 0x200) Failed 1/3 subtests ...
On 2020-05-21 03:25:43, SREZIC wrote: Show quoted text
> On some of my smoker systems (probably the systems without a French > locale installed) the test suite fails like this: > > ... > Language "fr_FR" is not supported by your system. within package > Module::Generic::Number at line 4666 in file > /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6- > 0/blib/lib/Module/Generic.pm > Trace begun at /usr/home/cpansand/.cpan/build/2020052106/Module- > Generic-v0.12.6-0/blib/lib/Module/Generic.pm line 4666 > Module::Generic::Number::__ANON__ at > /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6- > 0/blib/lib/Module/Generic.pm line 4669 > eval {...} at > /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6- > 0/blib/lib/Module/Generic.pm line 4669 > Module::Generic::Number::init('Module::Generic::Number=HASH(0x805368870)', > 100, 'HASH(0x8050c38d0)') called at > /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6- > 0/blib/lib/Module/Generic.pm line 188 > Module::Generic::new('Module::Generic::Number', 100, > 'HASH(0x8050c38d0)') called at t/02.num.t line 22 > > # Failed test ''Object with locale language string' isa > 'Module::Generic::Number'' > # at t/02.num.t line 23. > # 'Object with locale language string' isn't defined > Can't call method "precision" on an undefined value at t/02.num.t line > 24. > # Looks like your test exited with 2 just after 3. > t/02.num.t ..... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 1/3 subtests > ...
Actually, on a closer look, it may fail also on systems which have a French locale. For example on my FreeBSD 12 smoker: $ locale -a|grep fr_FR fr_FR.ISO8859-1 fr_FR.ISO8859-15 fr_FR.UTF-8
Subject: Re: [rt.cpan.org #132664] Language "fr_FR" is not supported by your system (v0.12.6)
Date: Thu, 21 May 2020 20:21:58 +0900
To: bug-Module-Generic [...] rt.cpan.org
From: Jacques Deguest <jack [...] deguest.jp>
Thank you for the reporting. I just solved this bug. On 21/05/2020 16:27, Slaven_Rezic via RT wrote: Show quoted text
> Queue: Module-Generic > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=132664 > > > On 2020-05-21 03:25:43, SREZIC wrote:
>> On some of my smoker systems (probably the systems without a French >> locale installed) the test suite fails like this: >> >> ... >> Language "fr_FR" is not supported by your system. within package >> Module::Generic::Number at line 4666 in file >> /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6- >> 0/blib/lib/Module/Generic.pm >> Trace begun at /usr/home/cpansand/.cpan/build/2020052106/Module- >> Generic-v0.12.6-0/blib/lib/Module/Generic.pm line 4666 >> Module::Generic::Number::__ANON__ at >> /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6- >> 0/blib/lib/Module/Generic.pm line 4669 >> eval {...} at >> /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6- >> 0/blib/lib/Module/Generic.pm line 4669 >> Module::Generic::Number::init('Module::Generic::Number=HASH(0x805368870)', >> 100, 'HASH(0x8050c38d0)') called at >> /usr/home/cpansand/.cpan/build/2020052106/Module-Generic-v0.12.6- >> 0/blib/lib/Module/Generic.pm line 188 >> Module::Generic::new('Module::Generic::Number', 100, >> 'HASH(0x8050c38d0)') called at t/02.num.t line 22 >> >> # Failed test ''Object with locale language string' isa >> 'Module::Generic::Number'' >> # at t/02.num.t line 23. >> # 'Object with locale language string' isn't defined >> Can't call method "precision" on an undefined value at t/02.num.t line >> 24. >> # Looks like your test exited with 2 just after 3. >> t/02.num.t ..... >> Dubious, test returned 2 (wstat 512, 0x200) >> Failed 1/3 subtests >> ...
> Actually, on a closer look, it may fail also on systems which have a French locale. For example on my FreeBSD 12 smoker: > > $ locale -a|grep fr_FR > fr_FR.ISO8859-1 > fr_FR.ISO8859-15 > fr_FR.UTF-8 >
Bug resolved in version 0.12.7