> So Mikhail, please use > cvs as explained here: > http://perl.apache.org/download/source. > html#Development_mod_perl_2_0_Source_Distribution >
Stas, sorry about some mess with cvs. Here are the results of today's snapshots builds. cvs commands used: % cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login % cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co modperl-2.0 % cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co -r APACHE_2_0_BRANCH -d httpd-2.0 httpd-2.0 % cd httpd-2.0/srclib % cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co -r APR_0_9_BRANCH -d apr apr % cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co -r APU_0_9_BRANCH -d apr-util apr-util % cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co -r APU_0_9_BRANCH -d apr-iconv apr-iconv apache builds and runs OK. after commenting out some lines in xs/APR/aprext/Makefile.PL (shown below): #my @skip = qw(dynamic test); #push @skip, q{static} # unless (Apache::Build::BUILD_APREXT); ... # SKIP => [ @skip ] , modperl builds OK. But make test fails. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/apr-ext/threadmutex.t 2 512 3 6 200.00% 1-3 t/filter/both_str_con_add.t 4 3 75.00% 2-4 t/protocol/echo_block.t 3 2 66.67% 2-3 t/protocol/echo_filter.t 3 2 66.67% 2-3 t/protocol/pseudo_http.t 0 13 13 22 169.23% 2-13 17 tests skipped. Failed 5/204 test scripts, 97.55% okay. 22/1416 subtests failed, 98.45% okay. % % % make test TEST_VERBOSE=1 \ TEST_FILES="t/apr-ext/threadmutex.t t/filter/both_str_con_add.t t/protocol/echo_block.t t/protocol/echo_filter.t t/protocol/pseudo_http.t" cd "src/modules/perl" && make -f Makefile.modperl /usr/pkg/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 t/TEST -clean APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_APXS= /usr/pkg/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 t/TEST -bugreport -verbose=1 t/apr-ext/threadmutex.t t/filter/both_str_con_add.t t/protocol/echo_block.t t/protocol/echo_filter.t t/protocol/pseudo_http.t /home/mgorb/httpd-2.0/bin/httpd -d /usr/home/mgorb/mp-test/modperl-2.0/t -f /usr/home/mgorb/mp-test/modperl-2.0/t/conf/httpd.conf -D APACHE2 using Apache/2.0.51-dev (prefork MPM) waiting 120 seconds for server to start: .......................[Fri Aug 06 15:41:33 2004] [info] 27 Apache:: modules loaded [Fri Aug 06 15:41:33 2004] [info] 9 APR:: modules loaded [Fri Aug 06 15:41:33 2004] [info] base server + 21 vhosts ready to run tests ... waiting 120 seconds for server to start: ok (waited 26 secs) server localhost:8529 started server localhost:8530 listening (TestModperl::merge) server localhost:8531 listening (TestModperl::perl_options) server localhost:8532 listening (TestModperl::setupenv) server localhost:8533 listening (TestVhost::config) server localhost:8534 listening (TestProtocol::echo_bbs) server localhost:8535 listening (TestProtocol::echo_bbs2) server localhost:8536 listening (TestProtocol::echo_block) server localhost:8537 listening (TestProtocol::echo_filter) server localhost:8538 listening (TestProtocol::echo_timeout) server localhost:8539 listening (TestProtocol::eliza) server localhost:8540 listening (TestProtocol::pseudo_http) server localhost:8541 listening (TestPreConnection::note) server localhost:8542 listening (TestHooks::stacked_handlers2) server localhost:8543 listening (TestHooks::startup) server localhost:8544 listening (TestFilter::both_str_con_add) server localhost:8545 listening (TestFilter::in_bbs_inject_header) server localhost:8546 listening (TestFilter::in_bbs_msg) server localhost:8547 listening (TestFilter::in_str_msg) server localhost:8548 listening (TestDirective::perlmodule) server localhost:8549 listening (TestDirective::perlrequire) server localhost:8550 listening (TestPerl::ithreads) server localhost:8551 listening (TestDirective::perlloadmodule3) server localhost:8552 listening (TestDirective::perlloadmodule4) server localhost:8553 listening (TestDirective::perlloadmodule5) server localhost:8554 listening (TestDirective::perlloadmodule6) t/apr-ext/threadmutex........1..3 # Running under perl version 5.008004 for netbsd # Current time local: Fri Aug 6 15:41:37 2004 # Current time GMT: Fri Aug 6 11:41:37 2004 # Using Test.pm version 1.24 # Using Apache/Test.pm version 1.13 Can't locate APR/ThreadMutex.pm in @INC (@INC contains: /usr/home/mgorb/mp-test/modperl-2.0/Apache-Test /usr/home/mgorb/mp-test/modperl-2.0/blib/lib /usr/home/mgorb/mp-test/modperl-2.0/blib/arch /usr/home/mgorb/mp-test/modperl-2.0/blib/lib/Apache2 /usr/home/mgorb/mp-test/modperl-2.0/blib/arch/Apache2 /usr/home/mgorb/mp-test/modperl-2.0/lib /usr/home/mgorb/mp-test/modperl-2.0/Apache-Test/lib /usr/home/mgorb/mp-test/modperl-2.0/t/lib blib/arch/Apache2 blib/lib/Apache2 /usr/pkg/lib/perl5/site_perl/5.8.4/i386-netbsd /usr/pkg/lib/perl5/site_perl/5.8.4/i386-netbsd /usr/pkg/lib/perl5/site_perl/5.8.4 /usr/pkg/lib/perl5/site_perl/5.8.4/i386-netbsd /usr/pkg/lib/perl5/site_perl/5.8.4 /usr/pkg/lib/perl5/site_perl /usr/pkg/lib/perl5/5.8.4/i386-netbsd /usr/pkg/lib/perl5/5.8.4/i386-netbsd /usr/pkg/lib/perl5/5.8.4 . /usr/pkg/lib/perl5/site_perl/5.8.4/i386-netbsd /usr/pkg/lib/perl5/site_perl/5.8.4 /usr/pkg/lib/perl5/site_perl /usr/pkg/lib/perl5/5.8.4/i386-netbsd /usr/pkg/lib/perl5/5.8.4 .) at /usr/home/mgorb/mp-test/modperl-2.0/t/lib/TestAPRlib/threadmutex.pm line 18. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay t/filter/both_str_con_add....1..4 # Running under perl version 5.008004 for netbsd # Current time local: Fri Aug 6 15:41:38 2004 # Current time GMT: Fri Aug 6 11:41:38 2004 # Using Test.pm version 1.24 ok 1 # expected: mod_perl # received: not ok 2 # Failed test 2 in t/filter/both_str_con_add.t at line 22 # t/filter/both_str_con_add.t line 22 is: ok t_cmp($reply, $str); # expected: 2.0 # received: not ok 3 # Failed test 3 in t/filter/both_str_con_add.t at line 22 fail #2 # expected: rules # received: not ok 4 # Failed test 4 in t/filter/both_str_con_add.t at line 22 fail #3 FAILED tests 2-4 Failed 3/4 tests, 25.00% okay t/protocol/echo_block........1..3 # Running under perl version 5.008004 for netbsd # Current time local: Fri Aug 6 15:41:39 2004 # Current time GMT: Fri Aug 6 11:41:39 2004 # Using Test.pm version 1.24 ok 1 # expected: hello # received: not ok 2 # Failed test 2 in t/protocol/echo_block.t at line 19 # t/protocol/echo_block.t line 19 is: ok t_cmp($reply, $_); # expected: world # received: not ok 3 # Failed test 3 in t/protocol/echo_block.t at line 19 fail #2 FAILED tests 2-3 Failed 2/3 tests, 33.33% okay t/protocol/echo_filter.......1..3 # Running under perl version 5.008004 for netbsd # Current time local: Fri Aug 6 15:41:40 2004 # Current time GMT: Fri Aug 6 11:41:40 2004 # Using Test.pm version 1.24 ok 1 # expected: HELLO # Failed test 2 in t/protocol/echo_filter.t at line 19 # received: # t/protocol/echo_filter.t line 19 is: ok t_cmp($reply, uc($_)); not ok 2 # Failed test 3 in t/protocol/echo_filter.t at line 19 fail #2 # expected: WORLD # received: not ok 3 FAILED tests 2-3 Failed 2/3 tests, 33.33% okay t/protocol/pseudo_http.......# connecting to localhost:8540 1..13 # Running under perl version 5.008004 for netbsd # Current time local: Fri Aug 6 15:43:36 2004 # Current time GMT: Fri Aug 6 11:43:36 2004 # Using Test.pm version 1.24 # Using Apache/Test.pm version 1.13 ok 1 # testing : greeting # expected: HELO # received: HELO ok 2 # send: HELO # testing : login # expected: Login: # received: not ok 3 # Failed test 3 in t/protocol/pseudo_http.t at line 60 fail #2 # send: stas # testing : good password # expected: Password: # received: not ok 4 # Failed test 4 in t/protocol/pseudo_http.t at line 60 fail #3 # send: foobar # testing : banner # expected: Welcome to TestProtocol::pseudo_http # received: not ok 5 # Failed test 5 in t/protocol/pseudo_http.t at line 54 # testing : date # expected: Available commands: date quit # received: not ok 6 # Failed test 6 in t/protocol/pseudo_http.t at line 60 fail #4 # send: date # testing : quit # expected: (?-xism:The time is:) # received: not ok 7 # Failed test 7 in t/protocol/pseudo_http.t at line 60 fail #5 # send: quit # testing : end of transmission # expected: Goodbye # received: not ok 8 # Failed test 8 in t/protocol/pseudo_http.t at line 54 fail #2 ok 9 # testing : greeting # expected: HELO # received: HELO ok 10 # send: HELO # testing : login # expected: Login: # received: not ok 11 # Failed test 11 in t/protocol/pseudo_http.t at line 60 fail #7 # send: stas # testing : wrong password # expected: Password: # received: not ok 12 # Failed test 12 in t/protocol/pseudo_http.t at line 60 fail #8 # send: foObaR # testing : end of transmission # expected: Access Denied # received: not ok 13 # Failed test 13 in t/protocol/pseudo_http.t at line 54 fail #3 FAILED tests 3-8, 11-13 Failed 9/13 tests, 30.77% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/apr-ext/threadmutex.t 2 512 3 6 200.00% 1-3 t/filter/both_str_con_add.t 4 3 75.00% 2-4 t/protocol/echo_block.t 3 2 66.67% 2-3 t/protocol/echo_filter.t 3 2 66.67% 2-3 t/protocol/pseudo_http.t 13 9 69.23% 3-8 11-13 Failed 5/5 test scripts, 0.00% okay. 19/26 subtests failed, 26.92% okay. % % % cat t/logs/error_log END in modperl_extra.pl, pid=15532 [Fri Aug 06 15:41:36 2004] [notice] Apache/2.0.51-dev (Unix) world domination series/2.0 mod_perl/1.99_15-dev Perl/v5.8.4 configured -- resuming normal operations [Fri Aug 06 15:41:36 2004] [info] Server built: Aug 6 2004 14:27:49 [Fri Aug 06 15:41:36 2004] [debug] prefork.c(955): AcceptMutex: sysvsem (default: sysvsem) [Fri Aug 06 15:41:40 2004] [error] APR::Socket::recv: (35) Resource temporarily unavailable at /usr/home/mgorb/mp-test/modperl-2.0/t/protocol/TestProtocol/echo_block.pm line 34 Out of memory! Callback called exit. Callback called exit. [Fri Aug 06 15:43:38 2004] [error] APR::Socket::recv: (35) Resource temporarily unavailable at /usr/home/mgorb/mp-test/modperl-2.0/t/protocol/TestProtocol/pseudo_http.pm line 106 [Fri Aug 06 15:43:38 2004] [error] APR::Socket::recv: (35) Resource temporarily unavailable at /usr/home/mgorb/mp-test/modperl-2.0/t/protocol/TestProtocol/pseudo_http.pm line 106 *** The following error entry is expected and harmless *** [Fri Aug 06 15:43:38 2004] [info] Child process pid=15543 is exiting END in modperl_extra.pl, pid=15543 [Fri Aug 06 15:43:38 2004] [info] Child process pid=15539 is exiting END in modperl_extra.pl, pid=15539 [Fri Aug 06 15:43:38 2004] [info] removed PID file /usr/home/mgorb/mp-test/modperl-2.0/t/logs/httpd.pid (pid=15535) [Fri Aug 06 15:43:38 2004] [notice] caught SIGTERM, shutting down END in modperl_extra.pl, pid=15535 % -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html