You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Rolf Banting <ro...@gmail.com> on 2007/10/27 12:33:45 UTC

Bug report - mod_perl2 make test fails on Cygwin DLL version: 1.5.24

Guys,

Probably not a bug as such but something in my set up.

Find the output from REPORT below. Basically everything seems to build ok
but make test fails with the claim that the server didn't start. When I look
at the ps output I can see that httpd2 has started.

Any help appreciated.

Thanks,

Rolf

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

  make test fails:

  /usr/bin/perl.exe -Iblib/arch -Iblib/lib \
        t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER=
APACHE_TEST_APXS= \
        /usr/bin/perl.exe -Iblib/arch -Iblib/lib \
        t/TEST -bugreport -verbose=0
/usr/sbin/httpd2  -d /build/mod_perl-2.0.3/t -f
/build/mod_perl-2.0.3/t/conf/httpd.conf
-D APACHE2 -D PERL_USEITHREADS
using Apache/2.2.4 (prefork MPM)

waiting 120 seconds for server to start: .[Sat Oct 27 11:19:06 2007] [warn]
Useless use of AllowOverride in line 879.
[Sat Oct 27 11:19:06 2007] [info] 6 Apache2:: modules loaded
[Sat Oct 27 11:19:06 2007] [info] 0 APR:: modules loaded
[Sat Oct 27 11:19:06 2007] [info] base server + 29 vhosts ready to run tests
....[Sat Oct 27 11:19:10 2007] [warn] The Alias directive in mod_perl at
line 1 will probably never match because it overlaps an
earlier                    Alias.
[Sat Oct 27 11:19:10 2007] [warn] The Alias directive in mod_perl at line 1
will probably never match because it overlaps an earlier
Ali                   as.
[Sat Oct 27 11:19:10 2007] [warn] The Alias directive in mod_perl at line 1
will probably never match because it overlaps an earlier
Ali                   as.
[Sat Oct 27 11:19:10 2007] [warn] The Alias directive in mod_perl at line 1
will probably never match because it overlaps an earlier
Ali                   as.
[Sat Oct 27 11:19:10 2007] [warn] The Alias directive in mod_perl at line 1
will probably never match because it overlaps an earlier
Ali                   as.
..................................................................................................................
waiting 120 seconds for server to start: not ok
[  error] giving up after 121 secs. If you think that your system
is slow or overloaded try again with a longer timeout value.
by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT
to a high value (e.g. 420) and repeat the last command.

[  error] server failed to start! (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Error 1

cat t/logs/error_log
[Sat Oct 27 11:19:10 2007] [info] mod_unique_id: using ip addr 192.168.0.100
[Sat Oct 27 11:19:11 2007] [info] Init: Seeding PRNG with 0 bytes of entropy
[Sat Oct 27 11:19:11 2007] [info] Init: Generating temporary RSA private
keys (512/1024 bits)
[Sat Oct 27 11:19:11 2007] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Sat Oct 27 11:19:11 2007] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Sat Oct 27 11:19:11 2007] [info] Init: Initializing (virtual) servers for
SSL
[Sat Oct 27 11:19:11 2007] [info] Server: Apache/2.2.4, Interface:
mod_ssl/2.2.4, Library: OpenSSL/0.9.8e
END in modperl_extra.pl, pid=8336

When I look at the process table:

 ps -ef | grep http
 bantiro    4848       1   ?  11:19:11 /usr/sbin/httpd2

So apache has started.


I have no previous version of mod perl installed.


2. Used Components and their Configuration:

*** mod_perl version 2.000003

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

*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_APXS        => /usr/sbin/apxs2
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1


*** /usr/sbin/httpd2 -V
Server version: Apache/2.2.4 (Unix)
Server built:   Apr  6 2007 23:09:29
Server's Module Magic Number: 20051115:4
Server loaded:  APR 1.2.8, APR-Util 1.2.8
Compiled using: APR 1.2.8, APR-Util 1.2.8
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_MMAP
 -D APR_USE_SYSVSEM_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"
 -D SUEXEC_BIN="/usr/bin/suexec"
 -D DEFAULT_PIDLOG="/var/run/httpd2.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/httpd.conf"


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

 -L/usr/lib -laprutil-1 -lgdbm -ldb-4.2 -lexpat -liconv -L/usr/lib
 -L/usr/lib -lapr-1 -lcrypt



*** /usr/bin/perl5.8.8 -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=cygwin, osvers=1.5.24(0.15642),
archname=cygwin-thread-multi-64int
    uname='cygwin_nt-5.1 reini 1.5.24(0.15642) 2007-01-31 10:57 i686 cygwin
'
    config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Uusemymalloc
-Doptimize=-O3 -Dman3ext=3pm -Dusesitecustomize -Dusedevel'
    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=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-Wdeclaration-after-statement',
    optimize='-O3',
    cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-Wdeclaration-after-statement'
    ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using dmd
0.125)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld2', ldflags =' -s -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat
    perllibs=-ldl -lcrypt -lgdbm_compat
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
    cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_REENTRANT_API USE_SITECUSTOMIZE
  Locally applied patches:
    CYG01 - hints.cygwin.sh ldflags -s
    CYG02 - lib-ExtUtils-Embed insensitive against leading \s
    CYG03 - lib-Test-Harness-Straps $ENV{PERL5LIB} = ''
    CYG04 - major.version.cygwin.sh cygperl-5_8.dll and not
cygperl-5_8_x.dll
    CYG05 - add Win32CORE to core
    CYG07 - File-Spec-Cygwin-TMPDIR.patch
    Bug#38628 - allow legacy Cwd->cwd()
    Bug#40103 - File-Spec-case_tolerant.patch from 5.9.5
  Built under cygwin
  Compiled at Jul  8 2007 19:12:08
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
    CYGWIN="error_start=C:\cygwin\bin\dumper.exe server"
  @INC:
    /usr/lib/perl5/5.8/cygwin
    /usr/lib/perl5/5.8
    /usr/lib/perl5/site_perl/5.8/cygwin
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8/cygwin
    /usr/lib/perl5/vendor_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.29
ExtUtils::MakeMaker: 6.30
LWP                : 5.805, 5.808
mod_perl           : -
mod_perl2          : -


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

 No core

This report was generated by t/REPORT on Sat Oct 27 10:15:44 2007 GMT.

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

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

Re: Bug report - mod_perl2 make test fails on Cygwin DLL version: 1.5.24

Posted by Nikolay Ananiev <an...@thegdb.com>.
enter export APACHE_TEST_STARTUP_TIMEOUT=800
in your console and then make test again
Apache needs a lot of time to start up on Cygwin
  "Rolf Banting" <ro...@gmail.com> wrote in message news:7e79c5b90710270333m2314b103u676f3be489d7a5f2@mail.gmail.com...
  Guys,

  Probably not a bug as such but something in my set up.

  Find the output from REPORT below. Basically everything seems to build ok but make test fails with the claim that the server didn't start. When I look at the ps output I can see that httpd2 has started. 

  Any help appreciated.

  Thanks,

  Rolf

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

    make test fails:

    /usr/bin/perl.exe -Iblib/arch -Iblib/lib \ 
          t/TEST -clean
  APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_APXS= \
          /usr/bin/perl.exe -Iblib/arch -Iblib/lib \
          t/TEST -bugreport -verbose=0 
  /usr/sbin/httpd2  -d /build/mod_perl-2.0.3/t -f /build/mod_perl-2.0.3/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
  using Apache/2.2.4 (prefork MPM)

  waiting 120 seconds for server to start: .[Sat Oct 27 11:19:06 2007] [warn] Useless use of AllowOverride in line 879. 
  [Sat Oct 27 11:19:06 2007] [info] 6 Apache2:: modules loaded
  [Sat Oct 27 11:19:06 2007] [info] 0 APR:: modules loaded
  [Sat Oct 27 11:19:06 2007] [info] base server + 29 vhosts ready to run tests
  ....[Sat Oct 27 11:19:10 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier                    Alias. 
  [Sat Oct 27 11:19:10 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Ali                   as.
  [Sat Oct 27 11:19:10 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Ali                   as. 
  [Sat Oct 27 11:19:10 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Ali                   as.
  [Sat Oct 27 11:19:10 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Ali                   as. 
  ..................................................................................................................
  waiting 120 seconds for server to start: not ok
  [  error] giving up after 121 secs. If you think that your system 
  is slow or overloaded try again with a longer timeout value.
  by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT
  to a high value (e.g. 420) and repeat the last command.

  [  error] server failed to start! (please examine t/logs/error_log) 
  +--------------------------------------------------------+
  | Please file a bug report: http://perl.apache.org/bugs/ |
  +--------------------------------------------------------+ 
  make: *** [run_tests] Error 1

  cat t/logs/error_log
  [Sat Oct 27 11:19:10 2007] [info] mod_unique_id: using ip addr 192.168.0.100
  [Sat Oct 27 11:19:11 2007] [info] Init: Seeding PRNG with 0 bytes of entropy 
  [Sat Oct 27 11:19:11 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits)
  [Sat Oct 27 11:19:11 2007] [info] Init: Generating temporary DH parameters (512/1024 bits)
  [Sat Oct 27 11:19:11 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] 
  [Sat Oct 27 11:19:11 2007] [info] Init: Initializing (virtual) servers for SSL
  [Sat Oct 27 11:19:11 2007] [info] Server: Apache/2.2.4, Interface: mod_ssl/2.2.4, Library: OpenSSL/0.9.8e
  END in modperl_extra.pl, pid=8336 

  When I look at the process table:

   ps -ef | grep http
   bantiro    4848       1   ?  11:19:11 /usr/sbin/httpd2
   
  So apache has started.  


  I have no previous version of mod perl installed. 


  2. Used Components and their Configuration:

  *** mod_perl version 2.000003

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

  *** Makefile.PL options:
    MP_APR_LIB     => aprext 
    MP_APXS        => /usr/sbin/apxs2
    MP_COMPAT_1X   => 1
    MP_GENERATE_XS => 1
    MP_LIBNAME     => mod_perl
    MP_USE_DSO     => 1


  *** /usr/sbin/httpd2 -V
  Server version: Apache/2.2.4 (Unix) 
  Server built:   Apr  6 2007 23:09:29
  Server's Module Magic Number: 20051115:4
  Server loaded:  APR 1.2.8, APR-Util 1.2.8
  Compiled using: APR 1.2.8, APR-Util 1.2.8
  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_MMAP
   -D APR_USE_SYSVSEM_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"
   -D SUEXEC_BIN="/usr/bin/suexec"
   -D DEFAULT_PIDLOG="/var/run/httpd2.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/httpd.conf"


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

   -L/usr/lib -laprutil-1 -lgdbm -ldb-4.2 -lexpat -liconv -L/usr/lib
   -L/usr/lib -lapr-1 -lcrypt 



  *** /usr/bin/perl5.8.8 -V
  Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
    Platform:
      osname=cygwin, osvers=1.5.24(0.15642), archname=cygwin-thread-multi-64int
      uname='cygwin_nt- 5.1 reini 1.5.24(0.15642) 2007-01-31 10:57 i686 cygwin '
      config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Uusemymalloc -Doptimize=-O3 -Dman3ext=3pm -Dusesitecustomize -Dusedevel'
      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=undef uselongdouble=undef 
      usemymalloc=n, bincompat5005=undef
    Compiler:
      cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement',
      optimize='-O3',
      cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement' 
      ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using dmd 0.125)', gccosandvers=''
      intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
      d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 
      ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
      alignbytes=8, prototype=define
    Linker and Libraries:
      ld='ld2', ldflags =' -s -L/usr/local/lib' 
      libpth=/usr/local/lib /usr/lib /lib
      libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat
      perllibs=-ldl -lcrypt -lgdbm_compat
      libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
      gnulibc_version='' 
    Dynamic Linking:
      dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
      cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'


  Characteristics of this binary (from libperl): 
    Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
                          PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV
                          USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                          USE_PERLIO USE_REENTRANT_API USE_SITECUSTOMIZE 
    Locally applied patches:
      CYG01 - hints.cygwin.sh ldflags -s
      CYG02 - lib-ExtUtils-Embed insensitive against leading \s
      CYG03 - lib-Test-Harness-Straps $ENV{PERL5LIB} = '' 
      CYG04 - major.version.cygwin.sh cygperl-5_8.dll and not cygperl-5_8_x.dll
      CYG05 - add Win32CORE to core
      CYG07 - File-Spec-Cygwin-TMPDIR.patch
      Bug#38628 - allow legacy Cwd->cwd() 
      Bug#40103 - File-Spec-case_tolerant.patch from 5.9.5
    Built under cygwin
    Compiled at Jul  8 2007 19:12:08
    %ENV:
      PERL_LWP_USE_HTTP_10="1"
      CYGWIN="error_start=C:\cygwin\bin\dumper.exe server" 
    @INC:
      /usr/lib/perl5/5.8/cygwin
      /usr/lib/perl5/5.8
      /usr/lib/perl5/site_perl/5.8/cygwin
      /usr/lib/perl5/site_perl/5.8
      /usr/lib/perl5/site_perl/5.8
      /usr/lib/perl5/vendor_perl/5.8/cygwin 
      /usr/lib/perl5/vendor_perl/5.8
      /usr/lib/perl5/vendor_perl/5.8
      .

  *** Packages of interest status:

  Apache2            : -
  Apache2::Request   : -
  CGI                : 3.29
  ExtUtils::MakeMaker: 6.30
  LWP                : 5.805, 5.808
  mod_perl           : -
  mod_perl2          : -


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

   No core

  This report was generated by t/REPORT on Sat Oct 27 10:15:44 2007 GMT. 

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

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