[mp2] make test errors

[mp2] make test errors

am 15.11.2008 06:48:03 von Craig

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

Per suggestion made in this forum, I gave up on static build and am
building dynamic.
Now I get 2 errors in make test, plus undef errors during 'sudo make
install'

t/hooks/authen_basic....1..4
# Running under perl version 5.008008 for freebsd
# Current time local: Fri Nov 14 21:00:32 2008
# Current time GMT: Sat Nov 15 05:00:32 2008
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.31
ok 1
ok 2
ok 3
# Failed test 4 in t/hooks/authen_basic.t at line 26
not ok 4
FAILED test 4
Failed 1/4 tests, 75.00% okay
t/hooks/authz...........1..4
# Running under perl version 5.008008 for freebsd
# Current time local: Fri Nov 14 21:00:33 2008
# Current time GMT: Sat Nov 15 05:00:33 2008
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.31
ok 1
ok 2
ok 3
# Failed test 4 in t/hooks/authz.t at line 19
not ok 4
FAILED test 4

------- also, in the subsequent 'sudo make install', every module was
tagged with:
Use of uninitialized value in length at /usr/local/lib/perl5/5.8.8/
ExtUtils/Command/MM.pm line 134.

So I changed said line 134 from
if (length $options{perm_rw}) {
to
if ($options{perm_rw}) {

Which made a subsequent retry of 'sudo make install' go without error
messages
-------

2. Used Components and their Configuration:

*** mod_perl version 2.000004

*** using /build/mod_perl-2.0.4/lib/Apache2/BuildConfig.pm

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


*** /usr/local/apache2.2.10/bin/httpd -V
Server version: Apache/2.2.10 (Unix)
Server built: Nov 14 2008 19:37:16
Server's Module Magic Number: 20051115:18
Server loaded: APR 1.3.3, APR-Util 1.3.4
Compiled using: APR 1.3.3, APR-Util 1.3.4
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_FLOCK_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.2.10"
-D SUEXEC_BIN="/usr/local/apache2.2.10/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.2.10/bin/httpd
/usr/local/apache2.2.10/bin/httpd:
libz.so.3 => /lib/libz.so.3 (0x28208000)
libm.so.4 => /lib/libm.so.4 (0x28219000)
libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x2822f000)
libaprutil-1.so.3 => /usr/local/apache2.2.10/lib/libaprutil-1.so.3
(0x2825b000)
libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x2827a000)
libapr-1.so.3 => /usr/local/apache2.2.10/lib/libapr-1.so.3 (0x2829b000)
libcrypt.so.3 => /lib/libcrypt.so.3 (0x282c3000)
libpthread.so.2 => /lib/libpthread.so.2 (0x282db000)
libc.so.6 => /lib/libc.so.6 (0x282ff000)


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

-L/usr/local/apache2.2.10/lib -laprutil-1 -lexpat -L/usr/local/lib
-L/usr/local/apache2.2.10/lib -lapr-1 -lcrypt -lpthread



*** /usr/local/bin/perl5.8.8 -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=freebsd, osvers=6.3-release, archname=i386-freebsd
uname='freebsd sakomina.securesites.net 6.3-release freebsd 6.3-
release #2: wed jun 25 14:30:46 mdt 2008
root@fc:usrsrcsysi386compilevkern i386 '
config_args='-Doptimize=-g -Dusedevel'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -
DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -
I/usr/local/include',
optimize='-g',
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-
strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/
include'
ccversion='', gccversion='3.4.6 [FreeBSD] 20060305',
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 ='-Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -lm -lcrypt -lutil -lc
perllibs=-lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING PERL_MALLOC_WRAP USE_LARGE_FILES
USE_PERLIO
Built under freebsd
Compiled at Nov 9 2008 02:19:52
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/local/lib/perl5/5.8.8/i386-freebsd
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/i386-freebsd
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/vendor_perl/5.8.7/i386-freebsd
/usr/local/lib/perl5/vendor_perl/5.8.7
/usr/local/lib/perl5/vendor_perl/5.8.7/i386-freebsd
.

*** Packages of interest status:

Apache2 : -
Apache2::Request : 2.07
CGI : 3.42
ExtUtils::MakeMaker: 6.48
LWP : 5.820
mod_perl : -
mod_perl2 : -


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

[CORE TRACE COMES HERE]

This report was generated by t/REPORT on Sat Nov 15 04:55:56 2008 GMT.

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

Note: Complete the rest of the details and post this bug report to
modperl perl.apache.org. To subscribe to the list send an empty
email to modperl-subscribe@perl.apache.org.

Re: [mp2] make test errors

am 15.11.2008 22:08:20 von Fred Moyer

On Fri, Nov 14, 2008 at 9:48 PM, wrote:
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
>
> Per suggestion made in this forum, I gave up on static build and am building
> dynamic.
> Now I get 2 errors in make test, plus undef errors during 'sudo make
> install'

Peter Chen saw these errors on Solaris, and I saw them yesterday on
Fedora Core 8. It is specific to Apache 2.2.10. I looked at it a bit
but don't know what a fix entails. I haven't tested with 2.2.9, but
suggest grabbing an earlier version of Apache that doesn't fail that
test if your application exhibits authentication problems.

>
> t/hooks/authen_basic....1..4
> # Running under perl version 5.008008 for freebsd
> # Current time local: Fri Nov 14 21:00:32 2008
> # Current time GMT: Sat Nov 15 05:00:32 2008
> # Using Test.pm version 1.25
> # Using Apache/Test.pm version 1.31
> ok 1
> ok 2
> ok 3
> # Failed test 4 in t/hooks/authen_basic.t at line 26
> not ok 4
> FAILED test 4
> Failed 1/4 tests, 75.00% okay
> t/hooks/authz...........1..4
> # Running under perl version 5.008008 for freebsd
> # Current time local: Fri Nov 14 21:00:33 2008
> # Current time GMT: Sat Nov 15 05:00:33 2008
> # Using Test.pm version 1.25
> # Using Apache/Test.pm version 1.31
> ok 1
> ok 2
> ok 3
> # Failed test 4 in t/hooks/authz.t at line 19
> not ok 4
> FAILED test 4
>
> ------- also, in the subsequent 'sudo make install', every module was tagged
> with:
> Use of uninitialized value in length at
> /usr/local/lib/perl5/5.8.8/ExtUtils/Command/MM.pm line 134.
>
> So I changed said line 134 from
> if (length $options{perm_rw}) {
> to
> if ($options{perm_rw}) {
>
> Which made a subsequent retry of 'sudo make install' go without error
> messages
> -------
>
> 2. Used Components and their Configuration:
>
> *** mod_perl version 2.000004
>
> *** using /build/mod_perl-2.0.4/lib/Apache2/BuildConfig.pm
>
> *** Makefile.PL options:
> MP_APR_LIB => aprext
> MP_APXS => /usr/local/apache2.2.10/bin/apxs
> MP_COMPAT_1X => 1
> MP_DEBUG => 1
> MP_GENERATE_XS => 1
> MP_LIBNAME => mod_perl
> MP_TRACE => 1
> MP_USE_DSO => 1
>
>
> *** /usr/local/apache2.2.10/bin/httpd -V
> Server version: Apache/2.2.10 (Unix)
> Server built: Nov 14 2008 19:37:16
> Server's Module Magic Number: 20051115:18
> Server loaded: APR 1.3.3, APR-Util 1.3.4
> Compiled using: APR 1.3.3, APR-Util 1.3.4
> 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_FLOCK_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.2.10"
> -D SUEXEC_BIN="/usr/local/apache2.2.10/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.2.10/bin/httpd
> /usr/local/apache2.2.10/bin/httpd:
> libz.so.3 => /lib/libz.so.3 (0x28208000)
> libm.so.4 => /lib/libm.so.4 (0x28219000)
> libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x2822f000)
> libaprutil-1.so.3 => /usr/local/apache2.2.10/lib/libaprutil-1.so.3
> (0x2825b000)
> libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x2827a000)
> libapr-1.so.3 => /usr/local/apache2.2.10/lib/libapr-1.so.3
> (0x2829b000)
> libcrypt.so.3 => /lib/libcrypt.so.3 (0x282c3000)
> libpthread.so.2 => /lib/libpthread.so.2 (0x282db000)
> libc.so.6 => /lib/libc.so.6 (0x282ff000)
>
>
> *** (apr|apu)-config linking info
>
> -L/usr/local/apache2.2.10/lib -laprutil-1 -lexpat -L/usr/local/lib
> -L/usr/local/apache2.2.10/lib -lapr-1 -lcrypt -lpthread
>
>
>
> *** /usr/local/bin/perl5.8.8 -V
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
> Platform:
> osname=freebsd, osvers=6.3-release, archname=i386-freebsd
> uname='freebsd sakomina.securesites.net 6.3-release freebsd 6.3-release
> #2: wed jun 25 14:30:46 mdt 2008 root@fc:usrsrcsysi386compilevkern i386 '
> config_args='-Doptimize=-g -Dusedevel'
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef use5005threads=undef useithreads=undef
> usemultiplicity=undef
> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
> use64bitint=undef use64bitall=undef uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include',
> optimize='-g',
> cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include'
> ccversion='', gccversion='3.4.6 [FreeBSD] 20060305', 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 ='-Wl,-E -L/usr/local/lib'
> libpth=/usr/lib /usr/local/lib
> libs=-lgdbm -lm -lcrypt -lutil -lc
> perllibs=-lm -lcrypt -lutil -lc
> libc=, so=so, useshrplib=false, libperl=libperl.a
> gnulibc_version=''
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
> cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: DEBUGGING PERL_MALLOC_WRAP USE_LARGE_FILES
> USE_PERLIO
> Built under freebsd
> Compiled at Nov 9 2008 02:19:52
> %ENV:
> PERL_LWP_USE_HTTP_10="1"
> @INC:
> /usr/local/lib/perl5/5.8.8/i386-freebsd
> /usr/local/lib/perl5/5.8.8
> /usr/local/lib/perl5/site_perl/5.8.8/i386-freebsd
> /usr/local/lib/perl5/site_perl/5.8.8
> /usr/local/lib/perl5/site_perl
> /usr/local/lib/perl5/vendor_perl/5.8.7/i386-freebsd
> /usr/local/lib/perl5/vendor_perl/5.8.7
> /usr/local/lib/perl5/vendor_perl/5.8.7/i386-freebsd
> .
>
> *** Packages of interest status:
>
> Apache2 : -
> Apache2::Request : 2.07
> CGI : 3.42
> ExtUtils::MakeMaker: 6.48
> LWP : 5.820
> mod_perl : -
> mod_perl2 : -
>
>
> 3. This is the core dump trace: (if you get a core dump):
>
> [CORE TRACE COMES HERE]
>
> This report was generated by t/REPORT on Sat Nov 15 04:55:56 2008 GMT.
>
> -------------8<---------- End Bug Report --------------8<----------
>
> Note: Complete the rest of the details and post this bug report to
> modperl perl.apache.org. To subscribe to the list send an empty
> email to modperl-subscribe@perl.apache.org.
>
>
>