perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CALDWELL, JERAMIE W \(SWBT\)" <jc2...@sbc.com>
Subject RE: [mp2] make test failures
Date Tue, 02 Nov 2004 16:09:27 GMT
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     => 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.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="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="/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"


*** (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=solaris, osvers=2.6, archname=sun4-solaris-thread-multi
    uname='sunos sparky 5.6 generic_105181-35 sun4u sparc
sunw,ultra-5_10 '
    config_args='-des -Dcc=gcc -Dcf_by=ActiveState
-Dcf_email=support@ActiveState.com
    -Uinstallusrbinperl -Ud_sigsetjmp -Dusethreads -Duseithreads
-Ulocincpth= -Uloclibpth= -Accflags=-DNO_HASH_SEED
    -Dprefix=/usr/local/ActivePerl-5.8
-Dinc_version_list=5.8.1/$archname 5.8.1 5.8.0/$archname 5.8.0
-Duselargefiles'
    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='gcc', ccflags ='-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-DNO_HASH_SEED -fno-strict-aliasing
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DNO_HASH_SEED
-fno-strict-aliasing'
    ccversion='', gccversion='2.95.2 19991024 (release)',
gccosandvers='solaris2.6'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' '
    libpth=/usr/lib /usr/ccs/lib /usr/local/lib
    libs=-lsocket -lnsl -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G'


Characteristics of this binary (from libperl): 
  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=...' 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="1"
  @INC:
    /usr/local/ActivePerl-5.8/lib/5.8.3/sun4-solaris-thread-multi
    /usr/local/ActivePerl-5.8/lib/5.8.3
 
/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@stason.org] 
Sent: Monday, November 01, 2004 4:16 PM
To: CALDWELL, JERAMIE W (SWBT)
Cc: modperl@perl.apache.org
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)
> 
> 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:
> 
> # ./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 
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

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org 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


Mime
View raw message