You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Philippe M. Chiasson" <go...@apache.org> on 2008/04/17 09:16:03 UTC
[ANNOUNCE] mod_perl-2.0.4
Finally, it's here and it works with Perl 5.10!
http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz
http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz.asc (pgp sig)
The package is also available on CPAN:
file: $CPAN/authors/id/G/GO/GOZER/mod_perl-2.0.4.tar.gz
size: 3727717 bytes
md5: 1a05625ae6843085f985f5da8214502a
sha1: 65299a16ec414a690a48a2bbe63acaa3c6bb897b
Changes since 2.0.3:
Fix $r->location corruption under certain conditions
[Gozer]
Fix a crash when spawning Perl threads under Perl 5.10
[Gozer]
Fix erratic behaviour when filters were used with Perl 5.10
[Gozer]
Fix problems with redefinitions of perl_free as free and perl_malloc
as malloc on Win32, as described at
http://marc.info/?l=apache-modperl&m=119896407510526&w=2
[Tom Donovan]
Fix a crash when running a sub-request from within a filter where
mod_perl was not the content handler. [Gozer]
Refactor tests to use keepalives instead of same_interp [Gozer, Phred]
Apache2::Reload has been moved to an externally maintained
CPAN distribution [Fred Moyer <fr...@redhotpenguin.com>]
PerlCleanupHandler are now registered with a subpool of $r->pool,
instead of $r->pool itself, ensuring they run _before_ any other
$r->pool cleanups [Torsten Foertsch]
Fix a bug that would prevent pnotes from being cleaned up properly
at the end of the request [Torsten Foertsch]
On Win32, embed the manifest file, if present, in mod_perl.so,
so as to work with VC 8 [Steve Hay, Randy Kobes]
Expose apr_thread_rwlock_t with the APR::ThreadRWLock module
[Torsten Foertsch]
Don't waste an extra interpreter anymore under threaded MPMs when using a
modperl handler [Torsten Foertsch]
Fix a bug that could cause a crash when using $r->push_handlers() multiple
times for a phase that has no configured handlers [Torsten Foertsch]
Catch up with some httpd API changes
2.2.4:
The full server version information is now included in the error log at
startup as well as server status reports, irrespective of the setting
of the ServerTokens directive. ap_get_server_version() is now
deprecated, and is replaced by ap_get_server_banner() and
ap_get_server_description(). [Jeff Trawick]
2.3.0:
ap_get_server_version() has been removed. Third-party modules must
now use ap_get_server_banner() or ap_get_server_description().
[Gozer]
fixed Apache2::compat Apache2::ServerUtil::server_root() resolution
issues [Joshua Hoblitt]
*) SECURITY: CVE-2007-1349 (cve.mitre.org)
fix unescaped variable interprolation in regular expression
[Randal L. Schwartz <me...@stonehenge.com>, Fred Moyer <fr...@redhotpenguin.com>]
Make $r->the_request() writeable
[Fred Moyer <fr...@redhotpenguin.com>]
fix ModPerl::RegistryCooker::read_script to handle all possible
errors, previously there was a case where Apache2::Const::OK was
returned on an error. [Eivind Eklund <ee...@gmail.com>]
a minor compilation warning resolved in modperl_handler_new_from_sv
[Stas]
a minor compilation warning resolved in modperl_gtop_size_string
[Stas]
Prevent direct use of _deprecated_ Apache2::ReadConfig in
<Perl> sections with httpd Alias directives from
incorrectly generating
'The Alias directive in xxxxx at line y will probably never match'
messages.
[Philip M. Gollucci <pg...@p6m78g.com>]
Prevent Apache2::PerSections::symdump() from returning invalid
httpd.conf snippets like 'Alias undef'
[Philip M. Gollucci <pg...@p6m78g.com>]
Require B-Size 0.9 for Apache2::Status which fixes
Can't call method "script_name" on an undefined value
[Philip M. Gollucci <pg...@p6m78g.com>]
-march=pentium4 or anything with an = in it in CCFLAGS or @ARGV
that gets passed to xs/APR/APR/Makefile.PL broke the @ARGV
parsing. I.E. FreeBSD port builds when users had CPUTYPE
set in /etc/make.conf.
[Philip M. Gollucci <pg...@p6m7g8.com>]
Fixes to get bleed-ithread (5.9.5+) to comile again.
[Philip M. Gollucci <pg...@p6m7g8.com>]
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by "Philippe M. Chiasson" <go...@apache.org>.
Foo JH wrote:
> I don't know if it's known, but 2.2.4 is a relatively stable version in
> conjunction with AP5.8 + mp2.
>
> I guess this means I can't move into 5.10 yet.
>
> Issac Goldstand wrote:
>> I think we knew that (or am I getting mixed up with the mp1 RC?) and
>> it was supposed to be a known issue...
Mixed up with the mp1 RC I believe. This problems seems like news to me ;-(
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by "Philippe M. Chiasson" <go...@apache.org>.
Foo JH wrote:
> I don't know if it's known, but 2.2.4 is a relatively stable version in
> conjunction with AP5.8 + mp2.
>
> I guess this means I can't move into 5.10 yet.
>
> Issac Goldstand wrote:
>> I think we knew that (or am I getting mixed up with the mp1 RC?) and
>> it was supposed to be a known issue...
Mixed up with the mp1 RC I believe. This problems seems like news to me ;-(
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by Foo JH <jh...@extracktor.com>.
I don't know if it's known, but 2.2.4 is a relatively stable version in
conjunction with AP5.8 + mp2.
I guess this means I can't move into 5.10 yet.
Issac Goldstand wrote:
>
> I think we knew that (or am I getting mixed up with the mp1 RC?) and
> it was supposed to be a known issue...
>
> Issac
>
> Foo JH wrote:
>> Alas, I have bad news to report:
>>
>> Tech stack:
>> Windows 2003 Server
>> Apache 2.2.4
>> Perl 5.10.0
>> mod_perl 2.0.4 from 10xx/ path
>>
>> Observations:
>> 1. mod_perl is able to start
>> 2. mod_perl is unable to survive an Apache restart signal
>> 3. (relavant) error log available below:
>>
>> [Thu Apr 17 23:39:34 2008] [notice] Parent: Received restart signal
>> -- Restarting the server.
>> [Thu Apr 17 23:39:34 2008] [notice] Child 4532: Exit event signaled.
>> Child process is ending.
>> [Thu Apr 17 23:39:34 2008] [notice] Apache/2.2.8 (Win32)
>> mod_perl/2.0.4-dev Perl/v5.10.0 configured -- resuming normal operations
>> [Thu Apr 17 23:39:34 2008] [notice] Server built: Jan 18 2008 00:37:19
>> [Thu Apr 17 23:39:34 2008] [crit] (22)Invalid argument: Parent:
>> Failed to create the child process.
>> [Thu Apr 17 23:39:34 2008] [crit] (OS 6)The handle is invalid. :
>> master_main: create child process failed. Exiting.
>> [Thu Apr 17 23:39:34 2008] [notice] Parent: Forcing termination of
>> child process 36
>> [Thu Apr 17 23:39:35 2008] [notice] Child 4532: Released the start mutex
>> [Thu Apr 17 23:39:36 2008] [notice] Child 4532: All worker threads
>> have exited.
>> [Thu Apr 17 23:39:36 2008] [notice] Child 4532: Child process is exiting
>>
>>
>>
>>
>> Philippe M. Chiasson wrote:
>>> Finally, it's here and it works with Perl 5.10!
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by Issac Goldstand <ma...@beamartyr.net>.
I think we knew that (or am I getting mixed up with the mp1 RC?) and it
was supposed to be a known issue...
Issac
Foo JH wrote:
> Alas, I have bad news to report:
>
> Tech stack:
> Windows 2003 Server
> Apache 2.2.4
> Perl 5.10.0
> mod_perl 2.0.4 from 10xx/ path
>
> Observations:
> 1. mod_perl is able to start
> 2. mod_perl is unable to survive an Apache restart signal
> 3. (relavant) error log available below:
>
> [Thu Apr 17 23:39:34 2008] [notice] Parent: Received restart signal --
> Restarting the server.
> [Thu Apr 17 23:39:34 2008] [notice] Child 4532: Exit event signaled.
> Child process is ending.
> [Thu Apr 17 23:39:34 2008] [notice] Apache/2.2.8 (Win32)
> mod_perl/2.0.4-dev Perl/v5.10.0 configured -- resuming normal operations
> [Thu Apr 17 23:39:34 2008] [notice] Server built: Jan 18 2008 00:37:19
> [Thu Apr 17 23:39:34 2008] [crit] (22)Invalid argument: Parent: Failed
> to create the child process.
> [Thu Apr 17 23:39:34 2008] [crit] (OS 6)The handle is invalid. :
> master_main: create child process failed. Exiting.
> [Thu Apr 17 23:39:34 2008] [notice] Parent: Forcing termination of child
> process 36
> [Thu Apr 17 23:39:35 2008] [notice] Child 4532: Released the start mutex
> [Thu Apr 17 23:39:36 2008] [notice] Child 4532: All worker threads have
> exited.
> [Thu Apr 17 23:39:36 2008] [notice] Child 4532: Child process is exiting
>
>
>
>
> Philippe M. Chiasson wrote:
>> Finally, it's here and it works with Perl 5.10!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by Issac Goldstand <ma...@beamartyr.net>.
I think we knew that (or am I getting mixed up with the mp1 RC?) and it
was supposed to be a known issue...
Issac
Foo JH wrote:
> Alas, I have bad news to report:
>
> Tech stack:
> Windows 2003 Server
> Apache 2.2.4
> Perl 5.10.0
> mod_perl 2.0.4 from 10xx/ path
>
> Observations:
> 1. mod_perl is able to start
> 2. mod_perl is unable to survive an Apache restart signal
> 3. (relavant) error log available below:
>
> [Thu Apr 17 23:39:34 2008] [notice] Parent: Received restart signal --
> Restarting the server.
> [Thu Apr 17 23:39:34 2008] [notice] Child 4532: Exit event signaled.
> Child process is ending.
> [Thu Apr 17 23:39:34 2008] [notice] Apache/2.2.8 (Win32)
> mod_perl/2.0.4-dev Perl/v5.10.0 configured -- resuming normal operations
> [Thu Apr 17 23:39:34 2008] [notice] Server built: Jan 18 2008 00:37:19
> [Thu Apr 17 23:39:34 2008] [crit] (22)Invalid argument: Parent: Failed
> to create the child process.
> [Thu Apr 17 23:39:34 2008] [crit] (OS 6)The handle is invalid. :
> master_main: create child process failed. Exiting.
> [Thu Apr 17 23:39:34 2008] [notice] Parent: Forcing termination of child
> process 36
> [Thu Apr 17 23:39:35 2008] [notice] Child 4532: Released the start mutex
> [Thu Apr 17 23:39:36 2008] [notice] Child 4532: All worker threads have
> exited.
> [Thu Apr 17 23:39:36 2008] [notice] Child 4532: Child process is exiting
>
>
>
>
> Philippe M. Chiasson wrote:
>> Finally, it's here and it works with Perl 5.10!
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by Foo JH <jh...@extracktor.com>.
Alas, I have bad news to report:
Tech stack:
Windows 2003 Server
Apache 2.2.4
Perl 5.10.0
mod_perl 2.0.4 from 10xx/ path
Observations:
1. mod_perl is able to start
2. mod_perl is unable to survive an Apache restart signal
3. (relavant) error log available below:
[Thu Apr 17 23:39:34 2008] [notice] Parent: Received restart signal --
Restarting the server.
[Thu Apr 17 23:39:34 2008] [notice] Child 4532: Exit event signaled.
Child process is ending.
[Thu Apr 17 23:39:34 2008] [notice] Apache/2.2.8 (Win32)
mod_perl/2.0.4-dev Perl/v5.10.0 configured -- resuming normal operations
[Thu Apr 17 23:39:34 2008] [notice] Server built: Jan 18 2008 00:37:19
[Thu Apr 17 23:39:34 2008] [crit] (22)Invalid argument: Parent: Failed
to create the child process.
[Thu Apr 17 23:39:34 2008] [crit] (OS 6)The handle is invalid. :
master_main: create child process failed. Exiting.
[Thu Apr 17 23:39:34 2008] [notice] Parent: Forcing termination of child
process 36
[Thu Apr 17 23:39:35 2008] [notice] Child 4532: Released the start mutex
[Thu Apr 17 23:39:36 2008] [notice] Child 4532: All worker threads have
exited.
[Thu Apr 17 23:39:36 2008] [notice] Child 4532: Child process is exiting
Philippe M. Chiasson wrote:
> Finally, it's here and it works with Perl 5.10!
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by "Philippe M. Chiasson" <go...@apache.org>.
Helmut Zeilinger wrote:
> Hi Philippe,
>
> Software:
>
> Linux 2.6.15-gentoo-r1
> perl v5.8.8 (perl -V see below)
> mod_perl-2.0.4
>
> 1)
> apache 2.0.63 => works without problems (so far testet)
>
> 2)
> apache 2.2.6 + 2.2.8 =>
>
> at server start.=>
>
> ..
> /usr/local/apache2/bin/apachectl: line 78: 14924 Segmentation fault
> $HTTPD $ARGV
>
>
> make test =>
>
> ...
> server has died with status 255 (please examine t/logs/error_log)
>
> t/logs/error_log is empty.
>
> what else can i provide to track it down?
Get us a core dump if you can, ideally with debugging information.
http://perl.apache.org/docs/2.0/devel/debug/c.html#Analyzing_Dumped_Core_Files
In a nutshell, rebuild with
perl Makefile.PL MP_DEBUG=1 [...]
And proceed until you get a core dump.
Then use t/REPORT to submit a bug report, with the backtrace.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by Helmut Zeilinger <hz...@hzlabs.de>.
Hi Philippe,
Software:
Linux 2.6.15-gentoo-r1
perl v5.8.8 (perl -V see below)
mod_perl-2.0.4
1)
apache 2.0.63 => works without problems (so far testet)
2)
apache 2.2.6 + 2.2.8 =>
at server start.=>
..
/usr/local/apache2/bin/apachectl: line 78: 14924 Segmentation fault
$HTTPD $ARGV
make test =>
...
server has died with status 255 (please examine t/logs/error_log)
t/logs/error_log is empty.
what else can i provide to track it down?
Helmut
perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.15-gentoo-r1, archname=i686-linux-thread-multi
uname='linux blossenau 2.6.15-gentoo-r1 #3 smp tue apr 15 07:32:50
cest 2008 i686 intel(r) pentium(r) d cpu 2.80ghz genuineintel gnulinux '
config_args='-des -Darchname=i686-linux-thread -Dcccdlflags=-fPIC
-Dccdlflags=-rdynamic -Dcc=i686-pc-linux-gnu-gcc -Dprefix=/usr
-Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth= -Doptimize=-O2
-march=prescott -fomit-frame-pointer -pipe -Duselargefiles
-Dd_semctl_semun -Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1
-Dinstallman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm
-Dinc_version_list=5.8.0 5.8.0/i686-linux-thread-multi 5.8.2
5.8.2/i686-linux-thread-multi 5.8.4 5.8.4/i686-linux-thread-multi 5.8.5
5.8.5/i686-linux-thread-multi 5.8.6 5.8.6/i686-linux-thread-multi 5.8.7
5.8.7/i686-linux-thread-multi -Dcf_by=Gentoo -Ud_csh -Dusenm
-Dusethreads -Di_ndbm -Di_gdbm -Di_db'
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='i686-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -march=prescott -fomit-frame-pointer -pipe',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -pipe -Wdeclaration-after-statement'
ccversion='', gccversion='4.1.2 (Gentoo 4.1.2 p1.1)', 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='i686-pc-linux-gnu-gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lpthread -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.6.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
Built under linux
Compiled at Apr 16 2008 10:01:53
@INC:
/etc/perl
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl
/usr/lib/perl5/5.8.8/i686-linux-thread-multi
/usr/lib/perl5/5.8.8
/usr/local/lib/site_perl
Philippe M. Chiasson schrieb:
> Finally, it's here and it works with Perl 5.10!
>
> http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz
> http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz.asc (pgp sig)
>
> The package is also available on CPAN:
>
> file: $CPAN/authors/id/G/GO/GOZER/mod_perl-2.0.4.tar.gz
> size: 3727717 bytes
> md5: 1a05625ae6843085f985f5da8214502a
> sha1: 65299a16ec414a690a48a2bbe63acaa3c6bb897b
>
> Changes since 2.0.3:
>
> Fix $r->location corruption under certain conditions
> [Gozer]
>
> Fix a crash when spawning Perl threads under Perl 5.10
> [Gozer]
>
> Fix erratic behaviour when filters were used with Perl 5.10
> [Gozer]
>
> Fix problems with redefinitions of perl_free as free and perl_malloc
> as malloc on Win32, as described at
> http://marc.info/?l=apache-modperl&m=119896407510526&w=2
> [Tom Donovan]
>
> Fix a crash when running a sub-request from within a filter where
> mod_perl was not the content handler. [Gozer]
>
> Refactor tests to use keepalives instead of same_interp [Gozer, Phred]
>
> Apache2::Reload has been moved to an externally maintained
> CPAN distribution [Fred Moyer <fr...@redhotpenguin.com>]
>
> PerlCleanupHandler are now registered with a subpool of $r->pool,
> instead of $r->pool itself, ensuring they run _before_ any other
> $r->pool cleanups [Torsten Foertsch]
>
> Fix a bug that would prevent pnotes from being cleaned up properly
> at the end of the request [Torsten Foertsch]
>
> On Win32, embed the manifest file, if present, in mod_perl.so,
> so as to work with VC 8 [Steve Hay, Randy Kobes]
>
> Expose apr_thread_rwlock_t with the APR::ThreadRWLock module
> [Torsten Foertsch]
>
> Don't waste an extra interpreter anymore under threaded MPMs when using a
> modperl handler [Torsten Foertsch]
>
> Fix a bug that could cause a crash when using $r->push_handlers()
> multiple
> times for a phase that has no configured handlers [Torsten Foertsch]
>
> Catch up with some httpd API changes
> 2.2.4:
> The full server version information is now included in the error
> log at
> startup as well as server status reports, irrespective of the setting
> of the ServerTokens directive. ap_get_server_version() is now
> deprecated, and is replaced by ap_get_server_banner() and
> ap_get_server_description(). [Jeff Trawick]
>
> 2.3.0:
> ap_get_server_version() has been removed. Third-party modules must
> now use ap_get_server_banner() or ap_get_server_description().
> [Gozer]
>
> fixed Apache2::compat Apache2::ServerUtil::server_root() resolution
> issues [Joshua Hoblitt]
>
> *) SECURITY: CVE-2007-1349 (cve.mitre.org)
> fix unescaped variable interprolation in regular expression
> [Randal L. Schwartz <me...@stonehenge.com>, Fred Moyer
> <fr...@redhotpenguin.com>]
>
> Make $r->the_request() writeable
> [Fred Moyer <fr...@redhotpenguin.com>]
>
> fix ModPerl::RegistryCooker::read_script to handle all possible
> errors, previously there was a case where Apache2::Const::OK was
> returned on an error. [Eivind Eklund <ee...@gmail.com>]
>
> a minor compilation warning resolved in modperl_handler_new_from_sv
> [Stas]
>
> a minor compilation warning resolved in modperl_gtop_size_string
> [Stas]
>
> Prevent direct use of _deprecated_ Apache2::ReadConfig in
> <Perl> sections with httpd Alias directives from
> incorrectly generating
> 'The Alias directive in xxxxx at line y will probably never match'
> messages.
> [Philip M. Gollucci <pg...@p6m78g.com>]
>
> Prevent Apache2::PerSections::symdump() from returning invalid
> httpd.conf snippets like 'Alias undef'
> [Philip M. Gollucci <pg...@p6m78g.com>]
>
> Require B-Size 0.9 for Apache2::Status which fixes
> Can't call method "script_name" on an undefined value
> [Philip M. Gollucci <pg...@p6m78g.com>]
>
> -march=pentium4 or anything with an = in it in CCFLAGS or @ARGV
> that gets passed to xs/APR/APR/Makefile.PL broke the @ARGV
> parsing. I.E. FreeBSD port builds when users had CPUTYPE
> set in /etc/make.conf.
> [Philip M. Gollucci <pg...@p6m7g8.com>]
>
> Fixes to get bleed-ithread (5.9.5+) to comile again.
> [Philip M. Gollucci <pg...@p6m7g8.com>]
>
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by "Philippe M. Chiasson" <go...@apache.org>.
Philip M. Gollucci wrote:
> Philippe M. Chiasson wrote:
> | Philip M. Gollucci wrote:
> |> Philippe M. Chiasson wrote:
> |> |>
> |>
> http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,3.log
>
> |>
> |>
> |> FWIW, also on 7.0
> |>
> http://tinderbox-i386.p6m7g8.net/tb/errors/7.0-FreeBSD/mod_perl2-2.0.4,3.log
>
> |>
> |> | What's in xs/modperl_xs_typedefs.h:67 ? (it's generated, so I can
> |> easily
> |> | tell)
> |>
> |> ~From the 8-current tree:
> |> http://p6m7g8.com/modperl_xs_typedefs.h
> |
> | I don't have a FreeBSD machine handy, so, Philip, is there any chance you
> | could try and figure out a little more about what's going on?
> You do now, account info in offlist e-mail.
>
> |
> | Something is tripping up the compiler, so maybe
> | apache/include/apr_thread_rwlock.h has something funky in there (or isn't
> | even there)
> My APR was compiled without Threads (/var/db/pkg/apr-nothr)
Sounds like a problem with APR without threads.
> I'll look at tweaking the detection.
I think this patch to a bit of *magical* code should do the trick.
Index: lib/ModPerl/BuildMM.pm
===================================================================
--- lib/ModPerl/BuildMM.pm (revision 648960)
+++ lib/ModPerl/BuildMM.pm (working copy)
@@ -359,7 +359,7 @@
$apr_config ||= $build->get_apr_config();
- if ($path =~ m/(Thread|Global)Mutex/) {
+ if ($path =~ m/(Thread|Global)(Mutex|RWLock)/) {
return unless $apr_config->{HAS_THREADS};
}
Feels like something that doesn't belong in there, but rather in the
configuration somewhere in xs/maps...
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Philippe M. Chiasson wrote:
| Philip M. Gollucci wrote:
|> Philippe M. Chiasson wrote:
|> |>
|>
http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,3.log
|>
|>
|> FWIW, also on 7.0
|>
http://tinderbox-i386.p6m7g8.net/tb/errors/7.0-FreeBSD/mod_perl2-2.0.4,3.log
|>
|> | What's in xs/modperl_xs_typedefs.h:67 ? (it's generated, so I can
|> easily
|> | tell)
|>
|> ~From the 8-current tree:
|> http://p6m7g8.com/modperl_xs_typedefs.h
|
| I don't have a FreeBSD machine handy, so, Philip, is there any chance you
| could try and figure out a little more about what's going on?
You do now, account info in offlist e-mail.
|
| Something is tripping up the compiler, so maybe
| apache/include/apr_thread_rwlock.h has something funky in there (or isn't
| even there)
My APR was compiled without Threads (/var/db/pkg/apr-nothr)
I'll look at tweaking the detection.
|
| Any chance you could run that one compilation invocation with
| gcc -E instead ? That way, we can see the source _after_ macro
| expansion, and it might help a lot in figuring out what's going on.
Don't think I need to do this give above.
- --
- ------------------------------------------------------------------------
Philip M. Gollucci (philip@ridecharge.com)
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C
Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD4DBQFICSNNdbiP+9ubjBwRAm9/AJUYYympzjwfqksgXT2jeCrvkMyMAJwPZWgg
8umPQGJo9HMiHz+/xDXTEA==
=5ME5
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by "Philippe M. Chiasson" <go...@apache.org>.
Philip M. Gollucci wrote:
> Philippe M. Chiasson wrote:
> |>
> http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,3.log
>
> FWIW, also on 7.0
> http://tinderbox-i386.p6m7g8.net/tb/errors/7.0-FreeBSD/mod_perl2-2.0.4,3.log
> | What's in xs/modperl_xs_typedefs.h:67 ? (it's generated, so I can easily
> | tell)
>
> ~From the 8-current tree:
> http://p6m7g8.com/modperl_xs_typedefs.h
I don't have a FreeBSD machine handy, so, Philip, is there any chance you
could try and figure out a little more about what's going on?
Something is tripping up the compiler, so maybe
apache/include/apr_thread_rwlock.h has something funky in there (or isn't
even there)
Any chance you could run that one compilation invocation with
gcc -E instead ? That way, we can see the source _after_ macro
expansion, and it might help a lot in figuring out what's going on.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Philippe M. Chiasson wrote:
|>
http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,3.log
FWIW, also on 7.0
http://tinderbox-i386.p6m7g8.net/tb/errors/7.0-FreeBSD/mod_perl2-2.0.4,3.log
| What's in xs/modperl_xs_typedefs.h:67 ? (it's generated, so I can easily
| tell)
~From the 8-current tree:
http://p6m7g8.com/modperl_xs_typedefs.h
- --
- ------------------------------------------------------------------------
Philip M. Gollucci (philip@ridecharge.com)
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C
Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIB+lBdbiP+9ubjBwRAhNNAJ4/zpLJQhWkwxO405J9UI0Mg1H+0gCdEdGl
zFAPHHbS41aquX/2VWvA8/Y=
=p84q
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by "Philippe M. Chiasson" <go...@apache.org>.
Philip M. Gollucci wrote:
> Philippe M. Chiasson wrote:
> | Finally, it's here and it works with Perl 5.10!
> |
> | http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz
> | http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz.asc (pgp sig)
> |
> | The package is also available on CPAN:
> |
> | file: $CPAN/authors/id/G/GO/GOZER/mod_perl-2.0.4.tar.gz
> | size: 3727717 bytes
> | md5: 1a05625ae6843085f985f5da8214502a
> | sha1: 65299a16ec414a690a48a2bbe63acaa3c6bb897b
> [Please drop CC's to ports <at> fbsd.org in replies.]
>
> Hey, sorry, I didn't around to testing this before it came out :(
>
> Default ports build on FreeBSD is broken
>
> http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,3.log
From that log:
/usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap /work/a/ports/www/mod_perl2/work/mod_perl-2.0.4/xs/typemap Base64.xs > Base64.xsc && mv Base64.xsc Base64.c
cc -c -I/work/a/ports/www/mod_perl2/work/mod_perl-2.0.4/src/modules/perl -I/work/a/ports/www/mod_perl2/work/mod_perl-2.0.4/xs -I/usr/local/include/apache2 -I/usr/local/include/apache2 -I/usr/local/include -I/usr/local/include/apache2 -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -DMOD_PERL -DMP_COMPAT_1X -D_REENTRANT -D_THREAD_SAFE -DAP_HAVE_DESIGNATED_INITIALIZER -O2 -fno-strict-aliasing -pipe -DVERSION=\"0.009000\" -DXS_VERSION=\"0.009000\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE" -DMP_HAVE_APR_LIBS Base64.c
In file included from Base64.xs:25:
/work/a/ports/www/mod_perl2/work/mod_perl-2.0.4/xs/modperl_xs_typedefs.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
*** Error code 1
What's in xs/modperl_xs_typedefs.h:67 ? (it's generated, so I can easily tell)
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
Re: [ANNOUNCE] mod_perl-2.0.4
Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Philippe M. Chiasson wrote:
| Finally, it's here and it works with Perl 5.10!
|
| http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz
| http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz.asc (pgp sig)
|
| The package is also available on CPAN:
|
| file: $CPAN/authors/id/G/GO/GOZER/mod_perl-2.0.4.tar.gz
| size: 3727717 bytes
| md5: 1a05625ae6843085f985f5da8214502a
| sha1: 65299a16ec414a690a48a2bbe63acaa3c6bb897b
[Please drop CC's to ports <at> fbsd.org in replies.]
Hey, sorry, I didn't around to testing this before it came out :(
Default ports build on FreeBSD is broken
http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,3.log
- --
- ------------------------------------------------------------------------
Philip M. Gollucci (philip@ridecharge.com)
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C
Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIB9NzdbiP+9ubjBwRAj/uAJ9fEC/70cY4jXzbpVEGlapQYriEewCdHCxA
cGlr1UBHAP5r46LEsFu+afE=
=1vig
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org