Skip Menu |

This queue is for tickets about the Net-DRI CPAN distribution.

Report information
The Basics
Id: 120082
Status: stalled
Priority: 0/
Queue: Net-DRI

People
Owner: patrick+cpan [...] patoche.org
Requestors: jkeenan [...] cpan.org
Cc: ANDK [...] cpan.org
SREZIC [...] cpan.org
AdminCc:

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



CC: SREZIC [...] cpan.org, ANDK [...] cpan.org
Subject: Unescaped left brace in regex is illegal here in regex: test failures in blead perl
The test suite for Net-DRI is experiencing multiple failures in perl-5.25.9 with the error cited in the subject. Here is an excerpt from an attempt to test and install this distribution via 'cpanm': ##### 477511-# Failed test 'use Net::DRI::Data::Contact::OpenSRS;' 477512-# at t/001load_mandatory.t line 102. 477513-# Tried to use 'Net::DRI::Data::Contact::OpenSRS'. 477514:# Error: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^\+[0-9]{1,3}\.[0-9]{1,12}(?:x\d{ <-- HERE 1.4})?$/ at /home/jkeenan/.cpanm/work/1486091269.3511/Net-DRI-0.96/blib/lib/Net/DRI/Data/Contact/OpenSRS.pm line 97. 477515-# Compilation failed in require at t/001load_mandatory.t line 102. 477516-# BEGIN failed--compilation aborted at t/001load_mandatory.t line 102. 477517- 477518-# Failed test 'use Net::DRI::Protocol::OpenSRS::XCP;' 477519-# at t/001load_mandatory.t line 311. 477520-# Tried to use 'Net::DRI::Protocol::OpenSRS::XCP'. 477521-# Error: Attempt to reload Net/DRI/Data/Contact/OpenSRS.pm aborted. 477522-# Compilation failed in require at /home/jkeenan/.cpanm/work/1486091269.3511/Net-DRI-0.96/blib/lib/Net/DRI/Protocol/OpenSRS/XCP.pm line 26. 477523-# BEGIN failed--compilation aborted at /home/jkeenan/.cpanm/work/1486091269.3511/Net-DRI-0.96/blib/lib/Net/DRI/Protocol/OpenSRS/XCP.pm line 26. 477524-# Compilation failed in require at t/001load_mandatory.t line 311. 477525-# BEGIN failed--compilation aborted at t/001load_mandatory.t line 311. 477526-# Looks like you failed 2 tests of 320. 477527-t/001load_mandatory.t ........... 477528-Dubious, test returned 2 (wstat 512, 0x200) 477529-Failed 2/320 subtests 477530-t/001load_optional.t ............ ok 477531- 477532-# Failed test 'POD test for blib/lib/Net/DRI/Logging/Syslog.pm' 477533-# at /home/jkeenan/testing/v5.25.9/lib/perl5/site_perl/5.25.9/Test/Pod.pm line 187. ##### Thank you very much. Jim Keenan
Hello Jim, Le Ven 03 Fév 2017 10:55:49, JKEENAN a écrit : Show quoted text
> The test suite for Net-DRI is experiencing multiple failures in perl- > 5.25.9 with the error cited in the subject. > > Here is an excerpt from an attempt to test and install this > distribution via 'cpanm':
Thanks for the bugreport. It is indeed a bug in Net::DRI 0.96 but you should really not use that version. Please install the latest one : 0.96_09 I plan to do a 0.97 or even 1.00 some day but I do not know when. I know the current situation is not ideal but the latest "stable" version is so old. But "development" versions work better in fact! In the meantime I believe your specific bug has been fixed in 0.96_06 Sorry for the trouble.
RT-Send-CC: ANDK [...] cpan.org, SREZIC [...] cpan.org
On Fri Feb 03 11:53:58 2017, PMEVZEK wrote: Show quoted text
> Hello Jim, > > Le Ven 03 Fév 2017 10:55:49, JKEENAN a écrit :
> > The test suite for Net-DRI is experiencing multiple failures in perl- > > 5.25.9 with the error cited in the subject. > > > > Here is an excerpt from an attempt to test and install this > > distribution via 'cpanm':
> > Thanks for the bugreport. > It is indeed a bug in Net::DRI 0.96 but you should really not use that > version. > Please install the latest one : 0.96_09 > I plan to do a 0.97 or even 1.00 some day but I do not know when. > I know the current situation is not ideal but the latest "stable" > version is so old. But "development" versions work better in fact! > > In the meantime I believe your specific bug has been fixed in 0.96_06 > > > Sorry for the trouble.
Thanks for your quick response. I was not actually looking to install Net-DRI for production use. I was testing a wide swath of CPAN distributions for the presence of that particular test failure. The automated installation tool I used -- cpanm -- by default installs distribution versions without an underscore in their version numbers. That is, it prefers "released" versions to "development" versions. I believe that other installation tools such as 'cpan' work in the same way. Hence, anyone who tries to install Net-DRI in an automated way -- which is probably most people -- will experience a test failure which prevents installation under the upcoming perl-5.26.0. So I strongly urge you to do a CPAN release that incorporates corrections. Thank you very much. James E Keenan