Tried to build mod_perl-1.99_16 on NetBSD-1.6.2 with perl 5.8.4, 
httpd-2.0.51-dev (latest snapshot). 

mod_perl make test fails. here are the details:

Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
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

% make test TEST_VERBOSE=1 TEST_FILES="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/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/mod_perl-1.99_16/t -f 
/usr/home/mgorb/mp-test/mod_perl-1.99_16/t/conf/httpd.conf -D APACHE2
using Apache/2.0.51-dev (prefork MPM)

waiting 120 seconds for server to start: ..............[Mon Sep 06 
13:53:32 2004] [info] 27 Apache:: modules loaded
[Mon Sep 06 13:53:32 2004] [info] 7 APR:: modules loaded
[Mon Sep 06 13:53:32 2004] [info] base server + 20 vhosts ready to run 
tests
...
waiting 120 seconds for server to start: ok (waited 16 secs)
server localhost:8529 started
server localhost:8530 listening (TestModperl::setupenv)
server localhost:8531 listening (TestModperl::merge)
server localhost:8532 listening (TestModperl::perl_options)
server localhost:8533 listening (TestVhost::config)
server localhost:8534 listening (TestProtocol::pseudo_http)
server localhost:8535 listening (TestProtocol::echo_filter)
server localhost:8536 listening (TestProtocol::echo_bbs2)
server localhost:8537 listening (TestProtocol::echo_bbs)
server localhost:8538 listening (TestProtocol::echo_timeout)
server localhost:8539 listening (TestProtocol::echo_block)
server localhost:8540 listening (TestPreConnection::note)
server localhost:8541 listening (TestHooks::startup)
server localhost:8542 listening (TestHooks::stacked_handlers2)
server localhost:8543 listening (TestHooks::hookrun)
server localhost:8544 listening (TestFilter::in_bbs_msg)
server localhost:8545 listening (TestFilter::both_str_con_add)
server localhost:8546 listening (TestFilter::in_bbs_inject_header)
server localhost:8547 listening (TestFilter::in_str_msg)
server localhost:8548 listening (TestDirective::perlrequire)
server localhost:8549 listening (TestDirective::perlmodule)
server localhost:8550 listening (TestDirective::perlloadmodule4)
server localhost:8551 listening (TestDirective::perlloadmodule5)
server localhost:8552 listening (TestDirective::perlloadmodule3)
server localhost:8553 listening (TestDirective::perlloadmodule6)
t/filter/both_str_con_add....1..4
# Running under perl version 5.008004 for netbsd
# Current time local: Mon Sep  6 13:53:37 2004
# Current time GMT:   Mon Sep  6 09:53:37 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: Mon Sep  6 13:53:42 2004
# Current time GMT:   Mon Sep  6 09:53:42 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: Mon Sep  6 13:53:46 2004
# Current time GMT:   Mon Sep  6 09:53:46 2004
# Using Test.pm version 1.24
ok 1
# expected: HELLO
# Failed test 2 in t/protocol/echo_filter.t at line 19
# received:
not ok 2
#  t/protocol/echo_filter.t line 19 is:     ok t_cmp($reply, uc($_));
# expected: WORLD
# Failed test 3 in t/protocol/echo_filter.t at line 19 fail #2
# received:
not ok 3
FAILED tests 2-3
        Failed 2/3 tests, 33.33% okay
t/protocol/pseudo_http.......# connecting to localhost:8534
1..13
# Running under perl version 5.008004 for netbsd
# Current time local: Mon Sep  6 13:55:55 2004
# Current time GMT:   Mon Sep  6 09:55:55 2004
# Using Test.pm version 1.24
# Using Apache/Test.pm version 1.14
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/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 4/4 test scripts, 0.00% okay. 16/23 subtests failed, 30.43% okay.
[warning] server localhost:8529 shutdown
[  error] error running tests (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
*** Error code 1

Stop.
make: stopped in /home/mgorb/mp-test/mod_perl-1.99_16

% cat t/logs/error_log
END in modperl_extra.pl, pid=26147
[Mon Sep 06 13:53:35 2004] [notice] Apache/2.0.51-dev (Unix) world 
domination series/2.0 mod_perl/1.99_16 Perl/v5.8.4 configured -- resuming 
normal operations
[Mon Sep 06 13:53:35 2004] [info] Server built: Sep  6 2004 12:05:15
[Mon Sep 06 13:53:35 2004] [debug] prefork.c(955): AcceptMutex: sysvsem 
(default: sysvsem)
[Mon Sep 06 13:53:45 2004] [error] APR::Socket::recv: (35) Resource 
temporarily unavailable at 
/usr/home/mgorb/mp-test/mod_perl-1.99_16/t/protocol/TestProtocol/echo_block.pm 
line 34
[Mon Sep 06 13:55:55 2004] [notice] child pid 26182 exit signal 
Segmentation fault (11), possible coredump in 
/usr/home/mgorb/mp-test/mod_perl-1.99_16/t
[Mon Sep 06 13:55:56 2004] [error] APR::Socket::recv: (35) Resource 
temporarily unavailable at 
/usr/home/mgorb/mp-test/mod_perl-1.99_16/t/protocol/TestProtocol/pseudo_http.pm 
line 118
[Mon Sep 06 13:55:56 2004] [error] APR::Socket::recv: (35) Resource 
temporarily unavailable at 
/usr/home/mgorb/mp-test/mod_perl-1.99_16/t/protocol/TestProtocol/pseudo_http.pm 
line 118

*** The following error entry is expected and harmless ***
[Mon Sep 06 13:55:56 2004] [info] Child process pid=26161 is exiting
END in modperl_extra.pl, pid=26161
[Mon Sep 06 13:55:56 2004] [info] Child process pid=26162 is exiting
END in modperl_extra.pl, pid=26162
[Mon Sep 06 13:55:56 2004] [info] removed PID file 
/usr/home/mgorb/mp-test/mod_perl-1.99_16/t/logs/httpd.pid (pid=26154)
[Mon Sep 06 13:55:56 2004] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=26154
%

Tried to repeat all the above with debugging on, so:

for httpd
======
% ./configure --enable-maintainer-mode --prefix=$HOME/httpd-2.0 
--with-mpm=prefork
% make && make install

httpd builds and runs OK

for mod_perl:
=========
%perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=$HOME/httpd-2.0 
MP_DEBUG=1
%make && make test

make test gives the following:

% make test
...
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=0
/home/mgorb/httpd-2.0/bin/httpd -d 
/usr/home/mgorb/mp-test/mod_perl-1.99_16/t -f 
/usr/home/mgorb/mp-test/mod_perl-1.99_16/t/conf/httpd.conf -D APACHE2
using Apache/2.0.51-dev (prefork MPM)

waiting 120 seconds for server to start: .Syntax error on line 12 of 
/usr/home/mgorb/mp-test/mod_perl-1.99_16/t/conf/httpd.conf:
Cannot load 
/usr/home/mgorb/mp-test/mod_perl-1.99_16/src/modules/perl/mod_perl.so into 
server: 
/usr/home/mgorb/mp-test/mod_perl-1.99_16/src/modules/perl/mod_perl.so: 
Undefined PLT symbol "apr_os_thread_current" (reloc type = 7, symnum = 
154)
.......................................................................................................................
waiting 120 seconds for server to start: not ok
[  error] giving up after 121 secs. If you think that your system
is slow or overloaded try again with a longer timeout value.
by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT
to a high value (e.g. 420) and repeat the last command.

[  error] server failed to start! (t/logs/error_log wasn't created, start 
the server in the debug mode)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
gmake: *** [run_tests] Error 1

---------------------
Mikhail Gorbunov

-- 
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

Reply via email to