Skip Menu |

This queue is for tickets about the Log-Report CPAN distribution.

Report information
The Basics
Id: 27491
Status: resolved
Priority: 0/
Queue: Log-Report

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

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



Subject: Deep recursion/endless loop in test
MARKOV/Log-Report-0.05.tar.gz /usr/bin/make -- OK Running make test make[1]: Entering directory `/home/sand/.cpan/build/Log-Report-0.05-JFhZuE' PERL_DL_NONLAZY=1 /home/src/perl/repoperls/installed-perls/perl/pEhpjSI/perl-5.8.0@31345/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00use..........ok t/01locale....... # Failed test 'defined return' # at t/01locale.t line 19. # Failed test at t/01locale.t line 20. # got: undef # expected: 'en_GB' # Failed test 'defined return' # at t/01locale.t line 27. # Failed test at t/01locale.t line 28. # got: undef # expected: 'nl_NL' # Failed test at t/01locale.t line 30. # got: 'C' # expected: 'nl_NL' # Failed test at t/01locale.t line 34. # 'No such file or directory' # ne # 'No such file or directory' # Looks like you failed 6 tests of 10. dubious Test returned status 6 (wstat 1536, 0x600) DIED. FAILED tests 2-3, 5-7, 9 Failed 6/10 tests, 40.00% okay t/05util.........ok t/10interp.......ok t/11concat.......ok t/20pot_read.....ok t/21pot_modif....ok t/22compact......ok t/30index........skipped all skipped: cannot find sample translations, no problem t/31stack........ok t/40ppi..........ok t/50file.........Deep recursion on subroutine "Log::Report::report" at lib/Log/Report.pm line 217. Deep recursion on subroutine "Log::Report::Dispatcher::File::log" at lib/Log/Report.pm line 116. Deep recursion on subroutine "Log::Report::Dispatcher::translate" at lib/Log/Report/Dispatcher/File.pm line 58. Deep recursion on subroutine "Log::Report::Message::toString" at lib/Log/Report/Dispatcher.pm line 139. Deep recursion on subroutine "Log::Report::Translator::POT::translate" at lib/Log/Report/Message.pm line 49. Deep recursion on subroutine "Log::Report::Translator::POT::load" at lib/Log/Report/Translator/POT.pm line 29. Deep recursion on subroutine "Log::Report::Lexicon::Index::find" at lib/Log/Report/Translator/POT.pm line 43. Deep recursion on subroutine "Log::Report::error" at lib/Log/Report/Lexicon/Index.pm line 71. Caught SIGINT, trying to continue
I have tried to get this right a few releases, but apparently without much luck. My Perl is compiled with setlocale(), and apparently yours isn't. Could you run the script t/54try.t for me with this little addition: lib/Log/Report/Translator/POT.pm after line 62: warn "D=$domain, L=$locale\n"; use Carp; $locale or confess; then PERL5LIB=lib t/54try.t (by the way: thanks for your BBC efforts!)
I have tried to get this right a few releases, but apparently without much luck. My Perl is compiled with setlocale(), and apparently yours isn't. Could you run the script t/54try.t for me with this little addition: lib/Log/Report/Translator/POT.pm after line 62: warn "D=$domain, L=$locale\n"; use Carp; $locale or confess; then PERL5LIB=lib t/54try.t (by the way: thanks for your BBC efforts!)
This problem has been fixed, which doesn;t mean that all portability issues are over, however. Thanks Andreas