Skip Menu |

This queue is for tickets about the Math-Currency CPAN distribution.

Report information
The Basics
Id: 115372
Status: resolved
Priority: 0/
Queue: Math-Currency

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

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



Subject: Unescaped left brace in regex is deprecated (0.48)
t/006_defaults.t fails: # Failed test 'Default currency changed' # at t/006_defaults.t line 14. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(\d{ <-- HERE })(?=\d)(?!\d*\.)/ at /tmpfs/.cpan-build-cpansand/2016061615/Math-Currency-0.48-9fcN5u/blib/lib/Math/Currency.pm line 205. # Looks like you failed 1 test of 6. t/006_defaults.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests
On 2016-06-16 13:59:19, SREZIC wrote: Show quoted text
> t/006_defaults.t fails: > > # Failed test 'Default currency changed' > # at t/006_defaults.t line 14. > Unescaped left brace in regex is deprecated, passed through in regex; > marked by <-- HERE in m/(\d{ <-- HERE })(?=\d)(?!\d*\.)/ at > /tmpfs/.cpan-build-cpansand/2016061615/Math-Currency-0.48- > 9fcN5u/blib/lib/Math/Currency.pm line 205. > # Looks like you failed 1 test of 6. > t/006_defaults.t .... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/6 subtests
Maybe also interesting: it fails only on my linux smokers, and passes on the freebsd ones.
On Thu Jun 16 14:00:33 2016, SREZIC wrote: Show quoted text
> > # Failed test 'Default currency changed' > > # at t/006_defaults.t line 14. > > Unescaped left brace in regex is deprecated, passed through in regex; > > marked by <-- HERE in m/(\d{ <-- HERE })(?=\d)(?!\d*\.)/ at > > /tmpfs/.cpan-build-cpansand/2016061615/Math-Currency-0.48- > > 9fcN5u/blib/lib/Math/Currency.pm line 205. > > # Looks like you failed 1 test of 6. > > t/006_defaults.t .... > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/6 subtests
Passes for me on Centos 7, perl from perlbrew 5.20.1. Can you provide more info about your enviornment? What distro, version etc? -- Regards, Michael Schout
On 2016-06-16 14:27:52, MSCHOUT wrote: Show quoted text
> On Thu Jun 16 14:00:33 2016, SREZIC wrote: >
> > > # Failed test 'Default currency changed' > > > # at t/006_defaults.t line 14. > > > Unescaped left brace in regex is deprecated, passed through in regex; > > > marked by <-- HERE in m/(\d{ <-- HERE })(?=\d)(?!\d*\.)/ at > > > /tmpfs/.cpan-build-cpansand/2016061615/Math-Currency-0.48- > > > 9fcN5u/blib/lib/Math/Currency.pm line 205. > > > # Looks like you failed 1 test of 6. > > > t/006_defaults.t .... > > > Dubious, test returned 1 (wstat 256, 0x100) > > > Failed 1/6 subtests
> > Passes for me on Centos 7, perl from perlbrew 5.20.1. > > Can you provide more info about your enviornment? What distro, version etc?
My smokers run on debian wheezy + jessie. It fails also on Andreas Koenig's smoker (see http://fast-matrix.cpantesters.org/?dist=Math-Currency;os=linux;reports=1 ) --- AFAIK he is using debian sid. Also failing on Nigel Horne's smoker --- don't know what he's using.
On 2016-06-16 16:54:55, SREZIC wrote: Show quoted text
> On 2016-06-16 14:27:52, MSCHOUT wrote:
> > On Thu Jun 16 14:00:33 2016, SREZIC wrote: > >
> > > > # Failed test 'Default currency changed' > > > > # at t/006_defaults.t line 14. > > > > Unescaped left brace in regex is deprecated, passed through in > > > > regex; > > > > marked by <-- HERE in m/(\d{ <-- HERE })(?=\d)(?!\d*\.)/ at > > > > /tmpfs/.cpan-build-cpansand/2016061615/Math-Currency-0.48- > > > > 9fcN5u/blib/lib/Math/Currency.pm line 205. > > > > # Looks like you failed 1 test of 6. > > > > t/006_defaults.t .... > > > > Dubious, test returned 1 (wstat 256, 0x100) > > > > Failed 1/6 subtests
> > > > Passes for me on Centos 7, perl from perlbrew 5.20.1. > > > > Can you provide more info about your enviornment? What distro, > > version etc?
> > My smokers run on debian wheezy + jessie. It fails also on Andreas > Koenig's smoker (see http://fast-matrix.cpantesters.org/?dist=Math- > Currency;os=linux;reports=1 ) --- AFAIK he is using debian sid. Also > failing on Nigel Horne's smoker --- don't know what he's using.
Could it be that the lack of an en_GB locale is causing the problem here? On my debian system: $ locale -a C C.UTF-8 POSIX de_DE de_DE.iso88591 de_DE.utf8 deutsch en_US.utf8 fr_FR.utf8 german ru_RU.utf8
Subject: Re: [rt.cpan.org #115372] Unescaped left brace in regex is deprecated (0.48)
Date: Fri, 17 Jun 2016 19:08:26 -0500
To: bug-Math-Currency [...] rt.cpan.org
From: Michael Schout <mschout [...] gkg.net>
On 6/16/16 4:14 PM, Slaven_Rezic via RT wrote: Show quoted text
> Could it be that the lack of an en_GB locale is causing the problem > here? On my debian system:
Yeah, I think that would probably be it. I'll add a "skip all" plan if that locale is not available and get something released tonight. Thanks. Regards, Michael Schout
Subject: Re: [rt.cpan.org #115372] Unescaped left brace in regex is deprecated (0.48)
Date: Mon, 20 Jun 2016 18:57:18 -0500
To: bug-Math-Currency [...] rt.cpan.org
From: Michael Schout <mschout [...] gkg.net>
On 6/16/16 4:14 PM, Slaven_Rezic via RT wrote: Show quoted text
> Could it be that the lack of an en_GB locale is causing the problem > here? On my debian system:
Just wanted to follow up that this was indeed the problem. I have patched the tests in my repo, but I'm fixing some other localization bugs before releasing a new version. Regards, Michael Schout
Fixed in v0.49, which has just been uploaded to CPAN. -- Regards, Michael Schout