Skip Menu |

This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id: 17182
Status: resolved
Priority: 0/
Queue: mod_perl

People
Owner: pgollucci [...] p6m7g8.com
Requestors: cedric [...] dreamgnu.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.0.2
Fixed in: (no value)



Subject: mod_perl-2.0.2 cpan buils fails in test
during cpan build make test fails in t/apache/content_length_header # Running under perl version 5.008007 for linux # Current time local: Wed Jan 18 22:48:08 2006 # Current time GMT: Wed Jan 18 21:48:08 2006 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.27 # testing : GET /TestApache__content_length_header code # expected: 200 # received: 200 ok 1 # testing : GET /TestApache__content_length_header C-L header # expected: 0 # received: undef not ok 2 # Failed test 2 in t/apache/content_length_header.t at line 50 # testing : GET /TestApache__content_length_header content # expected: # received: ok 3 # testing : GET /TestApache__content_length_header?set_content_length code # expected: 200 # received: 200 ok 4 # testing : GET /TestApache__content_length_header?set_content_length C-L header # expected: 0 # received: 25 not ok 5 # Failed test 5 in t/apache/content_length_header.t at line 71 # testing : GET /TestApache__content_length_header?set_content_length content # expected: # received: ok 6 # testing : GET /TestApache__content_length_header?send_body code # expected: 200 # received: 200 ok 7 # testing : GET /TestApache__content_length_header?send_body C-L header # expected: undef # received: undef ok 8 # testing : GET /TestApache__content_length_header?send_body content # expected: This is a response string # received: This is a response string ok 9 # testing : GET /TestApache__content_length_header?send_body+set_content_length code # expected: 200 # received: 200 ok 10 # testing : GET /TestApache__content_length_header?send_body+set_content_length C-L header # expected: 25 # received: 25 ok 11 # testing : GET /TestApache__content_length_header?send_body+set_content_length content # expected: This is a response string # received: This is a response string ok 12 # testing : HEAD /TestApache__content_length_header code # expected: 200 # received: 200 ok 13 # testing : HEAD /TestApache__content_length_header C-L header # expected: undef # received: undef ok 14 # testing : HEAD /TestApache__content_length_header content # expected: # received: ok 15 # testing : HEAD /TestApache__content_length_header?set_content_length code # expected: 200 # received: 200 ok 16 # testing : HEAD /TestApache__content_length_header?set_content_length C-L header # expected: undef # received: 25 not ok 17 # Failed test 17 in t/apache/content_length_header.t at line 71 fail #2 # testing : HEAD /TestApache__content_length_header?set_content_length content # expected: # received: ok 18 # testing : HEAD /TestApache__content_length_header?send_body code # expected: 200 # received: 200 ok 19 # testing : HEAD /TestApache__content_length_header?send_body C-L header # expected: undef # received: undef ok 20 # testing : HEAD /TestApache__content_length_header?send_body content # expected: # received: ok 21 # testing : HEAD /TestApache__content_length_header?send_body+set_content_length code # expected: 200 # received: 200 ok 22 # testing : HEAD /TestApache__content_length_header?send_body+set_content_length C-L header # expected: 25 # received: 25 ok 23 # testing : HEAD /TestApache__content_length_header?send_body+set_content_length content # expected: # received: ok 24 # testing : HEAD /TestApache__content_length_header?head_no_body+set_content_length code # expected: 200 # received: 200 ok 25 # testing : HEAD /TestApache__content_length_header?head_no_body+set_content_length C-L header # expected: 25 # received: 25 ok 26 # testing : HEAD /TestApache__content_length_header?head_no_body+set_content_length content # expected: # received: ok 27 FAILED tests 2, 5, 17 Failed 3/27 tests, 88.89% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/apache/content_length_header.t 27 3 11.11% 2 5 17 Failed 1/1 test scripts, 0.00% okay. 3/27 subtests failed, 88.89% 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/ | +--------------------------------------------------------+ [DESCRIBE THE PROBLEM HERE] 2. Used Components and their Configuration: *** mod_perl version 2.000002 *** using /root/.cpan/build/mod_perl-2.0.2/lib/Apache2/BuildConfig.pm *** Makefile.PL options: MP_APR_LIB => aprext MP_APXS => /usr/bin/apxs2 MP_COMPAT_1X => 1 MP_GENERATE_XS => 1 MP_LIBNAME => mod_perl MP_USE_DSO => 1 *** /usr/sbin/apache2 -V Server version: Apache/2.0.54 Server built: Sep 5 2005 14:20:42 Server's Module Magic Number: 20020903:9 Architecture: 64-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_SYSVSEM_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="" -D SUEXEC_BIN="/usr/lib/apache2/suexec2" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf" *** /usr/bin/ldd /usr/sbin/apache2 libdl.so.2 => /lib/libdl.so.2 (0x0000002a9566e000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x0000002a95771000) libpcre.so.3 => /usr/lib/libpcre.so.3 (0x0000002a958a6000) libz.so.1 => /usr/lib/libz.so.1 (0x0000002a959b5000) libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x0000002a95ac9000) libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x0000002a95c01000) libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x0000002a95e3c000) libldap_r.so.2 => /usr/lib/libldap_r.so.2 (0x0000002a95f54000) liblber.so.2 => /usr/lib/liblber.so.2 (0x0000002a96090000) libdb-4.2.so => /usr/lib/libdb-4.2.so (0x0000002a9619e000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0x0000002a9637c000) libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x0000002a964a0000) librt.so.1 => /lib/librt.so.1 (0x0000002a965c5000) libm.so.6 => /lib/libm.so.6 (0x0000002a966ce000) libnsl.so.1 => /lib/libnsl.so.1 (0x0000002a96854000) libpthread.so.0 => /lib/libpthread.so.0 (0x0000002a9696b000) libc.so.6 => /lib/libc.so.6 (0x0000002a96a80000) /lib64/ld-linux-x86-64.so.2 (0x0000002a95556000) libresolv.so.2 => /lib/libresolv.so.2 (0x0000002a96cbe000) libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x0000002a96dd3000) libgnutls.so.11 => /usr/lib/libgnutls.so.11 (0x0000002a96eea000) libtasn1.so.2 => /usr/lib/libtasn1.so.2 (0x0000002a9705d000) libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x0000002a9716e000) libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x0000002a972ba000) *** (apr|apu)-config linking info -L/usr/lib -laprutil-0 -lldap -llber -ldb-4.2 -lexpat -L/usr/lib -lapr-0 -lrt -lm -lnsl -lpthread *** /usr/bin/perl -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=linux, osvers=2.6.11-9-amd64-k8, archname=x86_64-linux-thread-multi uname='linux athlon.lowpingbastards.de 2.6.11-9-amd64-k8 #1 fri jun 3 00:43:27 cest 2005 x86_64 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=x86_64-linux -Dprefix=/usr -Dprivlib=/usr/share/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.7 -Dsitearch=/usr/local/lib/perl/5.8.7 -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 -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=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define 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_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='3.3.6 (Debian 1:3.3.6-5)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, 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.7 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_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Jun 9 2005 14:29:58 %ENV: PERL_LWP_USE_HTTP_10="1" @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 . *** Packages of interest status: Apache2 : - Apache2::Request : - CGI : 3.10 ExtUtils::MakeMaker: 6.17 LWP : 5.803 mod_perl : - mod_perl2 : - 3. This is the core dump trace: (if you get a core dump): No core dump This report was generated by t/REPORT on Wed Jan 18 21:55:48 2006 GMT.
Fixed in SVN. Will be in 2.0.3.