Multiple problems in mod_perl tests for apr-ext e.g t/apr-ext/brigade
am 04.12.2008 05:05:25 von Alex Goldney------=_Part_146457_30125100.1228363525347
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi all,
I have successfully compiled mod_perl on an AIX box using the AIX
compiler. However, it fails a number of tests
t/apr-ext/brigade.t 255 65280 ?? ?? % ??
t/apr-ext/bucket.t 255 65280 ?? ?? % ??
t/apr-ext/error.t 255 65280 ?? ?? % ??
t/apr-ext/finfo.t 255 65280 ?? ?? % ??
t/apr-ext/pool.t 255 65280 ?? ?? % ??
t/apr-ext/table.t 255 65280 ?? ?? % ??
t/apr-ext/uri.t 255 65280 ?? ?? % ??
These all fail with similar symbol resolution problems. A full extract is
shown below for brigade.pm
I have a couple of questions.
1) has anyone got any pointers on how to resolve this issue.
2) This looks similar
http://www.gossamer-threads.com/lists/modperl/modperl/62467, so am I correct
in assuming that I can safely ignore this and install mod_perl?
t/TEST -verbose t/apr-ext/brigade
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/local/bin/perl /home/algold/mod_perl-2.0.4/t/TEST
-verbose 't/apr-ext/brigade'
/usr/local/apache2/bin/httpd -d /home/algold/mod_perl-2.0.4/t -f
/home/algold/mod_perl-2.0.4/t/conf/httpd.conf -D APACHE2
using Apache/2.2.10 (prefork MPM)
waiting 120 seconds for server to start: .[Thu Dec 04 14:26:49 2008] [info]
6 Apache2:: modules loaded
[Thu Dec 04 14:26:49 2008] [info] 0 APR:: modules loaded
[Thu Dec 04 14:26:49 2008] [info] base server + 28 vhosts ready to run tests
......
waiting 120 seconds for server to start: ok (waited 5 secs)
server loopback:8529 started
server loopback:8530 listening (filter_out_apache)
server loopback:8531 listening (perlsections)
server loopback:8532 listening (inherit)
server loopback:8533 listening (TestVhost::config)
server loopback:8534 listening (TestVhost::log)
server loopback:8535 listening (TestUser::rewrite)
server loopback:8536 listening (TestModules::proxy)
server loopback:8537 listening (TestModperl::merge)
server loopback:8538 listening (TestModperl::perl_options)
server loopback:8539 listening (TestModperl::perl_options2)
server loopback:8540 listening (TestModperl::setupenv)
server loopback:8541 listening (TestProtocol::echo_bbs)
server loopback:8542 listening (TestProtocol::echo_bbs2)
server loopback:8543 listening (TestProtocol::echo_block)
server loopback:8544 listening (TestProtocol::echo_filter)
server loopback:8545 listening (TestProtocol::echo_nonblock)
server loopback:8546 listening (TestProtocol::echo_timeout)
server loopback:8547 listening (TestProtocol::pseudo_http)
server loopback:8548 listening (TestPreConnection::note)
server loopback:8549 listening (TestHooks::hookrun)
server loopback:8550 listening (TestHooks::init)
server loopback:8551 listening (TestHooks::stacked_handlers2)
server loopback:8552 listening (TestHooks::startup)
server loopback:8553 listening (TestHooks::trans)
server loopback:8554 listening (TestFilter::both_str_con_add)
server loopback:8555 listening (TestFilter::in_bbs_inject_header)
server loopback:8556 listening (TestFilter::in_bbs_msg)
server loopback:8557 listening (TestFilter::in_str_msg)
server loopback:8558 listening (TestDirective::perlmodule)
server loopback:8559 listening (TestDirective::perlrequire)
server loopback:8560 listening (TestDirective::perlloadmodule3)
server loopback:8561 listening (TestDirective::perlloadmodule4)
server loopback:8562 listening (TestDirective::perlloadmodule5)
server loopback:8563 listening (TestAPI::add_config)
server loopback:8564 listening (TestDirective::perlloadmodule6)
server loopback:8565 listening (TestHooks::push_handlers_anon)
t/apr-ext/brigade....Can't load
'/home/algold/mod_perl-2.0.4/blib/arch/auto/APR/Brigade/Brig ade.so' for
module APR::Brigade: rtld: 0712-001 Symbol modperl_croak was referenced
from module
/home/algold/mod_perl-2.0.4/blib/arch/auto/APR/Brigade/Briga de.so(), but a
runtime definition
of the symbol was not found. at
/usr/local/lib/perl5/5.8.0/aix/DynaLoader.pm line 229.
at /home/algold/mod_perl-2.0.4/blib/lib/APR/XSLoader.pm line 31
Compilation failed in require at
/home/algold/mod_perl-2.0.4/t/lib/TestAPRlib/brigade.pm line 15.
BEGIN failed--compilation aborted at
/home/algold/mod_perl-2.0.4/t/lib/TestAPRlib/brigade.pm line 15.
Compilation failed in require at t/apr-ext/brigade.t line 9.
BEGIN failed--compilation aborted at t/apr-ext/brigade.t line 9.
dubious
Test returned status 255 (wstat 65280, 0xff00)
FAILED--1 test script could be run, alas--no output ever seen
[warning] server loopback:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)
cat t/logs/error_log
END in modperl_extra.pl, pid=286742
[Thu Dec 04 14:26:54 2008] [notice] Apache/2.2.10 (Unix) world domination
series/2.0 mod_perl/2.0.4 Perl/v5.8.0 configured -- resuming normal
operations
[Thu Dec 04 14:26:54 2008] [info] Server built: Dec 2 2008 13:50:04
[Thu Dec 04 14:26:54 2008] [debug] prefork.c(1001): AcceptMutex: sysvsem
(default: sysvsem)
[Thu Dec 04 14:26:56 2008] [info] Child process pid=286750 is exiting
[Thu Dec 04 14:26:56 2008] [info] Child process pid=409810 is exiting
[Thu Dec 04 14:26:56 2008] [info] Child process pid=286750 is exiting -
server push
[Thu Dec 04 14:26:56 2008] [info] Child process pid=409810 is exiting -
server push
END in modperl_extra.pl, pid=286750
END in modperl_extra.pl, pid=409810
[Thu Dec 04 14:26:56 2008] [info] removed PID file
/home/algold/mod_perl-2.0.4/t/logs/httpd.pid (pid=290908)
[Thu Dec 04 14:26:56 2008] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=290908
perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=aix, osvers=5.3.0.0, archname=aix
uname='aix aix-b80 3 5 000f216f4c00 '
config_args='-de'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -q32 -D_LARGE_FILES
-qlonglong',
optimize='-O',
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-qnoansialias -DUSE_NATIVE_DLOPEN'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -brtl -b32'
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -lgdbm -ldbm -ldb -ldl -lld -lm -lc -lcrypt -lbsd -lPW
perllibs=-lbind -lnsl -ldl -lld -lm -lc -lcrypt -lbsd -lPW
libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-bE:/usr/local/lib/perl5/5.8.0/aix/CORE/perl.exp'
cccdlflags=' ', lddlflags=' -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp
-bE:$(BASEEXT).exp -bnoentry -lc'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under aix
Compiled at Dec 3 2008 10:43:48
@INC:
/usr/local/lib/perl5/5.8.0/aix
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/aix
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl
.
cc is a symlink to the xlc AIX compiler.
lrwxrwxrwx 1 root system 16 Dec 4 13:55 /usr/bin/cc ->
/usr/vac/bin/xlc
ldd Brigade.so
Brigade.so needs:
/usr/lib/librtl.a(shr.o)
/unix
nm Brigade.so | grep modperl_
..modperl_croak T 9504
..modperl_croak t 9504 40
modperl_croak U -
modperl_croak d 3724 4
Any help would be appreciated,
Thanks.
------=_Part_146457_30125100.1228363525347
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi all,
I have successfully compiled mod_perl on an AIX box using the AIX compiler. However, it fails a number of tests
t/apr-ext/brigade.t 255 65280 ?? ?? % ??
t/apr-ext/bucket.t 255 65280 ?? ?? % ??
t/apr-ext/error.t 255 65280 ?? ?? % ??
t/apr-ext/finfo.t 255 65280 ?? ?? % ??
t/apr-ext/pool.t 255 65280 ?? ?? % ??
t/apr-ext/table.t 255 65280 ?? ?? % ??
t/apr-ext/uri.t 255 65280 ?? ?? % ??
These all fail with similar symbol resolution problems. A full extract is shown below for
I have a couple of questions.
1) has anyone got any pointers on how to resolve this issue.
2) This looks similar , so am I correct in assuming that I can safely ignore this and install mod_perl?
t/TEST -verbose t/apr-ext/brigade
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/local/bin/perl /home/algold/mod_perl-2.0.4/t/TEST -verbose 't/apr-ext/brigade'
/usr/local/apache2/bin/httpd -d /home/algold/mod_perl-2.0.4/t -f /home/algold/mod_perl-2.0.4/t/conf/httpd.conf -D APACHE2
using Apache/2.2.10 (prefork MPM)
waiting 120 seconds for server to start: .[Thu Dec 04 14:26:49 2008] [info] 6 Apache2:: modules loaded
[Thu Dec 04 14:26:49 2008] [info] 0 APR:: modules loaded
[Thu Dec 04 14:26:49 2008] [info] base server + 28 vhosts ready to run tests
......
waiting 120 seconds for server to start: ok (waited 5 secs)
server loopback:8529 started
server loopback:8530 listening (filter_out_apache)
server loopback:8531 listening (perlsections)
server loopback:8532 listening (inherit)
server loopback:8533 listening (TestVhost::config)
server loopback:8534 listening (TestVhost::log)
server loopback:8535 listening (TestUser::rewrite)
server loopback:8536 listening (TestModules::proxy)
server loopback:8537 listening (TestModperl::merge)
server loopback:8538 listening (TestModperl::perl_options)
server loopback:8539 listening (TestModperl::perl_options2)
server loopback:8540 listening (TestModperl::setupenv)
server loopback:8541 listening (TestProtocol::echo_bbs)
server loopback:8542 listening (TestProtocol::echo_bbs2)
server loopback:8543 listening (TestProtocol::echo_block)
server loopback:8544 listening (TestProtocol::echo_filter)
server loopback:8545 listening (TestProtocol::echo_nonblock)
server loopback:8546 listening (TestProtocol::echo_timeout)
server loopback:8547 listening (TestProtocol::pseudo_http)
server loopback:8548 listening (TestPreConnection::note)
server loopback:8549 listening (TestHooks::hookrun)
server loopback:8550 listening (TestHooks::init)
server loopback:8551 listening (TestHooks::stacked_handlers2)
server loopback:8552 listening (TestHooks::startup)
server loopback:8553 listening (TestHooks::trans)
server loopback:8554 listening (TestFilter::both_str_con_add)
server loopback:8555 listening (TestFilter::in_bbs_inject_header)
server loopback:8556 listening (TestFilter::in_bbs_msg)
server loopback:8557 listening (TestFilter::in_str_msg)
server loopback:8558 listening (TestDirective::perlmodule)
server loopback:8559 listening (TestDirective::perlrequire)
server loopback:8560 listening (TestDirective::perlloadmodule3)
server loopback:8561 listening (TestDirective::perlloadmodule4)
server loopback:8562 listening (TestDirective::perlloadmodule5)
server loopback:8563 listening (TestAPI::add_config)
server loopback:8564 listening (TestDirective::perlloadmodule6)
server loopback:8565 listening (TestHooks::push_handlers_anon)
t/apr-ext/brigade....Can't load ' /home/algold/mod_perl-2.0.4/blib/arch/auto/APR/Brigade/Briga de.so ' for module APR::Brigade: rtld: 0712-001 Symbol modperl_croak was referenced
from module /home/algold/mod_perl-2.0.4/blib/arch/auto/APR/Brigade/Briga de.so(), but a runtime definition
of the symbol was not found. at /usr/local/lib/perl5/5.8.0/aix/DynaLoader.pm line 229.
at /home/algold/mod_perl-2.0.4/blib/lib/APR/XSLoader.pm line 31
Compilation failed in require at /home/algold/mod_perl-2.0.4/t/lib/TestAPRlib/ line 15.
BEGIN failed--compilation aborted at /home/algold/mod_perl-2.0.4/t/lib/TestAPRlib/ line 15.
Compilation failed in require at t/apr-ext/brigade.t line 9.
BEGIN failed--compilation aborted at t/apr-ext/brigade.t line 9.
dubious
Test returned status 255 (wstat 65280, 0xff00)
FAILED--1 test script could be run, alas--no output ever seen
[warning] server loopback:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)
cat t/logs/error_log
END in modperl_extra.pl, pid=286742
[Thu Dec 04 14:26:54 2008] [notice] Apache/2.2.10 (Unix) world domination series/2.0 mod_perl/2.0.4 Perl/v5.8.0 configured -- resuming normal operations
[Thu Dec 04 14:26:54 2008] [info] Server built: Dec 2 2008 13:50:04
[Thu Dec 04 14:26:54 2008] [debug] prefork.c(1001): AcceptMutex: sysvsem (default: sysvsem)
[Thu Dec 04 14:26:56 2008] [info] Child process pid=286750 is exiting
[Thu Dec 04 14:26:56 2008] [info] Child process pid=409810 is exiting
[Thu Dec 04 14:26:56 2008] [info] Child process pid=286750 is exiting - server push
[Thu Dec 04 14:26:56 2008] [info] Child process pid=409810 is exiting - server push
END in modperl_extra.pl, pid=286750
END in modperl_extra.pl, pid=409810
[Thu Dec 04 14:26:56 2008] [info] removed PID file /home/algold/mod_perl-2.0.4/t/logs/httpd.pid (pid=290908)
[Thu Dec 04 14:26:56 2008] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=290908
perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=aix, osvers=, archname=aix
uname='aix aix-b80 3 5 000f216f4c00 '
config_args='-de'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -q32 -D_LARGE_FILES -qlonglong',
optimize='-O',
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -brtl -b32'
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -lgdbm -ldbm -ldb -ldl -lld -lm -lc -lcrypt -lbsd -lPW
perllibs=-lbind -lnsl -ldl -lld -lm -lc -lcrypt -lbsd -lPW
libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -bE:/usr/local/lib/perl5/5.8.0/aix/CORE/perl.exp'
cccdlflags=' ', lddlflags=' -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lc'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under aix
Compiled at Dec 3 2008 10:43:48
@INC:
/usr/local/lib/perl5/5.8.0/aix
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/aix
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl
.
cc is a symlink to the xlc AIX compiler.
lrwxrwxrwx 1 root system 16 Dec 4 13:55 /usr/bin/cc -> /usr/vac/bin/xlc
ldd Brigade.so
Brigade.so needs:
/usr/lib/librtl.a(shr.o)
/unix
nm Brigade.so | grep modperl_
.modperl_croak T 9504
.modperl_croak t 9504 40
modperl_croak U -
modperl_croak d 3724 4
Any help would be appreciated,
Thanks.
------=_Part_146457_30125100.1228363525347--