You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Patrick Rutkowski <ru...@gmail.com> on 2006/06/17 06:55:50 UTC
Serious mod_perl-2 test issues
I'm compiling Apache-2.2.2 with mod_perl-2 on OpenBSD 3.9 as well as
a with a manually compiled perl-5.8.8. The issues I'm having is at
the mod_perl test suite, these are the results:
~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!
~!~!~!~!~!~!~!~!~!~!~
Failed Test Stat Wstat Total Fail Failed List
of Failed
------------------------------------------------------------------------
-------
t/apache/content_length_header.t 27 1 3.70% 17
t/api/status.t 6 2 33.33% 4-5
t/apr-ext/base64.t 0 11 3 6 200.00% 1-3
t/apr-ext/brigade.t 2 512 ?? ?? % ??
t/apr-ext/bucket.t 2 512 ?? ?? % ??
t/apr-ext/date.t 0 11 14 28 200.00% 1-14
t/apr-ext/finfo.t 2 512 ?? ?? % ??
t/apr-ext/pool.t 2 512 ?? ?? % ??
t/apr-ext/string.t 0 11 5 10 200.00% 1-5
t/apr-ext/table.t 2 512 ?? ?? % ??
t/apr-ext/threadmutex.t 2 512 ?? ?? % ??
t/apr-ext/uri.t 2 512 ?? ?? % ??
t/apr-ext/util.t 0 11 4 8 200.00% 1-4
t/apr-ext/uuid.t 0 11 3 4 133.33% 2-3
8 tests skipped.
Failed 14/231 test scripts, 93.94% okay. 31/2048 subtests failed,
98.49% okay.
[warning] server localhost.rutski89.com: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 in /opt/kit/mod_perl-2.0.2 (line 1098 of Makefile).
~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!
~!~!~!~!~!~!~!~!~!~!~
I looked into t/api/status.t and t/apache/content_length_header.t,
and the errors there are not to game breaking, so I'll let them
slide. What I am worried about however are all the failed t/apr-ext
tests. Here is a snippet showing how these t/apr-ext tests fail
because of this strange undefined symbol issues.
~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!
~!~!~!~!~!~!~!~!~!~!~
t/apr-ext/brigade......................./opt/perl/bin/perl:/opt/kit/
mod_perl-2.0.2/blib/arch/auto/APR/Pool/Pool.so: undefined symbol
'apr_pool_cleanup_null'
Can't load '/opt/kit/mod_perl-2.0.2/blib/arch/auto/APR/Pool/Pool.so'
for module APR::Pool: Cannot load specified object at /opt/perl/lib/
5.8.8/OpenBSD.i386-openbsd/DynaLoader.pm line 230.
at /opt/kit/mod_perl-2.0.2/blib/lib/APR/XSLoader.pm line 30
Compilation failed in require at /opt/kit/mod_perl-2.0.2/t/lib/
TestAPRlib/brigade.pm line 14.
BEGIN failed--compilation aborted at /opt/kit/mod_perl-2.0.2/t/lib/
TestAPRlib/brigade.pm line 14.
Compilation failed in require at t/apr-ext/brigade.t line 7.
BEGIN failed--compilation aborted at t/apr-ext/brigade.t line 7.
~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!
~!~!~!~!~!~!~!~!~!~!~
I get the same types of errors for each other t/apr-ext/ test as
well, but I didn't feel the need to post them all.
The test t/apr-ext/uuid.t says:
# XXX: only when apr-config is found APR will be linked against
# libapr/libaprutil, probably need a more intuitive method for this
# prerequisite
# also need to check whether we build against the source tree, in
# which case we APR.so won't be linked against libapr/libaprutil
After reading this I ran an ldd on /opt/apache2/httpd (my manually
compiled version of apache) and saw that it was liking against the
system's APR, and not it's own. AHAH! I thought. I thought the
solution would be to build apr and apr-util from source as dictated
in the apr/apr-util >= 1.2 section in these docs: http://
httpd.apache.org/docs/2.2/install.html So I did, and then I
configured and built and tested mod_perl-2 with:
perl Makefile.PL MP_APXS=/opt/apache2/bin/apxs MP_APR_CONFIG=/opt/apr/
bin/apr-1-config && make && make test
But alas, I got the same unresolved symbol errors on the "make test"
part.
What in the world am I supposed to do to fix this? I'm totally at a
loss :-(
Patrick R.