You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Jason Woodward <wo...@jaos.org> on 2004/08/23 03:33:44 UTC

debian stable 5.6.1 fix

Building current cvs for Apache 2.0.50 on Debian GNU/Linux stable, perl 5.6.1.

The attached patch fixes a sv_copypv missing symbol error when starting apache with mod_perl
mod_perl-1.99_15 and newer.


take care,
jason

--
Jason Woodward
woodwardj@jaos.org

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
 
mQGiBDrwHPoRBAC3nDJRLKTcFcJWid9PN08ChMI7tuQevomWoVeZpZZ0zzip2w/E
ts55Mx58eRRGFFmgZZGeP7EhyUPzb668LIsU62gFO7G5/oWCr3U3g3peabZsqRC9
FchdiM8DJqQu/7ryAjbQ4OFCSW+jAsMC3tKXrdaB48WiipiXUcKR/sONGwCgzGPf
yxDgOc7n9xWVH0qbUDC/vZsEAKvbckkhpe9/x2A4E15l6DUbliEmboeHiT9NJaok
vLo3ElSO1o6ld5+VhFIkhRmmovrS8oyttZNv8HjMEYf6L3NdZybTHfcdS5EIpguH
Xx2/IGzJKbgX3vM/qhJ0+F1LPuN20mOT0NO/29AXJn3V7rTKoKf/uOOKD+Eqh4r1
QVMoBAC3ZPF3idmuW3j4tqhOaWe2qHlLwEClwdsTG+KOsVYh1sU4RvyMErDIU6r/
MomkLAJfbtBTXKcknW68Y4Uv4B+UkyopklktRBFiMBffoHLUfkkQk/L9Yg1YG27N
COsECiamylF8hNSTcNIQqYXDpyoRcSi2p7gqkxJZrk7GwrX2ObQjSmFzb24gV29v
ZHdhcmQgPHdvb2R3YXJkakBqYW9zLm9yZz6IVwQTEQIAFwUCOvAc+gULBwoDBAMV
AwIDFgIBAheAAAoJEGu22odUp/oeN2IAoKHS+qH8AenlOTKL0Ifl3q1QSlDBAKDL
bvvgl7HoRTHY2b9n3pEPr+KIh7kBDQQ68Bz9EAQA2Ds/2VKc08qaNIkA1okxITmQ
aaNjUrm/au9jNzm9lyEFXWXBNegzP5Y4A1ESDKUt5RETgVhNKd9mGkP7tgPTs3f6
Z595K6W7xeZWONKbl578RbWwE1CiMqEOuXwr1/q0DzfwmNQLcqDcX3o0DEpWE+uZ
G+5CtpkXYiDmccigDKMAAwUD/iZDxEr1HC4iLnGXUCDpxXEtp7Fx150baFzZITns
4hpKRAbTR65s2tL8rh5d8ThDgqW5C9JQja9fMxI2u7zlyM2ALFXJP1xwgZTSOYvn
sq+x41i5tJpce+pDmMEl8X0wew2Z5ZRPfDLv64kKPIGNgVXsAHirH2KjChZat4VC
qkZciEYEGBECAAYFAjrwHP0ACgkQa7bah1Sn+h7qkQCePz0ds5O/dsZrm450pjLs
2V3BkMAAn2/6alBBC9b9F94svdOf0mGY/G5w
=4p8c
-----END PGP PUBLIC KEY BLOCK-----

my($c,@s)=(0,qw( | / - \ ));$|++;my$p;&{sub{map{$p.=chr$_}
unpack(join('a',('',split(//,$_->[1]))),$_->[0]);}}foreach
[qw/74117115116 2333/],[qw/65110111116104101114 2333333/],
[qw/80101114108 2333/],[qw/729799107101114 222333/];{my$z=
$c<4?$s[$c++]:$s [$c=0];printf"\ec%s%s%s",$z,$p,$z,select*
STDOUT,*STDOUT,*STDOUT,0.1,;redo;}##########JAPH##########

Re[2]: debian stable 5.6.1 fix

Posted by Jason Woodward <wo...@jaos.org>.
Hi Stas,

> Thanks Jason for the spot and the patch.
> 
> After testing is completed I'll apply the following patch (this is sort of 
> ppport.h, so no code needs to be changed).
> 
> I'll probably release 1.99_16 shortly, as this will be a problem for any 
> 5.6.x users.

Great, thanks!


take care,
jason

Re: [mp2] make test for 1.99_16 fails

Posted by Stas Bekman <st...@stason.org>.
Issac, for the future, your report is still incomplete:
http://perl.apache.org/docs/2.0/user/help/help.html#_C_make_test___Failures

   post to the mailing list the output of the individual tests running
   *and the contents of t/logs/error_log*.

the error_log was missing from this report.

But for this particular case what you have sent is good enough.

 > # trying http://hector.mirimar.net:8530/TestModperl__setupenv_mpsetup
 > # testing : found REMOTE_ADDR in %ENV
 > # expected: 199.203.54.245
 > # received: 127.0.0.1
 > not ok 8
[and the rest is the same issue]

This is not a mod_perl problem, just a mismatch of what your system 
reports about the IP of your machine at different times. Apache sees your 
client coming from 127.0.0.1 and the Apache-Test framework finds your 
machine to have the IP 199.203.54.245.

Ideas on how to fix the test suite to handle this kind of problem are very 
welcome.

-- 
__________________________________________________________________
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


[mp2] make test for 1.99_16 fails

Posted by Issac Goldstand <ma...@beamartyr.net>.
1. Problem Description:

  Make test fails on modperl/setupenv.t and preconnection/note.t

t/modperl/setupenv......# connecting to
http://hector.mirimar.net:8530/TestModpe
rl__setupenv
1..63
# Running under perl version 5.008005 for linux
# Current time local: Mon Aug 23 21:28:52 2004
# Current time GMT:   Mon Aug 23 18:28:52 2004
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.14

# trying http://hector.mirimar.net:8530/TestModperl__setupenv_mpsetup
# testing : found REMOTE_ADDR in %ENV
# expected: 199.203.54.245
# received: 127.0.0.1
not ok 8

# trying http://hector.mirimar.net:8530/TestModperl__setupenv_mpvoid
# testing : found REMOTE_ADDR in %ENV
# expected: 199.203.54.245
# received: 127.0.0.1
not ok 22

# trying http://hector.mirimar.net:8530/TestModperl__setupenv_mpsetupvoid
# testing : found REMOTE_ADDR in %ENV
# expected: 199.203.54.245
# received: 127.0.0.1
not ok 29

# trying http://hector.mirimar.net:8530/TestModperl__setupenv_psdefault
# testing : found REMOTE_ADDR in %ENV
# expected: 199.203.54.245
# received: 127.0.0.1
not ok 36

# trying http://hector.mirimar.net:8530/TestModperl__setupenv_psvoid
# testing : found REMOTE_ADDR in %ENV
# expected: 199.203.54.245
# received: 127.0.0.1
not ok 50

# trying http://hector.mirimar.net:8530/TestModperl__setupenv_psnosetupvoid
# testing : found REMOTE_ADDR in %ENV
# expected: 199.203.54.245
# received: 127.0.0.1
not ok 57

FAILED tests 8, 22, 29, 36, 50, 57
        Failed 6/63 tests, 90.48% okay

# testing : connection notes
# Failed test 1 in t/preconnection/note.t at line 17
# expected: 199.203.54.245
# received: 127.0.0.1
not ok 1
FAILED test 1
        Failed 1/1 tests, 0.00% okay
Failed Test            Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/modperl/setupenv.t                 63    6   9.52%  8 22 29 36 50 57
t/preconnection/note.t                1    1 100.00%  1
Failed 2/2 test scripts, 0.00% okay. 7/64 subtests failed, 89.06% okay.
[warning] server hector.mirimar.net:8529 shutdown
[  error] error running tests (please examine t/logs/error_log)

2. Used Components and their Configuration:

*** mod_perl version 1.9916

*** using /home/issac/build/mod_perl-1.99_16/lib/Apache/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_APXS        => /usr/local/httpd/bin/apxs
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1
  MP_USE_STATIC  => 1


*** /usr/local/httpd/bin/httpd -V
Server version: Apache/2.0.50
Server built:   Aug  3 2004 18:51:42
Server's Module Magic Number: 20020903:8
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 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_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/httpd"
 -D SUEXEC_BIN="/usr/local/httpd/bin/suexec"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/config/httpd/mime.types"
 -D SERVER_CONFIG_FILE="/config/httpd/httpd.conf"


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

 -L/usr/local/httpd/lib -lapr-0 -lrt -lm -lcrypt -lnsl  -lpthread -ldl
 -L/usr/local/httpd/lib -laprutil-0 -lgdbm -ldb-4.2 -lexpat



*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
  Platform:
    osname=linux, osvers=2.6.7-1-686-smp,
archname=i686-linux-thread-multi-64in
-ld
    uname='linux hector.mirimar.net 2.6.7-1-686-smp #1 smp thu jul 29
14:28:01
dt 2004 i686 gnulinux '
    config_args=''
    hint=previous, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=d
fine
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags
='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-stri
t-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT
S=6
 -DDEBIAN',
    optimize='-O3 -march=pentium4 -mcpu=pentium4',



 cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasi
g -pipe -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-fn
-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFS
ET_
ITS=64 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -
pip
 -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBIAN -D
_RE
NTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/l
oca
/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBIAN -D_REENTRANT -D
_GN
_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include 
-D_
ARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBIAN -D_REENTRANT -D_GNU_SOURCE -
DTH
EADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_
SOU
CE -D_FILE_OFFSET_BITS=64 -DDEBIAN -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE
_PI
S -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FIL
E_O
FSET_BITS=64 -DDEBIAN -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-st
ric
-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64
-DDEBIAN'
    ccversion='', gccversion='3.3.4 (Debian 1:3.3.4-3)', 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='long double', nvsize=12,
Off_t='off_t
, lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-fPIC -Wl,-rpath,
usr/local/lib/perl5/5.8.5/i686-debian-thread-multi-ld/CORE '
    cccdlflags='-fpic', lddlflags=' -L/usr/local/lib -shared'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_LONG_DOUBL
 USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Aug  9 2004 20:44:08
  %ENV:
    PERL5LIB="/home/issac/perl/lib/perl/5.8.3/auto"
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /home/issac/perl/lib/perl/5.8.3/auto
    /usr/local/lib/perl5/5.8.5/i686-debian-thread-multi-ld
    /usr/local/lib/perl5/5.8.5
    /usr/local/lib/perl5/site_perl/5.8.5/i686-debian-thread-multi-ld
    /usr/local/lib/perl5/site_perl/5.8.5
    /usr/local/lib/perl5/site_perl
    /usr/lib/perl5
    /usr/share/perl5
    /usr/share/perl5
    /etc/perl
    /usr/lib/perl/5.8
    /usr/share/perl/5.8
    /usr/local/httpd/lib/perl
    /usr/local/lib/site_perl
    /usr/local/lib/perl/5.8.4
    /usr/local/share/perl/5.8.4
    /usr/local/lib/perl/5.8.3
    /usr/local/share/perl/5.8.3
    .

*** Packages of interest status:

Apache::Request: -
CGI            : 3.04, 3.05, 3.05
LWP            : 5.800, 5.800
mod_perl       : -


This report was generated by t/REPORT on Mon Aug 23 18:26:33 2004 GMT.


-- 
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


Re: debian stable 5.6.1 fix

Posted by Stas Bekman <st...@stason.org>.
Issac Goldstand wrote:

> 2) Now that I ran make test and got failures, I wanted to submit them.
> Unfortunately, my mails to dev somehow end up going to
> docs-dev and I haven't figured out what weird config setting
> is doing that - I assume it's by me.  I'll keep looking - maybe this time it
> will work.

This message arrived to the dev list just fine.

p.s. please avoid writing full email addresses in public emails to easy 
the burden of moderators.

> 3) The output I posted followed the guidelines at
> http://perl.apache.org/bugs/ [except that it went to docs-dev as mentioned
> above].  If  anything was amiss (other than docs-dev) please let me know,
> and I'll not only send the report, but submit a docs patch to attempt make
> the instruction(s) that I misunderstood more clear.

Please read it again. Here are parts missing from your report:
http://perl.apache.org/docs/2.0/user/help/help.html#Use_a_Proper_Subject
http://perl.apache.org/docs/2.0/user/help/help.html#Important_Information
http://perl.apache.org/docs/2.0/user/help/help.html#_C_make_test___Failures
Is there something not clear about these instructions?

-- 
__________________________________________________________________
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: debian stable 5.6.1 fix

Posted by Issac Goldstand <ma...@beamartyr.net>.
Well:
1)  I didn't originally have test failures - my quick scan of the original
message was that it fixed a *debian* issue - which pushed me to post my
original warning about Debian being about to release their next stable
version, which I wanted to make sure didn't have any issues with Jason's
patch.  However, as the patch seems to be a Perl 5.6 general problem, that's
not an issue.
2) Now that I ran make test and got failures, I wanted to submit them.
Unfortunately, my mails to dev@perl.apache.org somehow end up going to
docs-dev@perl.apache.org and I haven't figured out what weird config setting
is doing that - I assume it's by me.  I'll keep looking - maybe this time it
will work.

3) The output I posted followed the guidelines at
http://perl.apache.org/bugs/ [except that it went to docs-dev as mentioned
above].  If  anything was amiss (other than docs-dev) please let me know,
and I'll not only send the report, but submit a docs patch to attempt make
the instruction(s) that I misunderstood more clear.

  Issac


----- Original Message ----- 
From: "Stas Bekman" <st...@stason.org>
To: "Issac Goldstand" <ma...@beamartyr.net>
Cc: "Jason Woodward" <wo...@jaos.org>; <do...@perl.apache.org>
Sent: Monday, August 23, 2004 8:34 PM
Subject: Re: debian stable 5.6.1 fix


> Issac Goldstand wrote:
> > Not problem - potential problem.  Anyway, my guilty consience made me
look
> > into it myself.  All good :-)
>
> Ah, so you have test failures, how could I possible guess that from your
> original message. :)
>
> Please read http://perl.apache.org/bugs/ and submit a proper bug report to
> the right list and we will take care of it. Thanks Issac!
>
> -- 
> __________________________________________________________________
> 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
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: debian stable 5.6.1 fix

Posted by Stas Bekman <st...@stason.org>.
Issac Goldstand wrote:
> Not problem - potential problem.  Anyway, my guilty consience made me look
> into it myself.  All good :-)

Ah, so you have test failures, how could I possible guess that from your 
original message. :)

Please read http://perl.apache.org/bugs/ and submit a proper bug report to 
the right list and we will take care of it. Thanks Issac!

-- 
__________________________________________________________________
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

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: debian stable 5.6.1 fix

Posted by Issac Goldstand <ma...@beamartyr.net>.
Not problem - potential problem.  Anyway, my guilty consience made me look
into it myself.  All good :-)

However:

Failed Test            Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/modperl/setupenv.t                 63    6   9.52%  8 22 29 36 50 57
t/preconnection/note.t                1    1 100.00%  1
Failed 2/2 test scripts, 0.00% okay. 7/64 subtests failed, 89.06% okay.
[warning] server hector.mirimar.net:8529 shutdown
[  error] error running tests (please examine t/logs/error_log)
issac@hector:~/build/mod_perl-1.99_16$ cat t/logs/error_log
[Mon Aug 23 20:26:19 2004] [info] mod_unique_id: using ip addr 127.0.0.1
[Mon Aug 23 20:26:20 2004] [notice] suEXEC mechanism enabled (wrapper:
/usr/loca
l/httpd/bin/suexec)
[Mon Aug 23 20:26:20 2004] [info] Init: Initializing OpenSSL library
[Mon Aug 23 20:26:20 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Mon Aug 23 20:26:20 2004] [info] Init: Generating temporary RSA private
keys (5
12/1024 bits)
[Mon Aug 23 20:26:20 2004] [info] Init: Generating temporary DH parameters
(512/
1024 bits)
[Mon Aug 23 20:26:20 2004] [warn] Init: Session Cache is not configured
[hint: S
SLSessionCache]
[Mon Aug 23 20:26:20 2004] [info] Init: Initializing (virtual) servers for
SSL
[Mon Aug 23 20:26:20 2004] [info] Server: Apache/2.0.50, Interface:
mod_ssl/2.0.
50, Library: OpenSSL/0.9.7d
END in modperl_extra.pl, pid=27129
END in modperl_extra.pl, pid=27129
[Mon Aug 23 20:26:22 2004] [info] mod_unique_id: using ip addr 127.0.0.1
[Mon Aug 23 20:26:23 2004] [notice] Digest: generating secret for digest
authent
ication ...
[Mon Aug 23 20:26:45 2004] [notice] Digest: done
[Mon Aug 23 20:26:45 2004] [info] Init: Initializing OpenSSL library
[Mon Aug 23 20:26:45 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Mon Aug 23 20:26:45 2004] [info] Init: Generating temporary RSA private
keys (5
12/1024 bits)
[Mon Aug 23 20:26:45 2004] [info] Init: Generating temporary DH parameters
(512/
1024 bits)
[Mon Aug 23 20:26:45 2004] [info] Init: Initializing (virtual) servers for
SSL
[Mon Aug 23 20:26:45 2004] [info] Server: Apache/2.0.50, Interface:
mod_ssl/2.0.
50, Library: OpenSSL/0.9.7d
[Mon Aug 23 20:26:45 2004] [notice] Apache/2.0.50 (Unix) mod_perl/1.99_16
Perl/v
5.8.5 world domination series/2.0 mod_ssl/2.0.50 OpenSSL/0.9.7d DAV/2
PHP/5.0.1
configured -- resuming normal operations
[Mon Aug 23 20:26:45 2004] [info] Server built: Aug  3 2004 18:51:42
[Mon Aug 23 20:26:45 2004] [debug] worker.c(1631): AcceptMutex: pthread
(default
: pthread)
# Failed test 8 in
/home/issac/build/mod_perl-1.99_16/t/response/TestModperl/set
upenv.pm at line 35
# Failed test 22 in
/home/issac/build/mod_perl-1.99_16/t/response/TestModperl/se
tupenv.pm at line 115
# Failed test 29 in
/home/issac/build/mod_perl-1.99_16/t/response/TestModperl/se
tupenv.pm at line 35 fail #2
# Failed test 36 in
/home/issac/build/mod_perl-1.99_16/t/response/TestModperl/se
tupenv.pm at line 35 fail #3
# Failed test 50 in
/home/issac/build/mod_perl-1.99_16/t/response/TestModperl/se
tupenv.pm at line 35 fail #4
# Failed test 57 in
/home/issac/build/mod_perl-1.99_16/t/response/TestModperl/se
tupenv.pm at line 115 fail #2
[Mon Aug 23 20:26:50 2004] [info] Child process pid=28714 is exiting
END in modperl_extra.pl, pid=28714
END in modperl_extra.pl, pid=28714
[Mon Aug 23 20:26:50 2004] [warn] child process 28102 still did not exit,
sendin
g a SIGTERM
[Mon Aug 23 20:26:50 2004] [info] Child process pid=28102 is exiting
END in modperl_extra.pl, pid=28102
END in modperl_extra.pl, pid=28102
[Mon Aug 23 20:26:50 2004] [info] removed PID file
/home/issac/build/mod_perl-1.
99_16/t/logs/httpd.pid (pid=27447)
[Mon Aug 23 20:26:50 2004] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=27447
END in modperl_extra.pl, pid=27447

issac@hector:~/build/mod_perl-1.99_16$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
  Platform:
    osname=linux, osvers=2.6.7-1-686-smp,
archname=i686-linux-thread-multi-64int
-ld
    uname='linux hector.mirimar.net 2.6.7-1-686-smp #1 smp thu jul 29
14:28:01 i
dt 2004 i686 gnulinux '
    config_args=''
    hint=previous, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=de
fine
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags
='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-stric
t-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT
S=64
 -DDEBIAN',
    optimize='-O3 -march=pentium4 -mcpu=pentium4',




cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasin
g -pipe -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-fno
-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFS
ET_B
ITS=64 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -
pipe
 -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBIAN -D
_REE
NTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/l
ocal
/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBIAN -D_REENTRANT -D
_GNU
_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include 
-D_L
ARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBIAN -D_REENTRANT -D_GNU_SOURCE -
DTHR
EADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_
SOUR
CE -D_FILE_OFFSET_BITS=64 -DDEBIAN -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE
_PID
S -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FIL
E_OF
FSET_BITS=64 -DDEBIAN -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-st
rict
-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
=64
-DDEBIAN'
    ccversion='', gccversion='3.3.4 (Debian 1:3.3.4-3)', 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='long double', nvsize=12,
Off_t='off_t'
, lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-fPIC -Wl,-rpath,/
usr/local/lib/perl5/5.8.5/i686-debian-thread-multi-ld/CORE '
    cccdlflags='-fpic', lddlflags=' -L/usr/local/lib -shared'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_LONG_DOUBLE
 USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Aug  9 2004 20:44:08
  %ENV:
    PERL5LIB="/home/issac/perl/lib/perl/5.8.3/auto"
  @INC:
    /home/issac/perl/lib/perl/5.8.3/auto
    /usr/local/lib/perl5/5.8.5/i686-debian-thread-multi-ld
    /usr/local/lib/perl5/5.8.5
    /usr/local/lib/perl5/site_perl/5.8.5/i686-debian-thread-multi-ld
    /usr/local/lib/perl5/site_perl/5.8.5
    /usr/local/lib/perl5/site_perl
    /usr/lib/perl5
    /usr/share/perl5
    /usr/share/perl5
    /etc/perl
    /usr/lib/perl/5.8
    /usr/share/perl/5.8
    /usr/local/httpd/lib/perl
    /usr/local/lib/site_perl
    /usr/local/lib/perl/5.8.4
    /usr/local/share/perl/5.8.4
    /usr/local/lib/perl/5.8.3
    /usr/local/share/perl/5.8.3
    .

----- Original Message ----- 
From: "Stas Bekman" <st...@stason.org>
To: "Issac Goldstand" <ma...@beamartyr.net>
Cc: "Jason Woodward" <wo...@jaos.org>; <do...@perl.apache.org>
Sent: Monday, August 23, 2004 7:41 PM
Subject: Re: debian stable 5.6.1 fix


> Issac Goldstand wrote:
> > Stas,
> >   I feel like a complete bum pointing out a "potential problem" when I'm
> > perfectly aware that I don't have the time (or the hardware at the
moment)
> > to look at it at all but....
> > Remember that Debian Sarge is scheduled for release in ~3 weeks.
Probably a
> > good idea to make sure the patch doesn't mess anything up with the
default
> > releases there...
> >
> >   Issac
> >   *cowers against the slam of criticism he know's he's got coming his
way*
>
> Sorry, Issac, I don't understand what seems to be the problem. Please
explain.
>
> > ----- Original Message ----- 
> > From: "Stas Bekman" <st...@stason.org>
> > To: "Jason Woodward" <wo...@jaos.org>
> > Cc: <de...@perl.apache.org>
> > Sent: Monday, August 23, 2004 8:06 AM
> > Subject: Re: debian stable 5.6.1 fix
> >
> >
> >
> >>Jason Woodward wrote:
> >>
> >>>Building current cvs for Apache 2.0.50 on Debian GNU/Linux stable, perl
> >
> > 5.6.1.
> >
> >>>The attached patch fixes a sv_copypv missing symbol error when starting
> >
> > apache with mod_perl
> >
> >>>mod_perl-1.99_15 and newer.
> >>
> >>Thanks Jason for the spot and the patch.
> >>
> >>After testing is completed I'll apply the following patch (this is sort
of
> >>ppport.h, so no code needs to be changed).
> >>
> >>I'll probably release 1.99_16 shortly, as this will be a problem for any
> >>5.6.x users.
> >>
> >>Index: src/modules/perl/modperl_perl_includes.h
> >>===================================================================
> >>RCS file:
/home/cvs/modperl-2.0/src/modules/perl/modperl_perl_includes.h,v
> >>retrieving revision 1.19
> >>diff -u -r1.19 modperl_perl_includes.h
> >>--- src/modules/perl/modperl_perl_includes.h 4 Mar 2004 06:01:07 -0000
> >
> > 1.19
> >
> >>+++ src/modules/perl/modperl_perl_includes.h 23 Aug 2004 05:00:27 -0000
> >>@@ -112,4 +112,21 @@
> >>  #   define environ (*_NSGetEnviron())
> >>  #endif
> >>
> >>+/* sv_copypv was added in perl 5.7.3 */
> >>+#ifndef sv_copypv
> >>+#  define sv_copypv(dsv, ssv)     \
> >>+    STMT_START {                  \
> >>+        STRLEN len;               \
> >>+        char *s;                  \
> >>+        s = SvPV(ssv, len);       \
> >>+        sv_setpvn(dsv, s, len);   \
> >>+        if (SvUTF8(ssv)) {        \
> >>+            SvUTF8_on(dsv);       \
> >>+        }                         \
> >>+        else {                    \
> >>+            SvUTF8_off(dsv);      \
> >>+        }                         \
> >>+    } STMT_END
> >>+#endif
> >>+
> >>  #endif /* MODPERL_PERL_INCLUDES_H */
> >>
> >>-- 
> >>__________________________________________________________________
> >>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
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> >>For additional commands, e-mail: dev-help@perl.apache.org
> >>
>
>
> -- 
> __________________________________________________________________
> 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
>


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: debian stable 5.6.1 fix

Posted by Stas Bekman <st...@stason.org>.
Issac Goldstand wrote:
> Stas,
>   I feel like a complete bum pointing out a "potential problem" when I'm
> perfectly aware that I don't have the time (or the hardware at the moment)
> to look at it at all but....
> Remember that Debian Sarge is scheduled for release in ~3 weeks.  Probably a
> good idea to make sure the patch doesn't mess anything up with the default
> releases there...
> 
>   Issac
>   *cowers against the slam of criticism he know's he's got coming his way*

Sorry, Issac, I don't understand what seems to be the problem. Please explain.

> ----- Original Message ----- 
> From: "Stas Bekman" <st...@stason.org>
> To: "Jason Woodward" <wo...@jaos.org>
> Cc: <de...@perl.apache.org>
> Sent: Monday, August 23, 2004 8:06 AM
> Subject: Re: debian stable 5.6.1 fix
> 
> 
> 
>>Jason Woodward wrote:
>>
>>>Building current cvs for Apache 2.0.50 on Debian GNU/Linux stable, perl
> 
> 5.6.1.
> 
>>>The attached patch fixes a sv_copypv missing symbol error when starting
> 
> apache with mod_perl
> 
>>>mod_perl-1.99_15 and newer.
>>
>>Thanks Jason for the spot and the patch.
>>
>>After testing is completed I'll apply the following patch (this is sort of
>>ppport.h, so no code needs to be changed).
>>
>>I'll probably release 1.99_16 shortly, as this will be a problem for any
>>5.6.x users.
>>
>>Index: src/modules/perl/modperl_perl_includes.h
>>===================================================================
>>RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_perl_includes.h,v
>>retrieving revision 1.19
>>diff -u -r1.19 modperl_perl_includes.h
>>--- src/modules/perl/modperl_perl_includes.h 4 Mar 2004 06:01:07 -0000
> 
> 1.19
> 
>>+++ src/modules/perl/modperl_perl_includes.h 23 Aug 2004 05:00:27 -0000
>>@@ -112,4 +112,21 @@
>>  #   define environ (*_NSGetEnviron())
>>  #endif
>>
>>+/* sv_copypv was added in perl 5.7.3 */
>>+#ifndef sv_copypv
>>+#  define sv_copypv(dsv, ssv)     \
>>+    STMT_START {                  \
>>+        STRLEN len;               \
>>+        char *s;                  \
>>+        s = SvPV(ssv, len);       \
>>+        sv_setpvn(dsv, s, len);   \
>>+        if (SvUTF8(ssv)) {        \
>>+            SvUTF8_on(dsv);       \
>>+        }                         \
>>+        else {                    \
>>+            SvUTF8_off(dsv);      \
>>+        }                         \
>>+    } STMT_END
>>+#endif
>>+
>>  #endif /* MODPERL_PERL_INCLUDES_H */
>>
>>-- 
>>__________________________________________________________________
>>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
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
>>For additional commands, e-mail: dev-help@perl.apache.org
>>


-- 
__________________________________________________________________
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

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: debian stable 5.6.1 fix

Posted by Issac Goldstand <ma...@beamartyr.net>.
Stas,
  I feel like a complete bum pointing out a "potential problem" when I'm
perfectly aware that I don't have the time (or the hardware at the moment)
to look at it at all but....
Remember that Debian Sarge is scheduled for release in ~3 weeks.  Probably a
good idea to make sure the patch doesn't mess anything up with the default
releases there...

  Issac
  *cowers against the slam of criticism he know's he's got coming his way*

----- Original Message ----- 
From: "Stas Bekman" <st...@stason.org>
To: "Jason Woodward" <wo...@jaos.org>
Cc: <de...@perl.apache.org>
Sent: Monday, August 23, 2004 8:06 AM
Subject: Re: debian stable 5.6.1 fix


> Jason Woodward wrote:
> > Building current cvs for Apache 2.0.50 on Debian GNU/Linux stable, perl
5.6.1.
> >
> > The attached patch fixes a sv_copypv missing symbol error when starting
apache with mod_perl
> > mod_perl-1.99_15 and newer.
>
> Thanks Jason for the spot and the patch.
>
> After testing is completed I'll apply the following patch (this is sort of
> ppport.h, so no code needs to be changed).
>
> I'll probably release 1.99_16 shortly, as this will be a problem for any
> 5.6.x users.
>
> Index: src/modules/perl/modperl_perl_includes.h
> ===================================================================
> RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_perl_includes.h,v
> retrieving revision 1.19
> diff -u -r1.19 modperl_perl_includes.h
> --- src/modules/perl/modperl_perl_includes.h 4 Mar 2004 06:01:07 -0000
1.19
> +++ src/modules/perl/modperl_perl_includes.h 23 Aug 2004 05:00:27 -0000
> @@ -112,4 +112,21 @@
>   #   define environ (*_NSGetEnviron())
>   #endif
>
> +/* sv_copypv was added in perl 5.7.3 */
> +#ifndef sv_copypv
> +#  define sv_copypv(dsv, ssv)     \
> +    STMT_START {                  \
> +        STRLEN len;               \
> +        char *s;                  \
> +        s = SvPV(ssv, len);       \
> +        sv_setpvn(dsv, s, len);   \
> +        if (SvUTF8(ssv)) {        \
> +            SvUTF8_on(dsv);       \
> +        }                         \
> +        else {                    \
> +            SvUTF8_off(dsv);      \
> +        }                         \
> +    } STMT_END
> +#endif
> +
>   #endif /* MODPERL_PERL_INCLUDES_H */
>
> -- 
> __________________________________________________________________
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: debian stable 5.6.1 fix

Posted by Stas Bekman <st...@stason.org>.
Jason Woodward wrote:
> Building current cvs for Apache 2.0.50 on Debian GNU/Linux stable, perl 5.6.1.
> 
> The attached patch fixes a sv_copypv missing symbol error when starting apache with mod_perl
> mod_perl-1.99_15 and newer.

Thanks Jason for the spot and the patch.

After testing is completed I'll apply the following patch (this is sort of 
ppport.h, so no code needs to be changed).

I'll probably release 1.99_16 shortly, as this will be a problem for any 
5.6.x users.

Index: src/modules/perl/modperl_perl_includes.h
===================================================================
RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_perl_includes.h,v
retrieving revision 1.19
diff -u -r1.19 modperl_perl_includes.h
--- src/modules/perl/modperl_perl_includes.h	4 Mar 2004 06:01:07 -0000	1.19
+++ src/modules/perl/modperl_perl_includes.h	23 Aug 2004 05:00:27 -0000
@@ -112,4 +112,21 @@
  #   define environ (*_NSGetEnviron())
  #endif

+/* sv_copypv was added in perl 5.7.3 */
+#ifndef sv_copypv
+#  define sv_copypv(dsv, ssv)     \
+    STMT_START {                  \
+        STRLEN len;               \
+        char *s;                  \
+        s = SvPV(ssv, len);       \
+        sv_setpvn(dsv, s, len);   \
+        if (SvUTF8(ssv)) {        \
+            SvUTF8_on(dsv);       \
+        }                         \
+        else {                    \
+            SvUTF8_off(dsv);      \
+        }                         \
+    } STMT_END
+#endif
+
  #endif /* MODPERL_PERL_INCLUDES_H */

-- 
__________________________________________________________________
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org