On Thu, Aug 23, 2012 at 12:29:00AM -0400, George Greer wrote:

> v5.17.3-68-g502e97e  Configuration (common) -A -Dcc=clang append:ccflags=" 
> -fcatch-undefined-behavior -DPERL_POISON "
> ----------- ---------------------------------------------------------
> O O O O     
> F O O O     -Duseithreads
> | +--------- -DDEBUGGING
> +----------- no debugging
> 
> 
> Locally applied patches:
>     uncommitted-changes
>     SMOKE502e97e076ed47d4a88af1994a7c61990ad48868
> 
> Testsuite was run only with 'harness'
> 
> Failures: (common-args) -A -Dcc=clang append:ccflags=" 
> -fcatch-undefined-behavior -DPERL_POISON "
> [default] -Duseithreads
> ../t/porting/checkcase.t....................................FAILED
>     Non-zero exit status: 2
>     No plan found in TAP output

For which the logs show:

Can't locate Carp.pm in @INC (@INC contains: lib .) at lib/warnings.pm line 538.
porting/checkcase.t ...............................................
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

I believe that this is because File::Find::find() calls warn::warnif() in 
various cases, which tries to lazy-load Carp, which doesn't work when @INC
only has a relative path, and File::Find::find() has changed directory.

I've fixed this in blead by refactoring the test to pass no_chdir to
File::Find::find(). I don't know what the underlying problem it tried to
warn about was, but at least now

a) we stand a chance of finding out
b) we hopefully avoid spurious Fs in smoke reports

Nicholas Clark

Reply via email to