Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Parse-ErrorString-Perl CPAN distribution.

Report information
The Basics
Id: 107693
Status: open
Priority: 0/
Queue: Parse-ErrorString-Perl

People
Owner: Nobody in particular
Requestors: p.lyakhnitsky [...] hotmail.com
Cc:
AdminCc:

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



Subject: Test failure: Use of uninitialized value $obtained_diagnostics
Date: Sat, 10 Oct 2015 17:45:13 -0500
To: "bug-Parse-ErrorString-Perl [...] rt.cpan.org" <bug-parse-errorstring-perl [...] rt.cpan.org>
From: Pavel Lyakhnitsky <p.lyakhnitsky [...] hotmail.com>
Hello! 'cpan Parse::ErrorString::Perl' ends with tests failure on my PC. Please look for details below. Thanks, Pavel Details: Show quoted text
>cpan Parse::ErrorString::Perl
Loading internal null logger. Install Log::Log4perl for logging messages CPAN: CPAN::SQLite loaded ok (v0.204) Database was generated on Sat, 10 Oct 2015 21:22:55 GMT Running install for module 'Parse::ErrorString::Perl' CPAN: Digest::SHA loaded ok (v5.95) CPAN: Compress::Zlib loaded ok (v2.068) Checksum for D:\Strawberry\cpan\sources\authors\id\S\SZ\SZABGAB\Parse-ErrorString-Perl-0.21.tar.gz ok CPAN: Archive::Tar loaded ok (v2.04) CPAN: File::Temp loaded ok (v0.2304) CPAN: YAML::XS loaded ok (v0.59) CPAN: CPAN::Meta::Requirements loaded ok (v2.133) CPAN: Parse::CPAN::Meta loaded ok (v1.4414) CPAN: CPAN::Meta loaded ok (v2.150001) CPAN: Module::CoreList loaded ok (v5.20150520) Configuring S/SZ/SZABGAB/Parse-ErrorString-Perl-0.21.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Parse::ErrorString::Perl Writing MYMETA.yml and MYMETA.json SZABGAB/Parse-ErrorString-Perl-0.21.tar.gz D:\Strawberry\bin\perl.exe Makefile.PL -- OK Running make for S/SZ/SZABGAB/Parse-ErrorString-Perl-0.21.tar.gz cp lib/Parse/ErrorString/Perl/StackItem.pm blib\lib\Parse\ErrorString\Perl\StackItem.pm cp lib/Parse/ErrorString/Perl.pm blib\lib\Parse\ErrorString\Perl.pm cp lib/Parse/ErrorString/Perl/ErrorItem.pm blib\lib\Parse\ErrorString\Perl\ErrorItem.pm "D:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e cp -- bin/check_perldiag blib\script\check_perldiag pl2bat.bat blib\script\check_perldiag SZABGAB/Parse-ErrorString-Perl-0.21.tar.gz D:\Strawberry\c\bin\dmake.exe -- OK Running make test "D:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'in c', 'blib\lib', 'blib\arch')" t/*.t t/01-errors.t ............. ok t/02-diagnostics.t ........ ok t/03-split_diagnostics.t .. ok t/04-perldiag.t ........... Use of uninitialized value $obtained_diagnostics in substitution (s///) at t/04-perldiag.t line 63. t/04-perldiag.t ........... 1/4 # Failed test 'diagnostics' # at t/04-perldiag.t line 64. # +---+-------+---+-----------------------------------------------------------------------------+ # | Ln|Got | Ln|Expected | # +---+-------+---+-----------------------------------------------------------------------------+ # * 1|undef * 1|'(F) You\'ve said "use strict" or "use strict vars", which indicates * # | | * 2|that all variables must either be lexically scoped (using "my" or "state"), * # | | * 3|declared beforehand using "our", or explicitly qualified to say * # | | * 4|which package the global variable is in (using "::").' * # +---+-------+---+-----------------------------------------------------------------------------+ # Failed test 'type' # at t/04-perldiag.t line 65. # got: undef # expected: 'F' # Failed test 'error type' # at t/04-perldiag.t line 66. # got: undef # expected: 'fatal error' # Looks like you failed 3 tests of 4. t/04-perldiag.t ........... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/4 subtests t/05-stacktrace.t ......... ok t/06-short_filename.t ..... ok t/10-check_perldiag.t ..... ok Test Summary Report ------------------- t/04-perldiag.t (Wstat: 768 Tests: 4 Failed: 3) Failed tests: 2-4 Non-zero exit status: 3 Files=7, Tests=90, 5 wallclock secs ( 0.03 usr + 0.20 sys = 0.23 CPU) Result: FAIL Failed 1/7 test programs. 3/90 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' SZABGAB/Parse-ErrorString-Perl-0.21.tar.gz D:\Strawberry\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports SZABGAB/Parse-ErrorString-Perl-0.21.tar.gz Stopping: 'install' failed for 'Parse::ErrorString::Perl'. Perl Version: This is perl 5, version 22, subversion 0 (v5.22.0) built for MSWin32-x64-multi-thread Environment: OS Name Microsoft Windows 7 Professional Version 6.1.7601 Service Pack 1 Build 7601 System Manufacturer Hewlett-Packard System Model HP ProBook 640 G1 System Type x64-based PC Processor Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, 2601 Mhz, 2 Core(s), 4 Logical Processor(s) BIOS Version/Date Hewlett-Packard L78 Ver. 01.05, 4/29/2014 SMBIOS Version 2.7 Total Physical Memory 7.43 GB Available Physical Memory 3.85 GB Total Virtual Memory 14.9 GB Available Virtual Memory 11.4 GB Page File Space 7.43 GB
On 2015-10-10 18:45:24, p.lyakhnitsky@hotmail.com wrote: Show quoted text
> Hello! > > 'cpan Parse::ErrorString::Perl' ends with tests failure on my PC. > Please look for details below. > > Thanks, > Pavel > > Details:
> > cpan Parse::ErrorString::Perl
> Loading internal null logger. Install Log::Log4perl for logging > messages > CPAN: CPAN::SQLite loaded ok (v0.204) > Database was generated on Sat, 10 Oct 2015 21:22:55 GMT > Running install for module 'Parse::ErrorString::Perl' > CPAN: Digest::SHA loaded ok (v5.95) > CPAN: Compress::Zlib loaded ok (v2.068) > Checksum for D:\Strawberry\cpan\sources\authors\id\S\SZ\SZABGAB\Parse- > ErrorString-Perl-0.21.tar.gz ok > CPAN: Archive::Tar loaded ok (v2.04) > CPAN: File::Temp loaded ok (v0.2304) > CPAN: YAML::XS loaded ok (v0.59) > CPAN: CPAN::Meta::Requirements loaded ok (v2.133) > CPAN: Parse::CPAN::Meta loaded ok (v1.4414) > CPAN: CPAN::Meta loaded ok (v2.150001) > CPAN: Module::CoreList loaded ok (v5.20150520) > Configuring S/SZ/SZABGAB/Parse-ErrorString-Perl-0.21.tar.gz with > Makefile.PL > Checking if your kit is complete... > Looks good > Generating a dmake-style Makefile > Writing Makefile for Parse::ErrorString::Perl > Writing MYMETA.yml and MYMETA.json > SZABGAB/Parse-ErrorString-Perl-0.21.tar.gz > D:\Strawberry\bin\perl.exe Makefile.PL -- OK > Running make for S/SZ/SZABGAB/Parse-ErrorString-Perl-0.21.tar.gz > cp lib/Parse/ErrorString/Perl/StackItem.pm > blib\lib\Parse\ErrorString\Perl\StackItem.pm > cp lib/Parse/ErrorString/Perl.pm blib\lib\Parse\ErrorString\Perl.pm > cp lib/Parse/ErrorString/Perl/ErrorItem.pm > blib\lib\Parse\ErrorString\Perl\ErrorItem.pm > "D:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e cp -- > bin/check_perldiag blib\script\check_perldiag > pl2bat.bat blib\script\check_perldiag > SZABGAB/Parse-ErrorString-Perl-0.21.tar.gz > D:\Strawberry\c\bin\dmake.exe -- OK > Running make test > "D:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "- > MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, > 'in > c', 'blib\lib', 'blib\arch')" t/*.t > t/01-errors.t ............. ok > t/02-diagnostics.t ........ ok > t/03-split_diagnostics.t .. ok > t/04-perldiag.t ........... Use of uninitialized value > $obtained_diagnostics in substitution (s///) at t/04-perldiag.t line > 63. > t/04-perldiag.t ........... 1/4 > # Failed test 'diagnostics' > # at t/04-perldiag.t line 64. > # +---+-------+--- > +----------------------------------------------------------------------------- > + > # | Ln|Got | Ln|Expected > | > # +---+-------+--- > +----------------------------------------------------------------------------- > + > # * 1|undef * 1|'(F) You\'ve said "use strict" or "use strict > vars", which indicates * > # | | * 2|that all variables must either be lexically scoped > (using "my" or "state"), * > # | | * 3|declared beforehand using "our", or explicitly > qualified to say * > # | | * 4|which package the global variable is in (using > "::").' * > # +---+-------+--- > +----------------------------------------------------------------------------- > + > # Failed test 'type' > # at t/04-perldiag.t line 65. > # got: undef > # expected: 'F' > # Failed test 'error type' > # at t/04-perldiag.t line 66. > # got: undef > # expected: 'fatal error' > # Looks like you failed 3 tests of 4. > t/04-perldiag.t ........... Dubious, test returned 3 (wstat 768, > 0x300) > Failed 3/4 subtests > t/05-stacktrace.t ......... ok > t/06-short_filename.t ..... ok > t/10-check_perldiag.t ..... ok > Test Summary Report > ------------------- > t/04-perldiag.t (Wstat: 768 Tests: 4 Failed: 3) > Failed tests: 2-4 > Non-zero exit status: 3 > Files=7, Tests=90, 5 wallclock secs ( 0.03 usr + 0.20 sys = 0.23 > CPU) > Result: FAIL > Failed 1/7 test programs. 3/90 subtests failed. > dmake.exe: Error code 255, while making 'test_dynamic' > SZABGAB/Parse-ErrorString-Perl-0.21.tar.gz > D:\Strawberry\c\bin\dmake.exe test -- NOT OK > //hint// to see the cpan-testers results for installing this module, > try: > reports SZABGAB/Parse-ErrorString-Perl-0.21.tar.gz > Stopping: 'install' failed for 'Parse::ErrorString::Perl'. > > Perl Version: > This is perl 5, version 22, subversion 0 (v5.22.0) built for MSWin32- > x64-multi-thread > > Environment: > OS Name Microsoft Windows 7 Professional > Version 6.1.7601 Service Pack 1 Build 7601 > System Manufacturer Hewlett-Packard > System Model HP ProBook 640 G1 > System Type x64-based PC > Processor Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, 2601 Mhz, 2 > Core(s), 4 Logical Processor(s) > BIOS Version/Date Hewlett-Packard L78 Ver. 01.05, 4/29/2014 > SMBIOS Version 2.7 > Total Physical Memory 7.43 GB > Available Physical Memory 3.85 GB > Total Virtual Memory 14.9 GB > Available Virtual Memory 11.4 GB > Page File Space 7.43 GB > > >
This problem was already reported in https://github.com/PadreIDE/Parse-ErrorString-Perl/issues/1 A patch is available there.