RE: [mp2] make test failures

[prev] [thread] [next] [Date index for 2004/11/02]

From: CALDWELL, JERAMIE W \(SWBT\)
Subject: RE: [mp2] make test failures
Date: 16:09 on 02 Nov 2004
Okay Stas, I appreciate the prompt response, here's the information you
asked for.  First the output of t/REPORT, then the result of t/TEST
-no-httpd -v apr-ext/base64.t, & t/TEST -no-httpd -v apr/constants.t.


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

  [DESCRIBE THE PROBLEM HERE]

2. Used Components and their Configuration:

*** mod_perl version 1.9917

*** using /tmp/mod_perl/mod_perl-1.99_17/lib/Apache/BuildConfig.pm

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


*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.52
Server built:   Oct 12 2004 03:56:01
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR=3D"server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_FCNTL_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT=3D"/usr/local/apache2"
 -D SUEXEC_BIN=3D"/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG=3D"logs/httpd.pid"
 -D DEFAULT_SCOREBOARD=3D"logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE=3D"logs/accept.lock"
 -D DEFAULT_ERRORLOG=3D"logs/error_log"
 -D AP_TYPES_CONFIG_FILE=3D"conf/mime.types"
 -D SERVER_CONFIG_FILE=3D"conf/httpd.conf"


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

 -L/usr/local/apache2/lib -lapr-0 -lsendfile -lrt -lm -lsocket -lnsl
-lresolv  -lpthread -ldl
 -L/usr/local/apache2/lib -laprutil-0 -lgdbm -ldb-4.2 -lexpat -liconv



*** /usr/local/ActivePerl-5.8/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
  Platform:
    osname=3Dsolaris, osvers=3D2.6, archname=3Dsun4-solaris-thread-multi
    uname=3D'sunos sparky 5.6 generic_105181-35 sun4u sparc
sunw,ultra-5_10 '
    config_args=3D'-des -Dcc=3Dgcc -Dcf_by=3DActiveState
-Dcf_email=3Dsupport@ActiveState.com
    -Uinstallusrbinperl -Ud_sigsetjmp -Dusethreads -Duseithreads
-Ulocincpth=3D -Uloclibpth=3D -Accflags=3D-DNO_HASH_SEED
    -Dprefix=3D/usr/local/ActivePerl-5.8
-Dinc_version_list=3D5.8.1/$archname 5.8.1 5.8.0/$archname 5.8.0
-Duselargefiles'
    hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
    usethreads=3Ddefine use5005threads=3Dundef useithreads=3Ddefine
usemultiplicity=3Ddefine
    useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine =
usesocks=3Dundef
    use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef
    usemymalloc=3Dn, bincompat5005=3Dundef
  Compiler:
    cc=3D'gcc', ccflags =3D'-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-DNO_HASH_SEED -fno-strict-aliasing
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64',
    optimize=3D'-O',
    cppflags=3D'-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DNO_HASH_SEED
-fno-strict-aliasing'
    ccversion=3D'', gccversion=3D'2.95.2 19991024 (release)',
gccosandvers=3D'solaris2.6'
    intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, =
byteorder=3D4321
    d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, =
longdblsize=3D16
    ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, =
Off_t=3D'off_t',
lseeksize=3D8
    alignbytes=3D8, prototype=3Ddefine
  Linker and Libraries:
    ld=3D'gcc', ldflags =3D' '
    libpth=3D/usr/lib /usr/ccs/lib /usr/local/lib
    libs=3D-lsocket -lnsl -ldl -lm -lpthread -lc
    perllibs=3D-lsocket -lnsl -ldl -lm -lpthread -lc
    libc=3D/lib/libc.so, so=3Dso, useshrplib=3Dfalse, =
libperl=3Dlibperl.a
    gnulibc_version=3D''
  Dynamic Linking:
    dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, ccdlflags=3D' '
    cccdlflags=3D'-fPIC', lddlflags=3D'-G'


Characteristics of this binary (from libperl):=20
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        ActivePerl Build 809
        22218 Remove the caveat about detached threads crashing on
Windows
        22201 Avoid threads+win32 crash by freeing Perl interpreter
slightly later
        22169 Display 'out of memeory' errors using low-level I/O
        22159 Upgrade to Time::Hires 1.55
        22120 Make 'Configure -Dcf_by=3D...' work
        22051 Upgrade to Time::HiRes 1.54
        21540 Fix backward-compatibility issues in if.pm
  Built under solaris
  Compiled at Feb  3 2004 00:32:12
  %ENV:
    PERL_LWP_USE_HTTP_10=3D"1"
  @INC:
    /usr/local/ActivePerl-5.8/lib/5.8.3/sun4-solaris-thread-multi
    /usr/local/ActivePerl-5.8/lib/5.8.3
=20
/usr/local/ActivePerl-5.8/lib/site_perl/5.8.3/sun4-solaris-thread-multi
    /usr/local/ActivePerl-5.8/lib/site_perl/5.8.3
    /usr/local/ActivePerl-5.8/lib/site_perl
    .

*** Packages of interest status:

Apache::Request: -
CGI            : 3.05
LWP            : 5.75
mod_perl       : -


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

  [CORE TRACE COMES HERE]

This report was generated by ./REPORT on Tue Nov  2 15:10:18 2004 GMT.

-------------8<---------- End Bug Report --------------8<----------



# ./TEST -no-httpd -v apr-ext/base64.t
[warning] skipping httpd configuration
t/apr-ext/base64....Can't load
'/tmp/mod_perl/mod_perl-1.99_17/blib/arch/auto/APR/APR.so' for module
APR:
 ld.so.1: /usr/local/ActivePerl-5.8/bin/perl: fatal: libgdbm.so.3: open
failed:
 No such file or directory at
/usr/local/ActivePerl-5.8/lib/5.8.3/sun4-solaris-thread-multi/DynaLoader
.pm line 229.
 at /tmp/mod_perl/mod_perl-1.99_17/blib/lib/APR/Base64.pm line 23
Compilation failed in require at
/tmp/mod_perl/mod_perl-1.99_17/blib/lib/APR/Base64.pm line 23.
BEGIN failed--compilation aborted at
/tmp/mod_perl/mod_perl-1.99_17/blib/lib/APR/Base64.pm line 23.
Compilation failed in require at
/tmp/mod_perl/mod_perl-1.99_17/t/lib/TestAPRlib/base64.pm line 11.
BEGIN failed--compilation aborted at
/tmp/mod_perl/mod_perl-1.99_17/t/lib/TestAPRlib/base64.pm line 11.
Compilation failed in require at t/apr-ext/base64.t line 7.
BEGIN failed--compilation aborted at t/apr-ext/base64.t line 7.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
FAILED--1 test script could be run, alas--no output ever seen
[  error] error running tests (please examine t/logs/error_log)




# ./TEST -no-httpd -v apr/constants.t
[warning] skipping httpd configuration
t/apr/constants....Can't load
'/tmp/mod_perl/mod_perl-1.99_17/blib/arch/auto/APR/APR.so' for module
APR:
 ld.so.1: /usr/local/ActivePerl-5.8/bin/perl: fatal: libgdbm.so.3: open
failed:
 No such file or directory at
/usr/local/ActivePerl-5.8/lib/5.8.3/sun4-solaris-thread-multi/DynaLoader
.pm line 229.
 at /tmp/mod_perl/mod_perl-1.99_17/blib/lib/APR/Const.pm line 18
Compilation failed in require at
/tmp/mod_perl/mod_perl-1.99_17/blib/lib/APR/Const.pm line 18.
BEGIN failed--compilation aborted at
/tmp/mod_perl/mod_perl-1.99_17/blib/lib/APR/Const.pm line 18.
Compilation failed in require at t/apr/constants.t line 10.
BEGIN failed--compilation aborted at t/apr/constants.t line 10.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
FAILED--1 test script could be run, alas--no output ever seen
[  error] error running tests (please examine t/logs/error_log)




-----Original Message-----
From: Stas Bekman [mailto:stas@xxxxxx.xxx]=20
Sent: Monday, November 01, 2004 4:16 PM
To: CALDWELL, JERAMIE W (SWBT)
Cc: modperl@xxxx.xxxxxx.xxx
Subject: Re: [mp2] make test failures


CALDWELL, JERAMIE W (SWBT) wrote:
> First off, I am new to the world of mod_perl so please bear with me.

No worries, Jeramie :)

> Solaris 5.9 on a v440
> Apache 2.0.5.2
> mod_perl 1.99_17
> perl 5.8.3 (ActivePerl)
>=20
> The 'make test' failures are as follows:
> 	-every test script in the 't/apr-ext' directory fails

These tests aren't mod_perl ones (they are for APR:: API used
externally)

> 	-the 'constants.t' test script in the 't/apr' fails

You didn't show the output of t/TEST -v constants.t

> *** apr-ext/base64.t test output:
>=20
> # ./TEST -clean
> # ./TEST -verbose apr-ext/base64.t

> laris-thread-multi/DynaLoader.pm line 229.
>  at /tmp/mod_perl/mod_perl-1.99_17/blib/lib/APR/Base64.pm line 23
> Compilation failed in require at
> /tmp/mod_perl/mod_perl-1.99_17/blib/lib/APR/Base64.pm line 23.

Any idea where the beginning of the error message have disappeared?
Please=20
run instead:

t/TEST -no-httpd -v apr-ext/base64.t

> *** apr-ext/base64.t error_log output:

for this group of tests error_log is irrelevant, since Apache is not
used.

> *** perl -V output:

I'd like to see a proper report, as generated by t/REPORT:
http://perl.apache.org/docs/2.0/user/help/help.html#Important_Informatio
n

--=20
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

[mp2] make test failures
CALDWELL, JERAMIE W \(SWBT\) 21:35 on 01 Nov 2004

Re: [mp2] make test failures
Stas Bekman 22:16 on 01 Nov 2004

RE: [mp2] make test failures
CALDWELL, JERAMIE W \(SWBT\) 16:09 on 02 Nov 2004

Re: [mp2] make test failures
Stas Bekman 00:24 on 03 Nov 2004

RE: [mp2] make test failures
CALDWELL, JERAMIE W \(SWBT\) 19:08 on 03 Nov 2004

Re: [mp2] make test failures
Stas Bekman 23:15 on 03 Nov 2004

RE: [mp2] make test failures
CALDWELL, JERAMIE W \(SWBT\) 14:14 on 04 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52