Hi,

I was trying to install the latest stable libapreq and got several
errors on the tests. I also downloaded the latest snapshot, but the
errors didn't go away. I am sending the error logs and stderr output,
as well as some pertinent info about my environment.
I'd appreciate any help.

Arsh


STDERR:

[Wed Aug 02 23:11:43 2006] [notice] Apache/2.2.3 (Unix)
mod_apreq2-20051231/2.6.0-dev mod_perl/2.0.2 Perl/v5.8.7 configured --
resuming normal operations
[Wed Aug 02 23:11:43 2006] [info] Server built: Aug  1 2006 21:12:47
[Wed Aug 02 23:11:43 2006] [debug] prefork.c(991): AcceptMutex:
sysvsem (default: sysvsem)
[Wed Aug 02 23:11:45 2006] [error] [client 127.0.0.1] Can't call
method "as_string" on an undefined value at
/root/.cpan/build/httpd-apreq-2/glue/perl/t/response/TestApReq/cookie.pm
line 27.\n
[Wed Aug 02 23:11:46 2006] [info] removed PID file
/root/.cpan/build/httpd-apreq-2/glue/perl/t/logs/httpd.pid (pid=16387)
[Wed Aug 02 23:11:46 2006] [notice] caught SIGTERM, shutting down


# make test

Making all in .
make[1]: Entering directory `/root/.cpan/build/httpd-apreq-2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/.cpan/build/httpd-apreq-2'
Making all in include
make[1]: Entering directory `/root/.cpan/build/httpd-apreq-2/include'
make  all-am
make[2]: Entering directory `/root/.cpan/build/httpd-apreq-2/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/.cpan/build/httpd-apreq-2/include'
make[1]: Leaving directory `/root/.cpan/build/httpd-apreq-2/include'
Making all in library
make[1]: Entering directory `/root/.cpan/build/httpd-apreq-2/library'
make  all-am
make[2]: Entering directory `/root/.cpan/build/httpd-apreq-2/library'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/.cpan/build/httpd-apreq-2/library'
make[1]: Leaving directory `/root/.cpan/build/httpd-apreq-2/library'
Making all in module
make[1]: Entering directory `/root/.cpan/build/httpd-apreq-2/module'
Making all in apache2
make[2]: Entering directory `/root/.cpan/build/httpd-apreq-2/module/apache2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/.cpan/build/httpd-apreq-2/module/apache2'
make[2]: Entering directory `/root/.cpan/build/httpd-apreq-2/module'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/.cpan/build/httpd-apreq-2/module'
make[1]: Leaving directory `/root/.cpan/build/httpd-apreq-2/module'
Making all in glue
make[1]: Entering directory `/root/.cpan/build/httpd-apreq-2/glue'
cd perl; make
make[2]: Entering directory `/root/.cpan/build/httpd-apreq-2/glue/perl'
make[3]: Entering directory `/root/.cpan/build/httpd-apreq-2/glue/perl/xs'
make[4]: Entering directory `/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR'
make[5]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request'
make[6]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Apache2'
make[6]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Apache2'
make[6]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/CGI'
make[6]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/CGI'
make[6]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Cookie'
make[6]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Cookie'
make[6]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Error'
make[6]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Error'
make[6]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Hook'
make[6]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Hook'
make[6]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Param'
make[6]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Param'
make[6]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Parser'
make[6]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Parser'
make[5]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request'
make[4]: Leaving directory `/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR'
make[3]: Leaving directory `/root/.cpan/build/httpd-apreq-2/glue/perl/xs'
make[2]: Leaving directory `/root/.cpan/build/httpd-apreq-2/glue/perl'
make[1]: Leaving directory `/root/.cpan/build/httpd-apreq-2/glue'
cd library; make test
make[1]: Entering directory `/root/.cpan/build/httpd-apreq-2/library'
make  all-am
make[2]: Entering directory `/root/.cpan/build/httpd-apreq-2/library'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/.cpan/build/httpd-apreq-2/library'
cd t; make test
make[2]: Entering directory `/root/.cpan/build/httpd-apreq-2/library/t'
/usr/bin/perl -MTest::Harness -e 'runtests(@ARGV)' version.t cookie.t
params.t parsers.t error.t util.t
version....ok
cookie.....ok
params.....ok
parsers....ok
error......ok
util.......ok
All tests successful.
Files=6, Tests=747,  8 wallclock secs ( 8.01 cusr +  0.06 csys =  8.07 CPU)
make[2]: Leaving directory `/root/.cpan/build/httpd-apreq-2/library/t'
make[1]: Leaving directory `/root/.cpan/build/httpd-apreq-2/library'
cd module; make test
make[1]: Entering directory `/root/.cpan/build/httpd-apreq-2/module'
Making all in apache2
make[2]: Entering directory `/root/.cpan/build/httpd-apreq-2/module/apache2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/.cpan/build/httpd-apreq-2/module/apache2'
make[2]: Entering directory `/root/.cpan/build/httpd-apreq-2/module'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/.cpan/build/httpd-apreq-2/module'
Making check in apache2
make[2]: Entering directory `/root/.cpan/build/httpd-apreq-2/module/apache2'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/root/.cpan/build/httpd-apreq-2/module/apache2'
make[2]: Entering directory `/root/.cpan/build/httpd-apreq-2/module'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/root/.cpan/build/httpd-apreq-2/module'
if [ ! -d t/cgi-bin ]; then mkdir t/cgi-bin; fi
cp -f test_cgi t/cgi-bin
cp -Rp .libs t/cgi-bin
MAKE=make /usr/bin/perl t/TEST
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl
/root/.cpan/build/httpd-apreq-2/module/t/TEST
[  debug] loading custom config data from:
'/usr/local/lib/perl/5.8.7/Apache/TestConfigData.pm'
[  debug] configuring httpd
[  debug] Using httpd: /usr/local/apache2/bin/httpd
[  debug] isolated httpd_info VERSION = Apache/2.2.3
[  debug] isolated httpd_info BUILT = Aug  1 2006 21:12:47
[  debug] isolated httpd_info MODULE_MAGIC_NUMBER = 20051115:3
[  debug] isolated httpd_info SERVER_MPM = Prefork
[  debug] isolated httpd_defines APACHE_MPM_DIR = server/mpm/prefork
[  debug] isolated httpd_defines APR_HAS_SENDFILE = 1
[  debug] isolated httpd_defines APR_HAS_MMAP = 1
[  debug] isolated httpd_defines APR_HAVE_IPV6 (IPv4-mapped addresses
enabled) = 1
[  debug] isolated httpd_defines APR_USE_SYSVSEM_SERIALIZE = 1
[  debug] isolated httpd_defines APR_USE_PTHREAD_SERIALIZE = 1
[  debug] isolated httpd_defines SINGLE_LISTEN_UNSERIALIZED_ACCEPT = 1
[  debug] isolated httpd_defines APR_HAS_OTHER_CHILD = 1
[  debug] isolated httpd_defines AP_HAVE_RELIABLE_PIPED_LOGS = 1
[  debug] isolated httpd_defines DYNAMIC_MODULE_LIMIT = 128
[  debug] isolated httpd_defines HTTPD_ROOT = /usr/local/apache2
[  debug] isolated httpd_defines SUEXEC_BIN = /usr/local/apache2/bin/suexec
[  debug] isolated httpd_defines DEFAULT_PIDLOG = logs/httpd.pid
[  debug] isolated httpd_defines DEFAULT_SCOREBOARD = logs/apache_runtime_status
[  debug] isolated httpd_defines DEFAULT_LOCKFILE = logs/accept.lock
[  debug] isolated httpd_defines DEFAULT_ERRORLOG = logs/error_log
[  debug] isolated httpd_defines AP_TYPES_CONFIG_FILE = conf/mime.types
[  debug] isolated httpd_defines SERVER_CONFIG_FILE = conf/httpd.conf
[  debug] inheriting config file: /usr/local/apache2/conf/httpd.conf
[  debug] using httpd.conf inherited ServerRoot to resolve
conf/extra/httpd-manual.conf
[  debug] conf/extra/httpd-manual.conf successfully resolved to
existing file /usr/local/apache2/conf/extra/httpd-manual.conf
[  debug] inheriting config file:
/usr/local/apache2/conf/extra/httpd-manual.conf
[  debug] using httpd.conf inherited ServerRoot to resolve modules/mod_perl.so
[  debug] modules/mod_perl.so successfully resolved to existing file
/usr/local/apache2/modules/mod_perl.so
[  debug] Found: perl_module => mod_perl.c
[  debug] LoadModule perl_module mod_perl.c
[  debug] using httpd.conf inherited ServerRoot to resolve modules/mod_apreq2.so
[  debug] modules/mod_apreq2.so successfully resolved to existing file
/usr/local/apache2/modules/mod_apreq2.so
[  debug] Found: apreq_module => mod_apreq2.c
[  debug] Skipping LoadModule of mod_apreq2.c
[  debug] using httpd.conf inherited ServerRoot to resolve conf/mime.types
[  debug] conf/mime.types successfully resolved to existing file
/usr/local/apache2/conf/mime.types
[  debug] Matched Apache revision Apache/2.2.3 2
[warning] root mode: changing the files ownership to 'nobody' (65534:65534)
[warning] testing whether 'nobody' is able to -rwx
/root/.cpan/build/httpd-apreq-2/module/t
"/usr/bin/perl" -Mlib=/usr/local/lib/perl/5.8.7 -MApache::TestRun -e
'eval { Apache::TestRun::run_root_fs_test(65534, 65534,
q[/root/.cpan/build/httpd-apreq-2/module/t]) }';


[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
/usr/local/apache2/bin/httpd  -d
/root/.cpan/build/httpd-apreq-2/module/t -f
/root/.cpan/build/httpd-apreq-2/module/t/conf/httpd.conf -D APACHE2 -D
PERL_USEITHREADS
using Apache/2.2.3 (prefork MPM)

waiting 60 seconds for server to start: .
waiting 60 seconds for server to start: ok (waited 0 secs)
server localhost.localdomain:8529 started
server localhost.localdomain:8530 listening (proxy_http_https)
server localhost.localdomain:8531 listening (proxy_https_https)
server localhost.localdomain:8532 listening (proxy_https_http)
[  debug] configuring httpd
[  debug] Using httpd: /usr/local/apache2/bin/httpd
[  debug] isolated httpd_info VERSION = Apache/2.2.3
[  debug] isolated httpd_info BUILT = Aug  1 2006 21:12:47
[  debug] isolated httpd_info MODULE_MAGIC_NUMBER = 20051115:3
[  debug] isolated httpd_info SERVER_MPM = Prefork
[  debug] isolated httpd_defines APACHE_MPM_DIR = server/mpm/prefork
[  debug] isolated httpd_defines APR_HAS_SENDFILE = 1
[  debug] isolated httpd_defines APR_HAS_MMAP = 1
[  debug] isolated httpd_defines APR_HAVE_IPV6 (IPv4-mapped addresses
enabled) = 1
[  debug] isolated httpd_defines APR_USE_SYSVSEM_SERIALIZE = 1
[  debug] isolated httpd_defines APR_USE_PTHREAD_SERIALIZE = 1
[  debug] isolated httpd_defines SINGLE_LISTEN_UNSERIALIZED_ACCEPT = 1
[  debug] isolated httpd_defines APR_HAS_OTHER_CHILD = 1
[  debug] isolated httpd_defines AP_HAVE_RELIABLE_PIPED_LOGS = 1
[  debug] isolated httpd_defines DYNAMIC_MODULE_LIMIT = 128
[  debug] isolated httpd_defines HTTPD_ROOT = /usr/local/apache2
[  debug] isolated httpd_defines SUEXEC_BIN = /usr/local/apache2/bin/suexec
[  debug] isolated httpd_defines DEFAULT_PIDLOG = logs/httpd.pid
[  debug] isolated httpd_defines DEFAULT_SCOREBOARD = logs/apache_runtime_status
[  debug] isolated httpd_defines DEFAULT_LOCKFILE = logs/accept.lock
[  debug] isolated httpd_defines DEFAULT_ERRORLOG = logs/error_log
[  debug] isolated httpd_defines AP_TYPES_CONFIG_FILE = conf/mime.types
[  debug] isolated httpd_defines SERVER_CONFIG_FILE = conf/httpd.conf
[  debug] inheriting config file: /usr/local/apache2/conf/httpd.conf
[  debug] using httpd.conf inherited ServerRoot to resolve
conf/extra/httpd-manual.conf
[  debug] conf/extra/httpd-manual.conf successfully resolved to
existing file /usr/local/apache2/conf/extra/httpd-manual.conf
[  debug] inheriting config file:
/usr/local/apache2/conf/extra/httpd-manual.conf
[  debug] using httpd.conf inherited ServerRoot to resolve modules/mod_perl.so
[  debug] modules/mod_perl.so successfully resolved to existing file
/usr/local/apache2/modules/mod_perl.so
[  debug] Found: perl_module => mod_perl.c
[  debug] LoadModule perl_module mod_perl.c
[  debug] using httpd.conf inherited ServerRoot to resolve modules/mod_apreq2.so
[  debug] modules/mod_apreq2.so successfully resolved to existing file
/usr/local/apache2/modules/mod_apreq2.so
[  debug] Found: apreq_module => mod_apreq2.c
[  debug] Skipping LoadModule of mod_apreq2.c
[  debug] using httpd.conf inherited ServerRoot to resolve conf/mime.types
[  debug] conf/mime.types successfully resolved to existing file
/usr/local/apache2/conf/mime.types
[  debug] Matched Apache revision Apache/2.2.3 2
t/big_request....skipped
       all skipped: no reason given
t/cgi............skipped
       all skipped: no reason given
t/cookie.........skipped
       all skipped: no reason given
t/request........skipped
       all skipped: no reason given
All tests successful, 4 tests skipped.
Files=4, Tests=0,  1 wallclock secs ( 0.90 cusr +  0.06 csys =  0.96 CPU)
[warning] root mode: restoring the original files ownership
[warning] server localhost.localdomain:8529 shutdown
make[1]: Leaving directory `/root/.cpan/build/httpd-apreq-2/module'
cd glue/perl; make test
make[1]: Entering directory `/root/.cpan/build/httpd-apreq-2/glue/perl'
make[2]: Entering directory `/root/.cpan/build/httpd-apreq-2/glue/perl/xs'
make[3]: Entering directory `/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR'
make[4]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request'
make[5]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Apache2'
make[5]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Apache2'
make[5]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/CGI'
make[5]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/CGI'
make[5]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Cookie'
make[5]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Cookie'
make[5]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Error'
make[5]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Error'
make[5]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Hook'
make[5]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Hook'
make[5]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Param'
make[5]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Param'
make[5]: Entering directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Parser'
make[5]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request/Parser'
make[4]: Leaving directory
`/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR/Request'
make[3]: Leaving directory `/root/.cpan/build/httpd-apreq-2/glue/perl/xs/APR'
make[2]: Leaving directory `/root/.cpan/build/httpd-apreq-2/glue/perl/xs'
/usr/bin/perl -Iblib/arch -Iblib/lib \
        t/TEST  -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl
/root/.cpan/build/httpd-apreq-2/glue/perl/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
APACHE_TEST_USER= APACHE_TEST_APXS= \
        /usr/bin/perl -Iblib/arch -Iblib/lib \
        t/TEST  -bugreport -verbose=1
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl
/root/.cpan/build/httpd-apreq-2/glue/perl/t/TEST -bugreport -verbose=1
[warning] root mode: changing the files ownership to 'nobody' (65534:65534)
[warning] testing whether 'nobody' is able to -rwx
/root/.cpan/build/httpd-apreq-2/glue/perl/t
"/usr/bin/perl" -Mlib=/usr/local/lib/perl/5.8.7 -MApache::TestRun -e
'eval { Apache::TestRun::run_root_fs_test(65534, 65534,
q[/root/.cpan/build/httpd-apreq-2/glue/perl/t]) }';


[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
/usr/local/apache2/bin/httpd  -d
/root/.cpan/build/httpd-apreq-2/glue/perl/t -f
/root/.cpan/build/httpd-apreq-2/glue/perl/t/conf/httpd.conf -D APACHE2
-D PERL_USEITHREADS
using Apache/2.2.3 (prefork MPM)

waiting 60 seconds for server to start: .[Wed Aug 02 23:11:43 2006]
[warn] PassEnv variable PERL5LIB was undefined

waiting 60 seconds for server to start: ok (waited 0 secs)
server localhost.localdomain:8529 started
t/api/cookie.........1..31
# Running under perl version 5.008007 for linux
# Current time local: Wed Aug  2 23:11:43 2006
# Current time GMT:   Thu Aug  3 06:11:43 2006
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.27
ok 1
# testing : scalar jar(foo)
# expected: 1
# received: 1
ok 2
# testing : scalar jar(bar)
# expected: 2
# received: 2
ok 3
# testing : scalar jar(quux)
# expected: 4
# received: 4
ok 4
# testing : list jar(foo)
# expected: 1 3
# received: 1 3
ok 5
# testing : list jar(bar)
# expected: 2
# received: 2
ok 6
# testing : list jar(quux)
# expected: 4
# received: 4
ok 7
ok 8
# testing : $jar->{foo} == 1
# expected: 1
# received: 1
ok 9
# testing : $jar->{bar} == 2
# expected: 2
# received: 2
ok 10
# testing : $jar->{quux} == 4
# expected: 4
# received: 4
ok 11
# testing : keys %$jar
# expected: foo bar foo quux
# received: foo bar foo quux
ok 12
# testing : values %$jar
# expected: 1 2 3 4
# received: 1 2 3 4
ok 13
# testing : each %$jar: 0
# expected: foo 1
# received: foo 1
ok 14
# testing : each %$jar: 1
# expected: bar 2
# received: bar 2
ok 15
# testing : each %$jar: 2
# expected: foo 3
# received: foo 3
ok 16
# testing : each %$jar: 3
# expected: quux 4
# received: quux 4
ok 17
# testing : $jar->get("foo")
# expected: 1 3
# received: 1 3
ok 18
ok 19
# testing : is tainted: 1
# expected: 1
# received: 1
ok 20
# testing : is tainted: 2
# expected: 1
# received: 1
ok 21
# testing : is tainted: 3
# expected: 1
# received: 1
ok 22
# testing : is tainted: 4
# expected: 1
# received: 1
ok 23
# testing : not tainted: 1
# expected: 0
# received: 0
ok 24
# testing : not tainted: 2
# expected: 0
# received: 0
ok 25
# testing : not tainted: 3
# expected: 0
# received: 0
ok 26
# testing : not tainted: 4
# expected: 0
# received: 0
ok 27
# WARNING!!! t_cmp() argument order has changed.
# use of a regular expression as the first argument
# is deprecated.  support will be removed soon.
# testing : Bad class name
# expected: (?-xism:^Usage)
# received: Usage: APR::Request::Cookie::Table::cookie_class($table,
$class): class APR::Request::Param is not derived from
APR::Request::Cookie at
/root/.cpan/build/httpd-apreq-2/glue/perl/t/response/TestAPI/cookie.pm
line 54.
ok 28
# testing : old class
# expected: APR::Request::Cookie
# received: APR::Request::Cookie
ok 29
# testing : class upgrade
# expected: APR::Request::Cookie::Table=HASH(0x8aa8e64)
# received: APR::Request::Cookie::Table=HASH(0x8aa8e64)
ok 30
ok 31
ok
t/api/error..........1..3
# Running under perl version 5.008007 for linux
# Current time local: Wed Aug  2 23:11:43 2006
# Current time GMT:   Thu Aug  3 06:11:43 2006
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.27
ok 1
ok 2
ok 3
ok
t/api/module.........1..9
# Running under perl version 5.008007 for linux
# Current time local: Wed Aug  2 23:11:43 2006
# Current time GMT:   Thu Aug  3 06:11:43 2006
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.27
ok 1
# testing : default brigade limit is 256K
# expected: 262144
# received: 262144
ok 2
ok 3
# testing : brigade_limit reset to 1K
# expected: 1024
# received: 1024
ok 4
ok 5
# testing : read_limit reset to 1M
# expected: 1048576
# received: 1048576
ok 6
ok 7
ok 8
# testing : temp dir reset to /tmp
# expected: /tmp
# received: /tmp
ok 9
ok
t/api/param..........1..31
# Running under perl version 5.008007 for linux
# Current time local: Wed Aug  2 23:11:43 2006
# Current time GMT:   Thu Aug  3 06:11:43 2006
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.27
ok 1
# testing : scalar args(foo)
# expected: 1
# received: 1
ok 2
# testing : scalar args(bar)
# expected: 2
# received: 2
ok 3
# testing : scalar args(quux)
# expected: 4
# received: 4
ok 4
# testing : list args(foo)
# expected: 1 3
# received: 1 3
ok 5
# testing : list args(bar)
# expected: 2
# received: 2
ok 6
# testing : list args(quux)
# expected: 4
# received: 4
ok 7
ok 8
# testing : $args->{foo} == 1
# expected: 1
# received: 1
ok 9
# testing : $args->{bar} == 2
# expected: 2
# received: 2
ok 10
# testing : $args->{quux} == 4
# expected: 4
# received: 4
ok 11
# testing : keys %$args
# expected: foo bar foo quux
# received: foo bar foo quux
ok 12
# testing : values %$args
# expected: 1 2 3 4
# received: 1 2 3 4
ok 13
# testing : each %$args: 0
# expected: foo 1
# received: foo 1
ok 14
# testing : each %$args: 1
# expected: bar 2
# received: bar 2
ok 15
# testing : each %$args: 2
# expected: foo 3
# received: foo 3
ok 16
# testing : each %$args: 3
# expected: quux 4
# received: quux 4
ok 17
# testing : $args->get("foo")
# expected: 1 3
# received: 1 3
ok 18
ok 19
# testing : is tainted: 1
# expected: 1
# received: 1
ok 20
# testing : is tainted: 2
# expected: 1
# received: 1
ok 21
# testing : is tainted: 3
# expected: 1
# received: 1
ok 22
# testing : is tainted: 4
# expected: 1
# received: 1
ok 23
# testing : not tainted: 1
# expected: 0
# received: 0
ok 24
# testing : not tainted: 2
# expected: 0
# received: 0
ok 25
# testing : not tainted: 3
# expected: 0
# received: 0
ok 26
# testing : not tainted: 4
# expected: 0
# received: 0
ok 27
# WARNING!!! t_cmp() argument order has changed.
# use of a regular expression as the first argument
# is deprecated.  support will be removed soon.
# testing : Bad class name
# expected: (?-xism:^Usage)
# received: Usage: APR::Request::Param::Table::param_class($table,
$class): class APR::Request::Cookie is not derived from
APR::Request::Param at
/root/.cpan/build/httpd-apreq-2/glue/perl/t/response/TestAPI/param.pm
line 55.
ok 28
# testing : old class
# expected: APR::Request::Param
# received: APR::Request::Param
ok 29
# testing : class upgrade
# expected: APR::Request::Param::Table=HASH(0x8acbb24)
# received: APR::Request::Param::Table=HASH(0x8acbb24)
ok 30
ok 31
ok
t/apreq/big_input....1..0 # skipped: no reason given
skipped
       all skipped: no reason given
t/apreq/cgi..........# writing file:
/root/.cpan/build/httpd-apreq-2/glue/perl/t/cgi-bin/test_cgi.pl
1..0 # skipped: no reason given
# removing file: /root/.cpan/build/httpd-apreq-2/glue/perl/t/cgi-bin/test_cgi.pl
# removing dir tree: /root/.cpan/build/httpd-apreq-2/glue/perl/t/cgi-bin
skipped
       all skipped: no reason given
t/apreq/cookie.......# Failed test 7 in t/apreq/cookie.t at line 70
# Failed test 10 in t/apreq/cookie.t at line 110
# Failed test 11 in t/apreq/cookie.t at line 129
# Failed test 12 in t/apreq/cookie.t at line 148
1..13
# Running under perl version 5.008007 for linux
# Current time local: Wed Aug  2 23:11:45 2006
# Current time GMT:   Thu Aug  3 06:11:45 2006
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.27
# testing : new
# expected: new
# received: new
ok 1
# testing :
# expected: foo=; path=/quux; domain=example.com
# received: foo=; path=/quux; domain=example.com
ok 2
# testing : bake
# expected: foo=bake; path=/quux; domain=example.com
# received: foo=bake; path=/quux; domain=example.com
ok 3
# testing : new
# expected: new
# received: new
ok 4
# testing : netscape
# expected: ok
# received: ok
ok 5
# testing : rfc
# expected: "ok"
# received: "ok"
ok 6
# testing : encoded value with space
# expected: okie dokie
# received: encoded
not ok 7
# testing : bake
# expected: apache=ok
# received: apache=ok
ok 8
# testing : bake2
# expected: apache="ok"; Version=1;
path="http://localhost.localdomain:8529/TestApReq__cookie";
# received: apache="ok"; Version=1;
path="http://localhost.localdomain:8529/TestApReq__cookie";
ok 9
# testing : cookies
# expected: one="1"; Version=1
# received: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>500 Internal Server Error</title>
# </head><body>
# <h1>Internal Server Error</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
#  [EMAIL PROTECTED] and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# </body></html>
not ok 10
# testing : cookies
# expected: two="2"; Version=1 two="22"; Version=1
# received: two="22"; Version=1
not ok 11
# testing : cookies
# expected: one two three two
# received: two
not ok 12
# testing : overload
# expected: one="1"; Version=1
# received: one="1"; Version=1
ok 13
FAILED tests 7, 10-12
        Failed 4/13 tests, 69.23% okay
t/apreq/inherit......1..0 # skipped: no reason given
skipped
       all skipped: no reason given
t/apreq/request......1..0 # skipped: no reason given
skipped
       all skipped: no reason given
t/apreq/upload.......1..0 # skipped: no reason given
skipped
       all skipped: no reason given
Failed Test      Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/apreq/cookie.t               13    4  30.77%  7 10-12
5 tests skipped.
Failed 1/10 test scripts, 90.00% okay. 4/87 subtests failed, 95.40% okay.
[warning] server localhost.localdomain:8529 shutdown
[  error] error running tests (please examine t/logs/error_log)
make[1]: *** [run_tests] Error 1
make[1]: Leaving directory `/root/.cpan/build/httpd-apreq-2/glue/perl'
make: *** [perl_test] Error 2


Envioronment info:

[EMAIL PROTECTED]:~# uname -a
Linux sash 2.6.15-26-386 #1 PREEMPT Mon Jul 17 19:52:53 UTC 2006 i686 GNU/Linux
[EMAIL PROTECTED]:~#

[EMAIL PROTECTED]:~# /usr/local/apache2/bin/httpd -V
Server version: Apache/2.2.3
Server built:   Aug  1 2006 21:12:47
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   32-bit
Server MPM:     Prefork
threaded:     no
  forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
[EMAIL PROTECTED]:~#

[EMAIL PROTECTED]:~# ldd /usr/local/apache2/bin/httpd
      linux-gate.so.1 =>  (0xffffe000)
      libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f43000)
      libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0
(0xb7f2e000)
      libexpat.so.0 => /usr/local/apache2/lib/libexpat.so.0 (0xb7f12000)
      libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0xb7ef0000)
      librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7ee8000)
      libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7ebb000)
      libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ea9000)
      libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7ea5000)
      libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d76000)
      /lib/ld-linux.so.2 (0xb7f78000)
[EMAIL PROTECTED]:~#

[EMAIL PROTECTED]:~# perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
  osname=linux, osvers=2.6.10, archname=i486-linux-gnu-thread-multi
  uname='linux rothera 2.6.10 #1 smp fri may 13 09:24:22 utc 2005 i686 gnulinu
x '
  config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-f
PIC -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darch
lib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendora
rch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.7
-Dsitearch=/usr/local/lib/perl/5.8.7 -Dman1dir=/usr/share/man/man1 -Dman3dir=/u
sr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man
/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh
-Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.7 -Dd_dosuid -des'
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=define use5005threads=undef useithreads=define usemultiplicity=de
fine
  useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
  use64bitint=undef use64bitall=undef uselongdouble=undef
  usemymalloc=n, bincompat5005=undef
Compiler:
  cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -
fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSE
T_BITS=64',
  optimize='-O2',
  cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-stric
t-aliasing -pipe -I/usr/local/include'
  ccversion='', gccversion='4.0.3 20051204 (prerelease) (Ubuntu 4.0.2-5ubuntu2
)', gccosandvers=''
  intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
  ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize
=8
  alignbytes=4, prototype=define
Linker and Libraries:
  ld='cc', ldflags =' -L/usr/local/lib'
  libpth=/usr/local/lib /lib /usr/lib
  libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
  perllibs=-ldl -lm -lpthread -lc -lcrypt
  libc=/lib/libc-2.3.5.so, so=so, useshrplib=true, libperl=libperl.so.5.8.7
  gnulibc_version='2.3.5'
Dynamic Linking:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
  cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
                      PERL_IMPLICIT_CONTEXT
Locally applied patches:
      SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
Built under linux
Compiled at Dec 16 2005 07:48:39
@INC:
  /etc/perl
  /usr/local/lib/perl/5.8.7
  /usr/local/share/perl/5.8.7
  /usr/lib/perl5
  /usr/share/perl5
  /usr/lib/perl/5.8
  /usr/share/perl/5.8
  /usr/local/lib/site_perl
  .

[EMAIL PROTECTED]:~# ldd /usr/bin/perl
      linux-gate.so.1 =>  (0xffffe000)
      libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f89000)
      libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f67000)
      libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f54000)
      libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e25000)
      libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7df8000)
      /lib/ld-linux.so.2 (0xb7f9f000)
[EMAIL PROTECTED]:~#

[EMAIL PROTECTED]:~# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-awt=gtk-default
--enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
--enable-mpfr --disable-werror --with-tune=pentium4
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
[EMAIL PROTECTED]:~#

Reply via email to