Skip Menu |

This queue is for tickets about the Time-Duration-Locale CPAN distribution.

Report information
The Basics
Id: 118556
Status: resolved
Priority: 0/
Queue: Time-Duration-Locale

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

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



Subject: Warnings with bleadperl
With perl 5.25.6 I see the following test suite failures: # Saw 1 warning(s): # # Trace begun at t/MyTestHelpers.pm line 55 # MyTestHelpers::nowarnings_handler('Name "Time::Duration::EXPORT_TAGS" used only once: possible typo at /home/cpansand/.cpan/build/2016103006/Time-Duration-Locale-10-0/blib/lib/Time/Duration/Filter.pm line 54.^J') called at /home/cpansand/.cpan/build/2016103006/Time-Duration-Locale-10-0/blib/lib/Time/Duration/Filter.pm line 54 # # Exit code 1 for warnings # Looks like your test exited with 1 just after 7. t/en_PIGLATIN-noimport.t ... Dubious, test returned 1 (wstat 256, 0x100) All 7 subtests passed Name "Time::Duration::EXPORT_TAGS" used only once: possible typo at /home/cpansand/.cpan/build/2016103006/Time-Duration-Locale-10-0/blib/lib/Time/Duration/Filter.pm line 54. # Saw 1 warning(s): # # Trace begun at t/MyTestHelpers.pm line 55 # MyTestHelpers::nowarnings_handler('Name "Time::Duration::EXPORT_TAGS" used only once: possible typo at /home/cpansand/.cpan/build/2016103006/Time-Duration-Locale-10-0/blib/lib/Time/Duration/Filter.pm line 54.^J') called at /home/cpansand/.cpan/build/2016103006/Time-Duration-Locale-10-0/blib/lib/Time/Duration/Filter.pm line 54 # # Exit code 1 for warnings # Looks like your test exited with 1 just after 33. t/en_PIGLATIN.t ............ Dubious, test returned 1 (wstat 256, 0x100) All 33 subtests passed
On 2016-10-30 02:56:37, SREZIC wrote: Show quoted text
> With perl 5.25.6 I see the following test suite failures: > > # Saw 1 warning(s): > # > # Trace begun at t/MyTestHelpers.pm line 55 > # MyTestHelpers::nowarnings_handler('Name > "Time::Duration::EXPORT_TAGS" used only once: possible typo at > /home/cpansand/.cpan/build/2016103006/Time-Duration-Locale-10- > 0/blib/lib/Time/Duration/Filter.pm line 54.^J') called at > /home/cpansand/.cpan/build/2016103006/Time-Duration-Locale-10- > 0/blib/lib/Time/Duration/Filter.pm line 54 > # > # Exit code 1 for warnings > # Looks like your test exited with 1 just after 7. > t/en_PIGLATIN-noimport.t ... > Dubious, test returned 1 (wstat 256, 0x100) > All 7 subtests passed > Name "Time::Duration::EXPORT_TAGS" used only once: possible typo at > /home/cpansand/.cpan/build/2016103006/Time-Duration-Locale-10- > 0/blib/lib/Time/Duration/Filter.pm line 54. > # Saw 1 warning(s): > # > # Trace begun at t/MyTestHelpers.pm line 55 > # MyTestHelpers::nowarnings_handler('Name > "Time::Duration::EXPORT_TAGS" used only once: possible typo at > /home/cpansand/.cpan/build/2016103006/Time-Duration-Locale-10- > 0/blib/lib/Time/Duration/Filter.pm line 54.^J') called at > /home/cpansand/.cpan/build/2016103006/Time-Duration-Locale-10- > 0/blib/lib/Time/Duration/Filter.pm line 54 > # > # Exit code 1 for warnings > # Looks like your test exited with 1 just after 33. > t/en_PIGLATIN.t ............ > Dubious, test returned 1 (wstat 256, 0x100) > All 33 subtests passed
Maybe this is related to https://rt.perl.org/Ticket/Display.html?id=129981 and might be fixed in the next bleadperl release.
Subject: Re: [rt.cpan.org #118556] Warnings with bleadperl
Date: Sun, 30 Oct 2016 21:35:10 +1100
To: "Slaven_Rezic via RT" <bug-Time-Duration-Locale [...] rt.cpan.org>
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
"Slaven_Rezic via RT" <bug-Time-Duration-Locale@rt.cpan.org> writes: Show quoted text
> > # MyTestHelpers::nowarnings_handler('Name "Time::Duration::EXPORT_TAGS" used only once > ...
Thanks, some slackness in my code copying package variables I think. I made a change in version 11 which could help, though I don't have the relevant perl version to try as such.
On 2016-10-30 06:39:30, user42_kevin@yahoo.com.au wrote: Show quoted text
> "Slaven_Rezic via RT" <bug-Time-Duration-Locale@rt.cpan.org> writes:
> > > > # MyTestHelpers::nowarnings_handler('Name > > "Time::Duration::EXPORT_TAGS" used only once > > ...
> > Thanks, some slackness in my code copying package variables I think. > I made a change in version 11 which could help, though I don't have > the > relevant perl version to try as such.
No, as I wrote, it's probably a bleadperl problem, and is probably fixed in 5.25.7. I think the only thing you can do is to disable the warning check for perl 5.25.6.
Subject: Re: [rt.cpan.org #118556] Warnings with bleadperl
Date: Wed, 02 Nov 2016 18:02:40 +1100
To: "Slaven_Rezic via RT" <bug-Time-Duration-Locale [...] rt.cpan.org>
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
"Slaven_Rezic via RT" <bug-Time-Duration-Locale@rt.cpan.org> writes: Show quoted text
> > No, as I wrote, it's probably a bleadperl problem, and is probably > fixed in 5.25.7. I think the only thing you can do is to disable the > warning check for perl 5.25.6.
Ah, I never knew EXPORTs were special. I suppose that's why I didn't have a warning before. I wanted to copy the package variable if it exists, or not if not, so I may leave what I changed to. -- I once met a man so superstitious that when stuck in a lift with 13 strippers about to start rehersals he pushed the alarm button!