Re: [RELEASE CANDIDATE] mod_perl-2.0.13 RC1

Adam Prime <[email protected]> Tue, 22 Aug 2023 22:58:08 -0400
Newsgroups gmane.comp.apache.mod-perl.devel
Message-ID <bd2fab1c-e5eb-e216-c0ca-8aa491f9f44f__42776.6849564918$1692759549$gmane$org@alum.utoronto.ca>
I can reproduce this on linux with perl 5.34.0 or 5.38.0, and probably 
other's I haven't tried. If I build httpd 2.4.57 with mod_proxy, then it 
happens.

t/logs/error_log shows this:

[Tue Aug 22 21:43:54.639949 2023] [proxy_balancer:emerg] [pid 3450] 
AH01177: Failed to lookup provider 'shm' for 'slotmem': is 
mod_slotmem_shm loaded??
[Tue Aug 22 21:43:54.639961 2023] [:emerg] [pid 3450] AH00020: 
Configuration Failed, exiting

If I uncomment the LoadModule for mod_slotmem_shm in the default 
httpd.conf that shipped with 2.4.57, then the tests run as expected with 
the one failure.

I think this could be a bug with the way that Apache::Test figures out 
what apache configuration it should use, possibly. It does seem to be 
related to the way I built apache too though, which is like this:

./configure \
   --prefix=$2 \
   --with-included-apr \
   --enable-deflate=static \
   --enable-proxy=static \
   --enable-auth_digest=static \
   --enable-include=static \
   --with-mpm=prefork && make && make install

Adam




On 8/18/23 01:10, Fred Moyer wrote:
> [You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> Hitting an issue on MacOS, perl 5.36.1, httpd 2.4.57. Not sure if this
> is me out of practice or not. Do I need to build against httpd 2.2?
> 
> ulimit -c unlimited; /opt/homebrew/Cellar/perl/5.36.1/bin/perl
> /Users/phred/dev/mod_perl-2.0.13-rc1/t/TEST -bugreport -verbose=0
> /opt/homebrew/opt/httpd/bin/httpd  -d
> /Users/phred/dev/mod_perl-2.0.13-rc1/t -f
> /Users/phred/dev/mod_perl-2.0.13-rc1/t/conf/httpd.conf -D APACHE2 -D
> APACHE2_4 -D PERL_USEITHREADS
> using Apache/2.4.57 (prefork MPM)
> 
> waiting 300 seconds for server to start: .httpd: Syntax error on line
> 85 of /Users/phred/dev/mod_perl-2.0.13-rc1/t/conf/httpd.conf: Cannot
> load /Users/phred/dev/mod_perl-2.0.13-rc1/src/modules/perl/mod_perl.so
> into server: dlopen(/Users/phred/dev/hd_perl-2.0.13-rc1/src/modules/perl/mod_perl.so,
> 0x000A): symbol not found in flat namespace
> '_modperl_handler_anon_add'
> .........................^C[warning]
> halting tests
> 
> On Sun, Aug 6, 2023 at 5:00 AM Steve Hay <[email protected]> wrote:
>>
>> Please download, test, and report back on this mod_perl 2.0.13 release
>> candidate.
>>
>> https://dist.apache.org/repos/dist/dev/perl/mod_perl-2.0.13-rc1.tar.gz
>>
>> SHA256:
>> mod_perl-2.0.13-rc1.tar.gz: EC72BC99 EC01DAE5 BEB1DC8F 2F3807CB A4A9BF4D
>>                              D492E846 858DABC0 EEA8E6B7
>>
>> SHA512:
>> mod_perl-2.0.13-rc1.tar.gz: 15EA2E30 B5BE0B76 7E49FC46 20F93AA0 FF4E9EBA
>>                              03E7EDFD 64166223 5C1E652B B3C1CB69 CB60DF33
>>                              C64121C5 C74F3ABB A9ACDB6B 19E9B19A 46790DFE
>>                              015C77C9
>>
>> Major changes in this release are as follows:
>>
>> Use get_server_banner() instead of deprecated get_server_version() in
>> Apache2::Status.  [Petr Písař <[email protected]]
>>
>> Avoid generating APR precompiled headers. [Sam James <[email protected]>]
>>
>> Fix build for perl >= 5.37.1. [Jitka Plesnikova <[email protected]>]
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>