On Sun, 13 Jan 2008, James Keenan via RT wrote:

> On Mon Sep 03 12:45:03 2007, doughera wrote:
> > 
> > Well grepping my output log file shows 18 lines, so it's more than just 
> > t/distro_file_metadata.t:
> > 
> >     $ egrep '(svn|svk|git): not found' build.log | wc
> >     18
> 
> Andy D:  When I invoked the same command on my most recent log of 'make
> test', I got only references to Subversion and those only in
> t/distro/file_metadata.t.  Am I looking at the same thing you are?
> 

Apparently not.  I am looking at the case where I have neither svn nor svk 
nor git available in $PATH.

During the original Configure.pl run, I see:

    Determining whether (exuberant) ctags is 
installed......................no.sh: svn: not found
    sh: git: not found
    sh: svk: not found

During the build, I see:

    perl5.10 -Ilib tools/build/revision_c.pl > src/revision.c
    sh: svn: not found
    sh: git: not found
    sh: svk: not found

During testing, I see:

    t/configure/018-revision.....................sh: svn: not found
    sh: git: not found
    sh: svk: not found
    ok
            3/7 skipped: various reasons

    t/configure/036-config_steps.................sh: svn: not found
    sh: git: not found
    sh: svk: not found
    ok

    t/steps/auto_revision-01.....................sh: svn: not found
    sh: git: not found
    sh: svk: not found
    ok

    t/postconfigure/04-revision..................sh: svn: not found
    sh: git: not found
    sh: svk: not found
    ok


Here are the detailed outputs of each (with extraneous ok's trimmed)

    t/configure/018-revision....1..7
    sh: svn: not found
    sh: git: not found
    sh: svk: not found
    ok 1 - use Cwd;
    ok 2 - use File::Copy;
    ok 3 - use File::Temp;
    [ . . .]

    t/configure/036-config_steps....1..82
    ok 1 - require 'config/gen/platform.pm';
    ok 2 - require 'config/gen/makefiles.pm';
    ok 3 - require 'config/gen/config_pm.pm';
    ok 4 - require 'config/gen/parrot_include.pm';
    ok 5 - require 'config/gen/core_pmcs.pm';
    ok 6 - require 'config/gen/languages.pm';
    ok 7 - require 'config/gen/icu.pm';
    ok 8 - require 'config/gen/config_h.pm';
    ok 9 - require 'config/auto/snprintf.pm';
    ok 10 - require 'config/auto/attributes.pm';
    ok 11 - require 'config/auto/inline.pm';
    ok 12 - require 'config/auto/pack.pm';
    ok 13 - require 'config/auto/gcc.pm';
    ok 14 - require 'config/auto/signal.pm';
    ok 15 - require 'config/auto/alignptrs.pm';
    ok 16 - require 'config/auto/warnings.pm';
    ok 17 - require 'config/auto/cpu.pm';
    ok 18 - require 'config/auto/gmp.pm';
    ok 19 - require 'config/auto/msvc.pm';
    sh: svn: not found
    sh: git: not found
    sh: svk: not found
    ok 20 - require 'config/auto/revision.pm';
    [ . . . ]

    t/steps/auto_revision-01....1..20
    ok 1 - use config::init::defaults;
    sh: svn: not found
    sh: git: not found
    sh: svk: not found
    ok 2 - use config::auto::revision;
    [ . . . ]

    t/distro/file_metadata....sh: svn: not found
    sh: git: not found
    sh: svk: not found
    Can't exec "svk": No such file or directory at t/distro/file_metadata.t 
line 225.
    1..0 # Skip not a working copy

In most cases, it appears the noise is coming from __get_revision() in
Parrot::Revision.  When the command to be executed can not be found,
I get the 'not found' message.  (Whether this error message gets trapped
by the "2>/dev/null" in the qx// operator is system-dependent.)

Why __get_revision() gets run over and over again, I don't know.
I'd have thought that once Configure.pl figured it out the first time,
it wouldn't have to try it over and over again.

This is mostly a noisy nuisance.  It doesn't seem to cause any failures
anywhere.

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to