RE: [RELEASE CANDIDATE]: mod_perl-2.0.8 RC1

Bruce Pettyjohn <[email protected]>
Newsgroups gmane.comp.apache.mod-perl,gmane.comp.apache.incubator.bigtop.devel
Message-ID <[email protected]>
Fred,

Just tried to compile and ran into some trouble here. 


chmod 755 ../../../blib/arch/auto/Apache2/Command/Command.so
cp Command.bs ../../../blib/arch/auto/Apache2/Command/Command.bs
chmod 644 ../../../blib/arch/auto/Apache2/Command/Command.bs
make[3]: Leaving directory
`/var/downloads/mod_perl-2.0.8-rc1/WrapXS/Apache2/Command'
make[3]: Entering directory
`/var/downloads/mod_perl-2.0.8-rc1/WrapXS/Apache2/Connection'
cp Connection.pm ../../../blib/lib/Apache2/Connection.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.16.0/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/5.16.0/ExtUtils/typemap -typemap
/var/downloads/mod_perl-2.0.8-rc1/xs/typemap  Connection.xs > Connection.xsc
&& mv Connection.xsc Connection.c
cc -c  -I/var/downloads/mod_perl-2.0.8-rc1/src/modules/perl
-I/var/downloads/mod_perl-2.0.8-rc1/xs -I/usr/local/apr/include/apr-1
-I/usr/local/apache2/httpd/prefork/include -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-DMOD_PERL -DMP_COMPAT_1X -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE  -O2   -DVERSION=\"2.000008\"
-DXS_VERSION=\"2.000008\" -fPIC
"-I/usr/local/lib/perl5/5.16.0/i686-linux-thread-multi/CORE"
-DMP_HAVE_APR_LIBS Connection.c
Connection.xs: In function âXS_Apache2__Connection_remote_addrâ:
Connection.xs:117: error: âconn_recâ has no member named âremote_addrâ
Connection.xs: In function âXS_Apache2__Connection_remote_ipâ:
Connection.xs:134: error: âconn_recâ has no member named âremote_ipâ
Connection.xs:138: error: âconn_recâ has no member named âremote_ipâ
make[3]: *** [Connection.o] Error 1
make[3]: Leaving directory
`/var/downloads/mod_perl-2.0.8-rc1/WrapXS/Apache2/Connection'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory
`/var/downloads/mod_perl-2.0.8-rc1/WrapXS/Apache2'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/var/downloads/mod_perl-2.0.8-rc1/WrapXS'
make: *** [subdirs] Error 2
[root@dev2 mod_perl-2.0.8-rc1]#

I'm using Perl 5.16.0 and Apache 2.4.2 on CentOS Linux 5.5

Thanks for any help to get this working.

Bruce
 


-----Original Message-----
From: Fred Moyer [mailto:[email protected]] 
Sent: Monday, April 01, 2013 8:24 PM
To: mod_perl Dev
Cc: mod_perl list
Subject: [RELEASE CANDIDATE]: mod_perl-2.0.8 RC1

A release candidate for mod_perl 2.0.8 is now available! Please
download, test, and report back.

http://people.apache.org/~phred/mod_perl-2.0.8-rc1.tar.gz

MD5 (mod_perl-2.0.8-rc1.tar.gz) = ed056c6910914f5ecc2ac8171082a264

=item 2.0.8-rc1

Perl 5.16.3's fix for a rehash-based DoS makes it more difficult to invoke
the workaround for the old hash collision attack, which breaks mod_perl's
t/perl/hash_attack.t. Patch from rt.cpan.org #83916 improves the fix
previously applied as revision 1455340. [Zefram]

On Perl 5.17.6 and above, hash seeding has changed, and HvREHASH has
disappeared. Patch to update mod_perl accordingly from rt.cpan.org #83921.
[Zefram]

Restore build with Perl 5.8.1, 5.8.2 etc: take care to use
$Config{useithreads} rather than $Config{usethreads}, and supply definitions
of Newx and Newxz as necessary. [Steve Hay]

On Perl 5.17.9, t/apache/read2.t fails because an "uninitialized value"
warning is generated for the buffer being autovivified. This is because
the sv_setpvn() that's meant to vivify the buffer doesn't perform set
magic; the warning is generated by the immediately following SvPV_force().
Patch to fix this from rt.cpan.org #83922. [Zefram]

Fix t/perl/hash_attack.t to work with Perl 5.14.4, 5.16.3 etc, which
contain a fix for CVE-2013-1667 (memory exhaustion with arbitrary hash
keys). This resolves rt.perl.org #116863, from where the patch was taken.
[Hugo van der Sanden]

use APR::Finfo instead of Perl's stat() in ModPerl::RegistryCooker to
generate HTTP code 404 even if the requested filename contains newlines
[Torsten]

Remove all uses of deprecated core perl symbols. [Steve Hay]

Add branch release tag to 'make tag' target. [Phred]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.