You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by David Weekly <da...@weekly.org> on 2006/06/03 06:11:03 UTC

[mp2] "make test" errors with apache 2.2.2

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
15 tests skipped.
Failed 2/231 test scripts, 99.13% okay. 3/2278 subtests failed, 99.87% okay.
[warning] server localhost.localdomain:8529 shutdown
[  error] error running tests (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Error 1

[relevant bit from apache/content_length_header]
# testing : HEAD /TestApache__content_length_header?set_content_length
C-L header
# expected: undef
# received: 25
not ok 17

[relevant bit from api/status.t]
# testing : code
# expected: 499
# received: 200
# Failed test 4 in t/api/status.t at line 35
not ok 4
# testing : code message
# expected: FooBared
# received: OK
# Failed test 5 in t/api/status.t at line 36
not ok 5




-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

  Errors configuring mod_perl

2. Used Components and their Configuration:

*** mod_perl version 2.000002

*** using /root/mod_perl-2.0.2/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_APXS        => /usr/local/apache2/bin/apxs
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1


*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.2.2
Server built:   Jun  1 2006 12:53:23
Server's Module Magic Number: 20051115:2
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"

*** /usr/bin/ldd /usr/local/apache2/bin/httpd
        libm.so.6 => /lib/tls/libm.so.6 (0xb7f02000)
        libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0
(0xb7eec000)
        libexpat.so.0 => /usr/local/apache2/lib/libexpat.so.0 (0xb7ecf000)
        libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0xb7eac000)
        librt.so.1 => /lib/tls/librt.so.1 (0xb7ea6000)
        libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7e79000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7e6a000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7e66000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7d31000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7f2a000)


*** (apr|apu)-config linking info

 -L/usr/local/apache2/lib -laprutil-1 -lexpat
 -L/usr/local/apache2/lib -lapr-1 -lrt -lcrypt  -lpthread -ldl



*** /usr/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
  Platform:
    osname=linux, osvers=2.6.15.4, archname=i386-linux-thread-multi
    uname='linux ninsei 2.6.15.4 #1 smp preempt mon feb 20 09:48:53
pst 2006 i686 gnulinux '
    config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN
-Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr
-Dprivlib=/usr/s
hare/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr
-Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5
-Dsiteprefix=/usr
/local -Dsitelib=/usr/local/share/perl/5.8.4
-Dsitearch=/usr/local/lib/perl/5.8.4 -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man
/man3 -Dsiteman1dir=/usr/local/man/man1
-Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -U
afs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.4
-Dd_dosuid -des'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    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 -I/usr/local/include -D_LARGEFILE_SO
URCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='3.3.5 (Debian 1:3.3.5-13)', 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.2.so, so=so, useshrplib=true, libperl=libperl.so.5.8.4
    gnulibc_version='2.3.2'
  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
  Built under linux
  Compiled at Mar 23 2006 21:49:08
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /etc/perl
    /usr/local/lib/perl/5.8.4
    /usr/local/share/perl/5.8.4
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl/5.8
    /usr/share/perl/5.8
    /usr/local/lib/site_perl
    .

*** Packages of interest status:

Apache2            : 2.2.2
Apache2::Request   : -
CGI                : 3.04
ExtUtils::MakeMaker: 6.17
LWP                : 5.803
mod_perl           : -
mod_perl2          : -


3. This is the core dump trace: (if you get a core dump):

 N/A

This report was generated by t/REPORT on Fri Jun  2 23:41:35 2006 GMT.

Re: [mp2] "make test" errors with apache 2.2.2

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
David Weekly wrote:
> 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
> 15 tests skipped.
> Failed 2/231 test scripts, 99.13% okay. 3/2278 subtests failed, 99.87% 
Both were just fixed in SVN and will be in the soonish to be 2.0.3 release.

-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."