develooper Front page | perl.perl5.porters | Postings from December 2013

Re: [perl #120867] 5.18.0 fails build due diff format err msg

Thread Previous
From:
Dave Mitchell
Date:
December 26, 2013 18:38
Subject:
Re: [perl #120867] 5.18.0 fails build due diff format err msg
Message ID:
20131226182947.GR2490@iabyn.com
On Tue, Dec 24, 2013 at 06:08:29PM -0800, Linda Walsh wrote:
> Tried to rebuild 5.18.0 failed with:
> 
> Failed 1 test out of 2329, 99.96% okay.
>   ../lib/perl5db.t
> 
> 
> Seems different messages from sub-tools can create false-positive failures:
> 
> lib/perl5db ................................................... Cannot do `initialize' in Term::ReadLine::Gnu at ../lib/perl5db.pl line 6826.
>  at /usr/lib/perl5/site_perl/5.18.0/x86_64-linux-thread-multi/Term/ReadLine/Gnu.pm line 716.
>   Term::ReadLine::Gnu::AU::AUTOLOAD('Term::ReadLine=HASH(0x2cb1498)') called at /usr/lib/perl5/site_perl/5.18.0/x86_64-linux-thread-multi/Term/ReadLine/Gnu.pm line 240
>   Term::ReadLine::Gnu::new('Term::ReadLine', 'perldb', 'GLOB(0x29117c0)', 'GLOB(0x28b07e8)') called at ../lib/perl5db.pl line 6826
>   DB::setterm() called at ../lib/perl5db.pl line 1822
>   DB::_DB__read_next_cmd(undef) called at ../lib/perl5db.pl line 2746
>   DB::DB called at ../lib/perl5db/t/symbol-table-bug line 8
> Cannot do `initialize' in Term::ReadLine::Gnu at ../lib/perl5db.pl line 6826.
> END failed--call queue aborted at ../lib/perl5db/t/symbol-table-bug line 100.
>  at ../lib/perl5db/t/symbol-table-bug line 100.
> # Failed test 10 - there are no undefined values in the symbol table at ../lib/perl5db.t line 441
> #      got ''
> # expected /(?^:Undefined symbols 0)/
> FAILED at test 10
> 
> 
> ---
> I.e. maybe check if the return status is 0? (on "theory" that if there
> are no undefined symbols, you would get a "true (0)" exit status and
> false (!=0) otherwise?

It isn't a subtool, but rather the lib/perl5db.t test file for one of its
tests is executing a short perl script called
"lib/perl5db/t/symbol-table-bug" under the debugger, and that script as
its last action does:

    print 'Undefined symbols ', scalar(@undef_symbols) . "\n";

so if perl is seeing no output from the script at all, it implies something
is seriously wrong, and merely checking for a non-zero exit value isn't
going to make any difference.

However, I can't reproduce this, neither under 5.18.0 nor blead.
I've tried installing perl, then installing Term::Readline::Gnu, then
running the perl test script again.

In the absence of anything reproducible, I can't proceed any further.

-- 
"But Sidley Park is already a picture, and a most amiable picture too.
The slopes are green and gentle. The trees are companionably grouped at
intervals that show them to advantage. The rill is a serpentine ribbon
unwound from the lake peaceably contained by meadows on which the right
amount of sheep are tastefully arranged." -- Lady Croom, "Arcadia"

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About