-------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description:
A. Reinstalled apache 2.0.43 w/o my crazy SuSE layout, just: ./configure --with-mpm=worker Apache AOK. B. Pulled CVS source for mp2 as per web site instructions. perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_INST_APACHE2=1 make make test C. same Apache/Const.pm not found: Can't locate Apache/Const.pm in @INC (@INC contains: Apache-Test/lib /usr/local/addons/modperl-2.0/Apache-Test/lib /usr/local/addons/modperl-2.0/lib /usr/local/addons/modperl-2.0/blib/lib /usr/local/addons/modperl-2.0/blib/arch /usr/local/addons/modperl-2.0/t/../Apache-Test/lib /usr/local/addons/modperl-2.0/t/../lib /usr/local/addons/modperl-2.0/t/../../lib /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/local/addons/modperl-2.0/t/response/TestApache/subprocess.pm line 12. BEGIN failed--compilation aborted at /usr/local/addons/modperl-2.0/t/response/TestApache/subprocess.pm line 12. Compilation failed in require at /usr/local/addons/modperl-2.0/t/../Apache-Test/lib/Apache/TestConfigPerl.pm line 382. I have Const.pm at: /usr/local/addons/modperl-2.0/blib/lib/Apache2/Apache but that's not in @INC. How can I modify the @INC within the ApacheTest environment? I can't find it in the Apache Test section of the docs. D. same tests failed: apache/subprocess........FAILED tests 1-4 Failed 4/4 tests, 0.00% okay apr/perlio...............FAILED tests 1-11 Failed 11/11 tests, 0.00% okay E. t/logs/error_log END in modperl_extra.pl, pid=18641 END in modperl_extra.pl, pid=18641 END in modperl_extra.pl, pid=18641 END in modperl_extra.pl, pid=18641 END in modperl_extra.pl, pid=18641 END in modperl_extra.pl, pid=18641 END in modperl_extra.pl, pid=18641 END in modperl_extra.pl, pid=18641 [Tue Dec 03 02:13:03 2002] [notice] Apache/2.0.43 (Unix) mod_perl/1.99_08-dev Perl/v5.8.0 configured -- resuming normal operations [Tue Dec 03 02:13:03 2002] [info] Server built: Dec 3 2002 00:51:28 [Tue Dec 03 02:13:03 2002] [debug] worker.c(1736): AcceptMutex: sysvsem (default: sysvsem) [Tue Dec 03 02:13:04 2002] [error] server reached MaxClients setting, consider raising the MaxClients setting # Failed test 1 in /usr/local/addons/modperl-2.0/t/response/TestApache/subprocess.pm at line 55 # Failed test 2 in /usr/local/addons/modperl-2.0/t/response/TestApache/subprocess.pm at line 68 # Failed test 3 in /usr/local/addons/modperl-2.0/t/response/TestApache/subprocess.pm at line 82 # Failed test 4 in /usr/local/addons/modperl-2.0/t/response/TestApache/subprocess.pm at line 96 [Tue Dec 03 02:13:09 2002] [info] [client 127.0.0.1] TestAPI::aplog test in progress [Tue Dec 03 02:13:09 2002] [debug] /usr/local/addons/modperl-2.0/t/response/TestAPI/aplog.pm(43): log_serror test ok [Tue Dec 03 02:13:09 2002] [debug] /usr/local/addons/modperl-2.0/t/response/TestAPI/aplog.pm(46): (20007)No time was provided and one was required.: log_serror test 2 ok [Tue Dec 03 02:13:09 2002] [debug] /usr/local/addons/modperl-2.0/t/response/TestAPI/aplog.pm(49): [client 127.0.0.1] (20007)No time was provided and one was required.: log_rerror test ok [Tue Dec 03 02:13:09 2002] [error] $r->log_error test ok [Tue Dec 03 02:13:09 2002] [error] $s->log_error test ok [Tue Dec 03 02:13:09 2002] [debug] /usr/local/addons/modperl-2.0/t/response/TestAPI/aplog.pm(63): TestAPI::aplog test done [Tue Dec 03 02:13:09 2002] [warn] ApacheApache->warn test ok [Tue Dec 03 02:13:09 2002] [warn] $s->warn test ok [Tue Dec 03 02:13:17 2002] [error] [client 127.0.0.1] mkdir /usr/local/addons/modperl-2.0/t/htdocs/perlio: Permission denied at /usr/local/addons/modperl-2.0/Apache-Test/lib/Apache/TestUtil.pm line 128 [Tue Dec 03 02:13:20 2002] [error] Apache::log_error test ok [Tue Dec 03 02:13:31 2002] [error] [client 127.0.0.1] File does not exist: /usr/local/addons/modperl-2.0/t/htdocs/nope [Tue Dec 03 02:13:37 2002] [error] [client 127.0.0.1] need AuthName: /TestModperl::setauth [Tue Dec 03 02:13:41 2002] [info] removed PID file /usr/local/addons/modperl-2.0/t/logs/httpd.pid (pid=18642) [Tue Dec 03 02:13:41 2002] [notice] caught SIGTERM, shutting down END in modperl_extra.pl, pid=18642 END in modperl_extra.pl, pid=18642 END in modperl_extra.pl, pid=18642 END in modperl_extra.pl, pid=18642 END in modperl_extra.pl, pid=18642 END in modperl_extra.pl, pid=18642 END in modperl_extra.pl, pid=18642 END in modperl_extra.pl, pid=18642 F. ls -dl t/htdocs drwxr-xr-x 7 root root 256 Dec 3 02:12 t/htdocs should be OK for root, right? G. t/TEST -v apache/supprocess ... apache/subprocess....1..4 # testing : passing ARGV # expected: [ # 'foo', # 'bar' # ] # received: [] not ok 1 # testing : passing env via subprocess_env # expected: 'my cool proc' # received: '' not ok 2 # testing : testing subproc's stdin -> stdout + list context # expected: 'my cool proc # ' # received: '' not ok 3 # testing : testing subproc's stdin -> stderr + list context # expected: 'my stderr # ' # received: '' not ok 4 FAILED tests 1-4 Failed 4/4 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- --------- apache/subprocess.t 4 4 100.00% 1-4 ......done PS: Just to be pushy, I ran: t/TEST -v -maxclients 150 apache/supprocess After complaining about 150 being too large and setting it down to 64, the same failures occured. H. t/TEST -v apr/perlio ... apr/perlio....1..11 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>200 OK</title> </head><body> <h1>OK</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p> <p>More information about this error may be available in the server error log.</p> </body></html> FAILED tests 1-11 Failed 11/11 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- --------- apr/perlio.t 11 11 100.00% 1-11 ......done I. I wish I knew more (hopefully someday...) but I can't see anything else to try. Please advise, Aloha => Beau. 2. Used Components and their Configuration: *** using lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_AP_PREFIX => /usr/local/apache2 MP_GENERATE_XS => 1 MP_INST_APACHE2 => 1 MP_LIBNAME => mod_perl MP_USE_DSO => 1 MP_USE_STATIC => 1 *** /usr/local/apache2/bin/httpd -V Server version: Apache/2.0.43 Server built: Dec 3 2002 00:51:28 Server's Module Magic Number: 20020903:0 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/worker" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 -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="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" *** /usr/bin/perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.19, archname=i586-linux-thread-multi uname='linux amdsim5 2.4.19 #1 wed mar 27 13:57:05 utc 2002 i686 unknown ' config_args='-ds -e -Dprefix=/usr -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_g dbm -Duseshrplib=true' 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 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FIL E_OFFSET_BITS=64', optimize='-O3 --pipe', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing' ccversion='', gccversion='3.2', 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 ='' libpth=/lib /usr/lib /usr/local/lib libs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i586-linux-thread-multi /CORE' cccdlflags='-fPIC', lddlflags='-shared' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Oct 8 2002 16:55:42 %ENV: PERL_LWP_USE_HTTP_10="1" @INC: /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . 3. This is the core dump trace: (if you get a core dump): [N/A] This report was generated by t/REPORT on Tue Dec 3 12:04:04 2002 GMT. -------------8<---------- End Bug Report --------------8<----------