Re: [mp2] modperl2 compile error

[prev] [thread] [next] [Date index for 2005/04/28]

From: Tom Caldwell
Subject: Re: [mp2] modperl2 compile error
Date: 19:46 on 28 Apr 2005
So here are the reuslts of the versbose tests and the contents of
t/logs/error_log after running the failed tests.

 t/TEST -verbose t/apache/subprocess.t
[warning] setting ulimit to allow core files
ulimit -c unlimited; /opt/perl/bin/perl
/opt/modperl/mod_perl-2.0.0-RC5/t/TEST -verbose 't/apache/subprocess.t'
[warning] root mode: changing the files ownership to 'nobody' (99:99)
[warning] testing whether 'nobody' is able to -rwx
/opt/modperl/mod_perl-2.0.0-RC5/t
"/opt/perl/bin/perl"
-Mlib=/opt/modperl/mod_perl-2.0.0-RC5/Apache-Test/lib -MApache::TestRun
-e 'eval { Apache::TestRun::run_root_fs_test(99, 99,
q[/opt/modperl/mod_perl-2.0.0-RC5/t]) }';
 
 
[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
/opt/apache2/server/bin/httpd  -d /opt/modperl/mod_perl-2.0.0-RC5/t -f
/opt/modperl/mod_perl-2.0.0-RC5/t/conf/httpd.conf -D APACHE2
using Apache/2.0.54 (prefork MPM)
 
waiting 120 seconds for server to start: .[Thu Apr 28 14:26:44 2005]
[info] 6 Apache2:: modules loaded
[Thu Apr 28 14:26:44 2005] [info] 0 APR:: modules loaded
[Thu Apr 28 14:26:44 2005] [info] base server + 27 vhosts ready to run
tests
.
waiting 120 seconds for server to start: ok (waited 1 secs)
server localhost.localdomain:8529 started
server localhost.localdomain:8530 listening (filter_out_apache)
server localhost.localdomain:8531 listening (TestModules::proxy)
server localhost.localdomain:8532 listening (TestModperl::merge)
server localhost.localdomain:8533 listening (TestModperl::perl_options)
server localhost.localdomain:8534 listening (TestModperl::setupenv)
server localhost.localdomain:8535 listening (TestUser::rewrite)
server localhost.localdomain:8536 listening (TestVhost::log)
server localhost.localdomain:8537 listening (TestVhost::config)
server localhost.localdomain:8538 listening (TestProtocol::pseudo_http)
server localhost.localdomain:8539 listening (TestProtocol::echo_bbs)
server localhost.localdomain:8540 listening (TestProtocol::echo_filter)
server localhost.localdomain:8541 listening (TestProtocol::echo_bbs2)
server localhost.localdomain:8542 listening (TestProtocol::echo_timeout)
server localhost.localdomain:8543 listening (TestProtocol::echo_block)
server localhost.localdomain:8544 listening
(TestProtocol::echo_nonblock)
server localhost.localdomain:8545 listening (TestPreConnection::note)
server localhost.localdomain:8546 listening (TestHooks::hookrun)
server localhost.localdomain:8547 listening (TestHooks::init)
server localhost.localdomain:8548 listening (TestHooks::trans)
server localhost.localdomain:8549 listening
(TestHooks::stacked_handlers2)
server localhost.localdomain:8550 listening (TestHooks::startup)
server localhost.localdomain:8551 listening
(TestFilter::in_bbs_inject_header)
server localhost.localdomain:8552 listening (TestFilter::in_str_msg)
server localhost.localdomain:8553 listening
(TestFilter::both_str_con_add)
server localhost.localdomain:8554 listening (TestFilter::in_bbs_msg)
server localhost.localdomain:8555 listening (TestDirective::perlmodule)
server localhost.localdomain:8556 listening (TestDirective::perlrequire)
server localhost.localdomain:8557 listening
(TestDirective::perlloadmodule4)
server localhost.localdomain:8558 listening
(TestDirective::perlloadmodule5)
server localhost.localdomain:8559 listening
(TestDirective::perlloadmodule3)
server localhost.localdomain:8560 listening
(TestDirective::perlloadmodule6)
server localhost.localdomain:8561 listening
(TestHooks::push_handlers_anon)
t/apache/subprocess....1..5
# Running under perl version 5.008006 for linux
# Current time local: Thu Apr 28 14:26:44 2005
# Current time GMT:   Thu Apr 28 19:26:44 2005
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.22
ok 1
# testing : passing ARGV
# expected: [
#     foo,
#     bar,
# ]
# received: [
# ]
not ok 2
# testing : passing env via subprocess_env
# expected: my cool proc
# received:
not ok 3
# testing : testing subproc's stdin -> stdout + list context
# expected: my cool proc
# received:
not ok 4
# testing : testing subproc's stdin -> stderr + list context
# expected: my stderr
# received: /opt/perl/bin/perl: error while loading shared libraries:
libperl.so: cannot open shared object file: No such file or directory
not ok 5
FAILED tests 2-5
        Failed 4/5 tests, 20.00% okay
Failed Test           Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/apache/subprocess.t                5    4  80.00%  2-5
Failed 1/1 test scripts, 0.00% okay. 4/5 subtests failed, 20.00% okay.
[warning] server localhost.localdomain:8529 shutdown
[  error] error running tests (please examine t/logs/error_log)



dizzy:root# more t/logs/error_log
[Thu Apr 28 14:26:44 2005] [info] Init: Initializing OpenSSL library
[Thu Apr 28 14:26:44 2005] [info] Init: Seeding PRNG with 0 bytes of
entropy
[Thu Apr 28 14:26:44 2005] [info] Init: Generating temporary RSA private
keys (512/1024 bits)
[Thu Apr 28 14:26:44 2005] [info] Init: Generating temporary DH
parameters (512/1024 bits)
[Thu Apr 28 14:26:44 2005] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Thu Apr 28 14:26:44 2005] [info] Init: Initializing (virtual) servers
for SSL
[Thu Apr 28 14:26:44 2005] [info] Server: Apache/2.0.54, Interface:
mod_ssl/2.0.54, Library: OpenSSL/0.9.7a
END in modperl_extra.pl, pid=30577
[Thu Apr 28 14:26:45 2005] [notice] Digest: generating secret for digest
authentication ...
[Thu Apr 28 14:26:45 2005] [notice] Digest: done
[Thu Apr 28 14:26:45 2005] [info] Init: Initializing OpenSSL library
[Thu Apr 28 14:26:45 2005] [info] Init: Seeding PRNG with 0 bytes of
entropy
[Thu Apr 28 14:26:45 2005] [info] Init: Generating temporary RSA private
keys (512/1024 bits)
[Thu Apr 28 14:26:45 2005] [info] Init: Generating temporary DH
parameters (512/1024 bits)
[Thu Apr 28 14:26:45 2005] [info] Init: Initializing (virtual) servers
for SSL
[Thu Apr 28 14:26:45 2005] [info] Server: Apache/2.0.54, Interface:
mod_ssl/2.0.54, Library: OpenSSL/0.9.7a
[Thu Apr 28 14:26:45 2005] [notice] Apache/2.0.54 (Unix) world
domination series/2.0 mod_ssl/2.0.54 OpenSSL/0.9.7a DAV/2
mod_perl/1.999.22 Perl/v5.8.6 configured -- resuming normal operations
[Thu Apr 28 14:26:45 2005] [info] Server built: Apr 25 2005 15:47:46
[Thu Apr 28 14:26:45 2005] [debug] prefork.c(956): AcceptMutex: sysvsem
(default:
sysvsem)
# Failed test 2 in
/opt/modperl/mod_perl-2.0.0-RC5/t/response/TestApache/subprocess.pm at
line 66
# Failed test 3 in
/opt/modperl/mod_perl-2.0.0-RC5/t/response/TestApache/subprocess.pm at
line 79
# Failed test 4 in
/opt/modperl/mod_perl-2.0.0-RC5/t/response/TestApache/subprocess.pm at
line 93
# Failed test 5 in
/opt/modperl/mod_perl-2.0.0-RC5/t/response/TestApache/subprocess.pm at
line 107
[Thu Apr 28 14:26:46 2005] [info] Child process pid=30585 is exiting
[Thu Apr 28 14:26:46 2005] [info] Child process pid=30585 is exiting -
server pushEND in modperl_extra.pl, pid=30585
[Thu Apr 28 14:26:46 2005] [info] Child process pid=30586 is exiting
[Thu Apr 28 14:26:46 2005] [info] Child process pid=30586 is exiting -
server pushEND in modperl_extra.pl, pid=30586
[Thu Apr 28 14:26:46 2005] [info] removed PID file
/opt/modperl/mod_perl-2.0.0-RC5/t/logs/httpd.pid (pid=30581)
[Thu Apr 28 14:26:46 2005] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=30581

On Thu, 2005-04-28 at 11:36, Stas Bekman wrote:
> [folks, please don't forget that all modperl issues are to be posted to 
> the list. Thank you.
> 
> CC'ing the list on this reply
> ]
> 
> Tom Caldwell wrote:
> > Stas,
> > 
> > I rebuilt perl to support dynamic libraries, as you suggested, and was
> > able to build mod_perl but now I am getting a failure when I run make
> > test.
> > 
> > The test failed as below (from t/logs/error_log).
> > 
> > # Failed test 2 in
> > /opt/modperl/mod_perl-2.0.0-RC5/t/response/TestApache/subprocess.pm at
> > line 66
> > # Failed test 3 in
> > /opt/modperl/mod_perl-2.0.0-RC5/t/response/TestApache/subprocess.pm at
> > line 79
> > # Failed test 4 in
> > /opt/modperl/mod_perl-2.0.0-RC5/t/response/TestApache/subprocess.pm at
> > line 93
> > # Failed test 5 in
> > /opt/modperl/mod_perl-2.0.0-RC5/t/response/TestApache/subprocess.pm at
> > line 107
> >  
> > Perl tested fine except for 6 tests that had an undefined symbol like
> > this:
> > ../lib/Memoize/t/tie......................../opt/perl/perl-5.8.6/perl:
> > relocation error: ../lib/auto/DB_File/DB_File.so: undefined symbol:
> > db_version
> > 
> > DB_File.so and db_version were the same for all failures.
> > 
> > The new bug report is attached below.
> 
> Tom, please follow the instructions at:
> http://perl.apache.org/docs/2.0/user/help/help.html#_C_make_test___Failures
> Thank you.
> 

(message missing)

[mp2] modperl2 compile error
Tom Caldwell 16:35 on 27 Apr 2005

Re: [mp2] modperl2 compile error
Stas Bekman 16:41 on 27 Apr 2005

Re: [mp2] modperl2 compile error
Stas Bekman 16:36 on 28 Apr 2005

Re: [mp2] modperl2 compile error
Tom Caldwell 19:46 on 28 Apr 2005

Re: [mp2] modperl2 compile error
Stas Bekman 20:55 on 28 Apr 2005

Re: [mp2] modperl2 compile error
Tom Caldwell 18:54 on 29 Apr 2005

Re: [mp2] modperl2 compile error
Stas Bekman 06:25 on 30 Apr 2005

Re: [mp2] modperl2 compile error
Marc =?ISO-8859-1?Q?Gr=E0cia?= 07:53 on 02 May 2005

Re: [mp2] modperl2 compile error
Stas Bekman 17:05 on 02 May 2005

Re: [mp2] modperl2 compile error
Marc =?ISO-8859-1?Q?Gr=E0cia?= 10:09 on 04 May 2005

Re: [mp2] modperl2 compile error
Tom Caldwell 15:09 on 04 May 2005

Re: [mp2] modperl2 compile error
Marc =?ISO-8859-1?Q?Gr=E0cia?= 10:26 on 05 May 2005

Re: [mp2] modperl2 compile error
Stas Bekman 05:23 on 06 May 2005

Re: [mp2] modperl2 compile error
Tom Caldwell 20:03 on 09 May 2005

Re: [mp2] modperl2 compile error
Tom Caldwell 22:24 on 02 May 2005

Re: [mp2] modperl2 compile error
Stas Bekman 06:40 on 03 May 2005

Re: [mp2] modperl2 compile error
Stas Bekman 05:51 on 03 May 2005

Re: [mp2] modperl2 compile error
Stas Bekman 20:46 on 09 May 2005

Generated at 06:56 on 17 May 2005 by mariachi v0.52