You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by allan <la...@inet.uni2.dk> on 2001/08/05 17:19:03 UTC

src.t failure

has anyone got a clue what to do about the error i get at modules/src below?

<!--mod_perl 1.26, perl 5.6.1, apache_1.3.20, mac os X -->

thanks
allan


modules/actions.....ok
modules/cgi.........ok
modules/constants...ok
modules/cookie......skipped test on this platform
modules/file........ok
modules/httpdconf...ok
modules/include.....ok
modules/log.........ok
modules/module......skipped test on this platform
modules/perlrun.....ok
modules/psections...skipped test on this platform
modules/request.....skipped test on this platform
modules/src.........Use of uninitialized value in concatenation (.) or
string at modules/src.t line 27.
modules/src.........FAILED tests 3-5 Failed 3/6 tests, 50.00% okay
modules/ssi.........ok
modules/stage.......skipped test on this platform
modules/status......ok
modules/symbol......skipped test on this platform
modules/uri.........ok
modules/util........ok
internal/api........ok
internal/auth.......ok
internal/croak......ok
internal/dirmagic...ok
internal/error......ok
internal/headers....ok
internal/hooks......ok
internal/http-get...ok
internal/http-post..ok
internal/proxy......ok
internal/redirect...ok
internal/rwrite.....ok
internal/stacked....ok
internal/table......ok
internal/taint......ok
Failed Test   Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------
modules/src.t                  6    3  50.00%  3-5
6 tests skipped.
httpd terminated
Failed 1/34 test scripts, 97.06% okay. 3/383 subtests failed, 99.22% okay.

Re: src.t failure

Posted by Stas Bekman <st...@stason.org>.
On Sun, 5 Aug 2001, allan wrote:

> > Stas Bekman wrote:
> > http://perl.apache.org/guide/install.html#Manual_Testing
> > please also provide the output from t/logs/error_log
>
> ok then:
>
> with TEST_VERBOSE=1:
>
> modules/src.........Use of uninitialized value in concatenation (.) or
> string at modules/src.t line 1.
> 1..6
> ok 1
> dir=../src
> ok 2
> main=
> not ok 3
> module_magic_number = 0
> not ok 4
> httpd_version =
> not ok 5
> -I../src -I../src/modules/perl
> ok 6

looks like your Apache source vars get lots after the compilation. After
all you did get to compile it. Seems to me like some peculiar thing that
happens only on osx. I'll let folks who have osx around to chime in.

These are the three tests that fail:

print "main=", $src->main, "\n";
test ++$i, -e join("/", $src->main, "httpd.h");

my $mmn = $src->module_magic_number;
print "module_magic_number = $mmn\n";
test ++$i, $mmn;

my $v = $src->httpd_version;
print "httpd_version = $v\n";
test ++$i, $v;


_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:stas@stason.org   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



Re: src.t failure

Posted by allan <la...@inet.uni2.dk>.
> Stas Bekman wrote:
> http://perl.apache.org/guide/install.html#Manual_Testing
> please also provide the output from t/logs/error_log

ok then:

with TEST_VERBOSE=1:

modules/src.........Use of uninitialized value in concatenation (.) or
string at modules/src.t line 1.
1..6
ok 1
dir=../src
ok 2
main=
not ok 3
module_magic_number = 0
not ok 4
httpd_version = 
not ok 5
-I../src -I../src/modules/perl
ok 6



t/logs/error_log:

[Sun Aug  5 18:33:00 2001] [warn] pid file
/source/apache_1.3.20/mod_perl-1.26/t/logs/httpd.pid overwritten --
Unclean shutdown of previous Apache run?
[notice] Destruction->DESTROY called for $global_object
[Sun Aug  5 18:33:03 2001] [warn] [notice] child_init for process 666,
report any problems to [no address given]

[Sun Aug  5 18:33:18 2001] [warn] [client 127.0.0.1] log __ANON__ OK
Use of uninitialized value in subroutine entry at
/source/apache_1.3.20/mod_perl-1.26/t/net/perl/api.pl line 222,
<fh00001b> line 1.
*** The following [error] is expected, no cause for alarm ***
[Sun Aug  5 18:33:39 2001] [error] Missing right curly or square bracket
at /source/apache_1.3.20/mod_perl-1.26/t/docs/badsyntax.pl line 9, at
end of line
syntax error at /source/apache_1.3.20/mod_perl-1.26/t/docs/badsyntax.pl
line 9, at EOF
Compilation failed in require at
/source/apache_1.3.20/mod_perl-1.26/t//docs/startup.pl line 251,
<fh00001b> line 1.

*** The following [error] is expected, no cause for alarm ***
[Sun Aug  5 18:33:39 2001] [error] Apache::Death at PerlHandler
subroutine `Apache::Death::handler' line 1

*** The following [error] is expected, no cause for alarm ***
[Sun Aug  5 18:33:39 2001] [error] Missing right curly or square bracket
at /source/apache_1.3.20/mod_perl-1.26/t/docs/badsyntax.pl line 9, at
end of line
syntax error at /source/apache_1.3.20/mod_perl-1.26/t/docs/badsyntax.pl
line 9, at EOF
Compilation failed in require at
/source/apache_1.3.20/mod_perl-1.26/t//docs/startup.pl line 251,
<fh00001b> line 1.

*** The following [error] is expected, no cause for alarm ***
[Sun Aug  5 18:33:39 2001] [error] Apache::Death at PerlHandler
subroutine `Apache::Death::handler' line 1

[notice] child process 666 terminating
[notice] push'd PerlChildExitHandler called, pid=666
[notice] push'd PerlChildExitHandler called, pid=666
[notice] END block called for startup.pl
[notice] Destruction->DESTROY called for $global_object

__


> On Sun, 5 Aug 2001, allan wrote:
> 
> > has anyone got a clue what to do about the error i get at modules/src below?
> >
> > <!--mod_perl 1.26, perl 5.6.1, apache_1.3.20, mac os X --> 
> >
> > thanks
> > allan
> >
> >
> > modules/actions.....ok
> > modules/cgi.........ok
> > modules/constants...ok
> > modules/cookie......skipped test on this platform
> > modules/file........ok
> > modules/httpdconf...ok
> > modules/include.....ok
> > modules/log.........ok
> > modules/module......skipped test on this platform
> > modules/perlrun.....ok
> > modules/psections...skipped test on this platform
> > modules/request.....skipped test on this platform
> > modules/src.........Use of uninitialized value in concatenation (.) or
> > string at modules/src.t line 27.
> > modules/src.........FAILED tests 3-5 Failed 3/6 tests, 50.00% okay
> > modules/ssi.........ok
> > modules/stage.......skipped test on this platform
> > modules/status......ok
> > modules/symbol......skipped test on this platform
> > modules/uri.........ok
> > modules/util........ok
> > internal/api........ok
> > internal/auth.......ok
> > internal/croak......ok
> > internal/dirmagic...ok
> > internal/error......ok
> > internal/headers....ok
> > internal/hooks......ok
> > internal/http-get...ok
> > internal/http-post..ok
> > internal/proxy......ok
> > internal/redirect...ok
> > internal/rwrite.....ok
> > internal/stacked....ok
> > internal/table......ok
> > internal/taint......ok
> > Failed Test   Status Wstat Total Fail  Failed  List of Failed
> > --------------------------------------------------------------------------------
> > modules/src.t                  6    3  50.00%  3-5
> > 6 tests skipped.
> > httpd terminated
> > Failed 1/34 test scripts, 97.06% okay. 3/383 subtests failed, 99.22% okay.
> >
> 
> _____________________________________________________________________
> Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
> http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
> mailto:stas@stason.org   http://apachetoday.com http://eXtropia.com/
> http://singlesheaven.com http://perl.apache.org http://perlmonth.com/

Re: src.t failure

Posted by Stas Bekman <st...@stason.org>.
On Sun, 5 Aug 2001, allan wrote:

> has anyone got a clue what to do about the error i get at modules/src below?
>
> <!--mod_perl 1.26, perl 5.6.1, apache_1.3.20, mac os X -->

http://perl.apache.org/guide/install.html#Manual_Testing
please also provide the output from t/logs/error_log

>
> thanks
> allan
>
>
> modules/actions.....ok
> modules/cgi.........ok
> modules/constants...ok
> modules/cookie......skipped test on this platform
> modules/file........ok
> modules/httpdconf...ok
> modules/include.....ok
> modules/log.........ok
> modules/module......skipped test on this platform
> modules/perlrun.....ok
> modules/psections...skipped test on this platform
> modules/request.....skipped test on this platform
> modules/src.........Use of uninitialized value in concatenation (.) or
> string at modules/src.t line 27.
> modules/src.........FAILED tests 3-5 Failed 3/6 tests, 50.00% okay
> modules/ssi.........ok
> modules/stage.......skipped test on this platform
> modules/status......ok
> modules/symbol......skipped test on this platform
> modules/uri.........ok
> modules/util........ok
> internal/api........ok
> internal/auth.......ok
> internal/croak......ok
> internal/dirmagic...ok
> internal/error......ok
> internal/headers....ok
> internal/hooks......ok
> internal/http-get...ok
> internal/http-post..ok
> internal/proxy......ok
> internal/redirect...ok
> internal/rwrite.....ok
> internal/stacked....ok
> internal/table......ok
> internal/taint......ok
> Failed Test   Status Wstat Total Fail  Failed  List of Failed
> --------------------------------------------------------------------------------
> modules/src.t                  6    3  50.00%  3-5
> 6 tests skipped.
> httpd terminated
> Failed 1/34 test scripts, 97.06% okay. 3/383 subtests failed, 99.22% okay.
>



_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:stas@stason.org   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/