I have checked t/ directory and there is only occurence of
TestModperl__server_rec_Key_set_in_Base variable in only two files
(which is OK, I presume):
[quote grep TestModperl__server_rec_Key_set_in_Base t/*/*]
t/conf/apache_test_config.pm: 'PerlSetVar
TestModperl__server_rec_Key_set_in_Base 1_SetValue',
t/conf/apache_test_config.pm: 'PerlAddVar
TestModperl__server_rec_Key_set_in_Base 2_AddValue 3_AddValue',
t/conf/apache_test_config.pm: PerlSetVar TestModperl__server_rec_Key_set_in_Base
SubSecValue
t/conf/httpd.conf:PerlSetVar TestModperl__server_rec_Key_set_in_Base 1_SetValue
t/conf/httpd.conf:PerlAddVar TestModperl__server_rec_Key_set_in_Base 2_AddValue
3_AddValue
t/conf/httpd.conf: PerlSetVar TestModperl__server_rec_Key_set_in_Base SubSecValue
[unquote]
Now, make test in ModPerl-Registry yields some error messages:
[quote gmake test]
ulimit -c unlimited; /usr/bin/perl /home/bozy/src/modperl-2.0/ModPerl-Registry/t/TEST
-bugreport -verbose=0
/usr/local/apache2/bin/httpd -d /home/bozy/src/modperl-2.0/ModPerl-Registry/t -f
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/conf/httpd.conf -D APACHE2
using Apache/2.0.49 (prefork MPM)
waiting 90 seconds for server to start: .................................
waiting 90 seconds for server to start: ok (waited 32 secs)
server localhost:8529 started
t/206................ok
t/304................ok
t/404................malformed response at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../../Apache-Test/lib/Apache/TestClient.pm
line 102.
# Failed test 1 in t/404.t at line 14
t/404................NOK 1# Failed test 2 in t/404.t at line 25
t/404................FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/500................ok
t/bad_scripts........# Failed test 1 in t/bad_scripts.t at line 14
t/bad_scripts........FAILED test 1
Failed 1/1 tests, 0.00% okay
t/basic..............ok 16/18malformed response at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../../Apache-Test/lib/Apache/TestClient.pm
line 102.
# Failed test 17 in t/basic.t at line 100
t/basic..............FAILED test 17
Failed 1/18 tests, 94.44% okay
t/bin_resp...........ok
t/cgi................NOK 2# Failed test 2 in t/cgi.t at line 17
t/cgi................FAILED test 2
Failed 1/2 tests, 50.00% okay
t/closure............ok
t/flush..............skipped
all skipped: cannot find module 'deflate'
t/nph................ok
t/perlrun_extload....ok
t/redirect...........skipped
all skipped: libwww-perl is not installed
t/special_blocks.....ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/404.t 2 2 100.00% 1-2
t/bad_scripts.t 1 1 100.00% 1
t/basic.t 18 1 5.56% 17
t/cgi.t 2 1 50.00% 2
2 tests skipped.
Failed 4/14 test scripts, 71.43% okay. 5/70 subtests failed, 92.86% okay.
[warning] server localhost:8529 shutdown
[warning] port 8529 still in use...
...done
[ error] error running tests (please examine t/logs/error_log)
[unquote]
The Apache error log contains following:
[quote cat t/logs/error_log]
[Fri Jul 30 08:55:15 2004] [notice] Apache/2.0.49 (Unix) mod_perl/1.99_15-dev
Perl/v5.8.4 PHP/5.0.0 DAV/2 configured -- resuming normal operations
[Fri Jul 30 08:55:15 2004] [info] Server built: Jul 15 2004 12:00:32
[Fri Jul 30 08:55:15 2004] [debug] prefork.c(955): AcceptMutex: sysvsem (default:
sysvsem)
*** The following error entry is expected and harmless ***
[Fri Jul 30 08:55:55 2004] [error]
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/cannot_be_found not found or
unable to stat
[Fri Jul 30 08:55:55 2004] [error] mpxs_Apache__RequestRec_print: $r->print can't be
called before the response phase during global destruction.\n
[Fri Jul 30 08:55:56 2004] [notice] child pid 16168 exit signal Segmentation fault (11)
*** The following error entry is expected and harmless ***
[Fri Jul 30 08:56:08 2004] [error] mpxs_Apache__RequestRec_print: $r->print can't be
called before the response phase during global destruction.\n
*** The following error entry is expected and harmless ***
[Fri Jul 30 08:56:08 2004] [error] syntax error at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/syntax_error.pl line 10, at EOF\n
*** The following error entry is expected and harmless ***
[Fri Jul 30 08:56:09 2004] [error] Can't locate DoesNotExist.pm in @INC (@INC
contains: /home/bozy/src/modperl-2.0/ModPerl-Registry/t
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../lib
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../../Apache-Test/lib
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../../lib
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../../blib/lib/Apache2
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../../blib/arch/Apache2
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../../blib/lib
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../../blib/arch
/usr/local/lib/perl5/5.8.4/aix /usr/local/lib/perl5/5.8.4
/usr/local/lib/perl5/site_perl/5.8.4/aix /usr/local/lib/perl5/site_perl/5.8.4
/usr/local/lib/perl5/site_perl /home/bozy/src/modperl-2.0/ModPerl-Registry/t/
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/lib/perl) at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/use_error.pl line 6.\nBEGIN
failed--compilation aborted at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/use_error.pl line 6.\n
*** The following error entry is expected and harmless ***
[Fri Jul 30 08:56:09 2004] [error] [client 127.0.0.1] malformed header from script.
Bad header=No HTTP headers were sent: missing_headers.pl
[Fri Jul 30 08:56:09 2004] [warn] /registry/missing_headers.pl did not send an HTTP
header
*** The following error entry is expected and harmless ***
[Fri Jul 30 08:56:09 2004] [error] Undefined subroutine
&ModPerl::ROOT::ModPerl::Registry::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_runtime_error_2epl::no_such_func
called at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/runtime_error.pl line
10.\n
*** The following error entry is expected and harmless ***
[Fri Jul 30 08:56:09 2004] [error] Undefined subroutine
&ModPerl::ROOT::ModPerl::Registry::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_runtime_error_plus_body_2epl::no_such_func
called at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/runtime_error_plus_body.pl line
10.\n
*** The following error entry is expected and harmless ***
[Fri Jul 30 08:56:21 2004] [error] file permissions deny server
execution/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/r_inherited.pl
*** The following error entry is expected and harmless ***
[Fri Jul 30 08:56:34 2004] [error] file permissions deny server
execution/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/not_executable.pl
*** The following error entry is expected and harmless ***
[Fri Jul 30 08:56:34 2004] [error] file permissions deny server
execution/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/not_executable.pl
*** The following error entry is expected and harmless ***
[Fri Jul 30 08:56:34 2004] [error] file permissions deny server
execution/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/not_executable.pl
[Fri Jul 30 08:56:38 2004] [notice] child pid 16416 exit signal Segmentation fault (11)
[Fri Jul 30 08:57:03 2004] [error] Global $r object is not available.
Set:\n\tPerlOptions +GlobalRequest\nin httpd.conf at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../lib/ModPerl/RegistryCooker.pm line
202 during global destruction.\n
*** The following warn entry is expected and harmless ***
Variable "$counter" will not stay shared at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 21.
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_closure_2epl::t_cmp:
none vs ($$;$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 5
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_closure_2epl::t_is_equal:
none vs ($$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 5
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_closure_2epl::t_filepath_cmp:
none vs ($$;$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 5
*** The following warn entry is expected and harmless ***
Variable "$counter" will not stay shared at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 21.
Subroutine counter redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 19.
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_closure_2epl::t_cmp:
none vs ($$;$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 5
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_closure_2epl::t_is_equal:
none vs ($$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 5
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_closure_2epl::t_filepath_cmp:
none vs ($$;$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 5
*** The following warn entry is expected and harmless ***
Variable "$counter" will not stay shared at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 21.
Subroutine counter redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 19.
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_closure_2epl::t_cmp:
none vs ($$;$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 5
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_closure_2epl::t_is_equal:
none vs ($$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 5
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_closure_2epl::t_filepath_cmp:
none vs ($$;$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 5
*** The following warn entry is expected and harmless ***
Variable "$counter" will not stay shared at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 21.
Subroutine counter redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 19.
*** The following warn entry is expected and harmless ***
Variable "$counter" will not stay shared at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 21.
*** The following warn entry is expected and harmless ***
Variable "$counter" will not stay shared at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 21.
Subroutine counter redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 19.
*** The following warn entry is expected and harmless ***
Variable "$counter" will not stay shared at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/closure.pl line 21.
*** The following 2 warn entries are expected and harmless ***
Constant subroutine
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_perlrun_extload_2epl::nondecl_const
redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../lib/ModPerl/RegistryCooker.pm line
557.
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_perlrun_extload_2epl::t_cmp:
none vs ($$;$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_extload.pl line 5
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_perlrun_extload_2epl::t_is_equal:
none vs ($$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_extload.pl line 5
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_perlrun_extload_2epl::t_filepath_cmp:
none vs ($$;$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_extload.pl line 5
*** The following warn entry is expected and harmless ***
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_perlrun_extload_2epl::decl_proto:
none vs ($;$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_extload.pl line 24
*** The following warn entry is expected and harmless ***
Subroutine nondecl_no_proto redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_nondecl.pl line 26.
*** The following warn entry is expected and harmless ***
Subroutine nondecl_proto redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_nondecl.pl line 33.
*** The following warn entry is expected and harmless ***
Subroutine nondecl_proto_empty redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_nondecl.pl line 40.
*** The following 2 warn entries are expected and harmless ***
Subroutine nondecl_const redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_nondecl.pl line 49.
Constant subroutine
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_perlrun_extload_2epl::nondecl_const
redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../lib/ModPerl/RegistryCooker.pm line
557.
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_perlrun_extload_2epl::t_cmp:
none vs ($$;$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_extload.pl line 5
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_perlrun_extload_2epl::t_is_equal:
none vs ($$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_extload.pl line 5
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_perlrun_extload_2epl::t_filepath_cmp:
none vs ($$;$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_extload.pl line 5
*** The following warn entry is expected and harmless ***
Prototype mismatch: sub
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_perlrun_extload_2epl::decl_proto:
none vs ($;$) at /usr/local/lib/perl5/5.8.4/Exporter.pm line 65.
at /home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_extload.pl line 24
*** The following warn entry is expected and harmless ***
Subroutine nondecl_no_proto redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_nondecl.pl line 26.
*** The following warn entry is expected and harmless ***
Subroutine nondecl_proto redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_nondecl.pl line 33.
*** The following warn entry is expected and harmless ***
Subroutine nondecl_proto_empty redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_nondecl.pl line 40.
*** The following 2 warn entries are expected and harmless ***
Subroutine nondecl_const redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/cgi-bin/perlrun_nondecl.pl line 49.
Constant subroutine
ModPerl::ROOT::ModPerl::PerlRun::home_bozy_src_modperl_2d2_2e0_ModPerl_2dRegistry_t_cgi_2dbin_perlrun_extload_2epl::nondecl_const
redefined at
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/../lib/ModPerl/RegistryCooker.pm line
557.
[Fri Jul 30 08:58:26 2004] [error] server reached MaxClients setting, consider raising
the MaxClients setting
[Fri Jul 30 08:58:29 2004] [warn] child process 16176 still did not exit, sending a
SIGTERM
[Fri Jul 30 08:58:29 2004] [warn] child process 9596 still did not exit, sending a
SIGTERM
[Fri Jul 30 08:58:29 2004] [warn] child process 16426 still did not exit, sending a
SIGTERM
[Fri Jul 30 08:58:29 2004] [info] removed PID file
/home/bozy/src/modperl-2.0/ModPerl-Registry/t/logs/httpd.pid (pid=8464)
[Fri Jul 30 08:58:29 2004] [notice] caught SIGTERM, shutting down
[unquote]
Regards,
Alexey
RK> On Thu, 29 Jul 2004, Alexey Bozrikov wrote:
RK> Assuming this is for the dynamic build, that LINKTYPE might
RK> have been the one added in the patch as an addition to
RK> making the aprext target, so as to build a static aprext
RK> lib.
RK> Apart from the
RK> PerlSetVar TestModperl__server_rec_Key_set_in_Base SubSecValue
RK> in t/conf/httpd.conf, are there any other occurrences of
RK> TestModperl__server_rec_Key_set_in_Base
RK> in anything under t/*?
RK> Are there error in the ModPerl-Registry tests?
RK> cd ModPerl-Registry
RK> make test
RK> --
RK> best regards,
RK> randy
** Experiments should be reproducible - they should all fail in the same way.