You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Steve Hay <st...@apache.org> on 2021/11/07 13:48:58 UTC

[RELEASE CANDIDATE] mod_perl-2.0.12 RC1

Please download, test, and report back on this mod_perl 2.0.12 release
candidate.

https://dist.apache.org/repos/dist/dev/perl/mod_perl-2.0.12-rc1.tar.gz

SHA256:
mod_perl-2.0.12-rc1.tar.gz: 50CF6B06 6BAFF225 78F3BB77 7695F6CC 142D1F68
                            8E085067 A055EB2B B58425D3

SHA512:
mod_perl-2.0.12-rc1.tar.gz: 320DDC4C 896F68BE C50C54D5 03179D81 B6FFB889
                            C66BB568 FD5976F4 BD1224BE 617B2DFB E78D6DF0
                            AC8F9474 93730DD1 763A2A50 E594D407 B36336E4
                            69ABE24F

Major changes in this release are as follows:

Fix detection of APR's threading support on RHEL 8. [Petr Písař
<pp...@redhat.com>]

Fix build for perl >= 5.33.7. [Leon Timmermans <fa...@gmail.com>]

Fix SIGSEGV crash due to wrong use of perl_parse(). [Charles Pigott
<cp...@rapitasystems.com>]

Improve installation instructions for AIX. [Rainer Tammer
<ra...@schulergroup.com>]

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


Re: [RELEASE CANDIDATE] mod_perl-2.0.12 RC1

Posted by Walt Pang <wa...@gmail.com>.
Thanks for the release. I will test it on my ubuntu system.


Steve Hay <st...@apache.org>于2021年11月7日 周日下午9:49写道:

> Please download, test, and report back on this mod_perl 2.0.12 release
> candidate.
>
> https://dist.apache.org/repos/dist/dev/perl/mod_perl-2.0.12-rc1.tar.gz
>
> SHA256:
> mod_perl-2.0.12-rc1.tar.gz: 50CF6B06 6BAFF225 78F3BB77 7695F6CC 142D1F68
>                             8E085067 A055EB2B B58425D3
>
> SHA512:
> mod_perl-2.0.12-rc1.tar.gz: 320DDC4C 896F68BE C50C54D5 03179D81 B6FFB889
>                             C66BB568 FD5976F4 BD1224BE 617B2DFB E78D6DF0
>                             AC8F9474 93730DD1 763A2A50 E594D407 B36336E4
>                             69ABE24F
>
> Major changes in this release are as follows:
>
> Fix detection of APR's threading support on RHEL 8. [Petr Písař
> <pp...@redhat.com>]
>
> Fix build for perl >= 5.33.7. [Leon Timmermans <fa...@gmail.com>]
>
> Fix SIGSEGV crash due to wrong use of perl_parse(). [Charles Pigott
> <cp...@rapitasystems.com>]
>
> Improve installation instructions for AIX. [Rainer Tammer
> <ra...@schulergroup.com>]
>

Re: [RELEASE CANDIDATE] mod_perl-2.0.12 RC1

Posted by Vincent Veyron <vv...@wanadoo.fr>.
On Mon, 8 Nov 2021 22:42:15 +0100
Vincent Veyron <vv...@wanadoo.fr> wrote:

Forgot the attachment

--
					Bien à vous, Vincent Veyron

https://marica.fr/
Logiciel de gestion des sinistres assurances, des dossiers contentieux et des contrats pour le service juridique

Re: [RELEASE CANDIDATE] mod_perl-2.0.12 RC1

Posted by Vincent Veyron <vv...@wanadoo.fr>.
On Sun, 7 Nov 2021 13:48:58 +0000
Steve Hay <st...@apache.org> wrote:

> Please download, test, and report back on this mod_perl 2.0.12 release
> candidate.
> 
> https://dist.apache.org/repos/dist/dev/perl/mod_perl-2.0.12-rc1.tar.gz
> 

Hi Steve,

Tested on Debian 10.10 (Buster)

I had to do the following to run the test suite :

Got the error 
/usr/bin/ld: cannot find -lperl 

Followed this advice
https://stackoverflow.com/questions/335928/ld-cannot-find-an-existing-library

and linked libperl.so to libperl.so.5.28.1 (the current library)

Then got this error :

~..(13)Permission denied: AH00091: apache2: could not open error log file /home/vincent/tmp/mod_perl-2.0.12-rc1/t/logs/error_log.
AH00015: Unable to open logs

So :

/tmp/mod_perl-2.0.12-rc1/t# chgrp vincent logs
~/tmp/mod_perl-2.0.12-rc1/t# chmod g+w logs

Tests runs fine, with this warning for just about all tests :

t/protocol/echo_filter.t ................ [Mon Nov 08 21:03:49.933516 2021] [core:warn] [pid 25091] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
apache2: Syntax error on line 80 of /etc/apache2/httpd.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot


Here is the Test Summary Report

-------------------
t/apache/daemon.t                     (Wstat: 0 Tests: 2 Failed: 2)
  Failed tests:  1-2
t/filter/in_bbs_inject_header.t       (Wstat: 0 Tests: 36 Failed: 3)
  Failed tests:  22, 26, 30
Files=245, Tests=3505, 758 wallclock secs ( 2.95 usr  1.22 sys + 574.12 cusr 163.00 csys = 741.29 CPU)
Result: FAIL
Failed 2/245 test programs. 5/3505 subtests failed.
[warning] server localhost:8529 shutdown
[warning] port 8529 still in use...
done
[  error] error running tests (please examine t/logs/error_log)
-------------------


Installed packages :

apache2                         2.4.38-3+deb10u5  i386         Apache HTTP Server
libapache2-mod-perl2             2.0.10-3       i386         Integration of perl with the Apache2 web server

Machine is an IBM X201

Attached :

t/logs/error_log



--
					Bien à vous, Vincent Veyron

https://marica.fr/
Logiciel de gestion des sinistres assurances, des dossiers contentieux et des contrats pour le service juridique

Re: [RELEASE CANDIDATE] mod_perl-2.0.12 RC1

Posted by Matt Day <ma...@gmail.com>.
I successfully compiled, tested, and ran this without previous workarounds
and patches for arch linux with a makepkg package.

Perl: v5.34.0
Apache: 2.4.51

On Sun, 7 Nov 2021 at 13:49, Steve Hay <st...@apache.org> wrote:

> Please download, test, and report back on this mod_perl 2.0.12 release
> candidate.
>
> https://dist.apache.org/repos/dist/dev/perl/mod_perl-2.0.12-rc1.tar.gz
>
> SHA256:
> mod_perl-2.0.12-rc1.tar.gz: 50CF6B06 6BAFF225 78F3BB77 7695F6CC 142D1F68
>                             8E085067 A055EB2B B58425D3
>
> SHA512:
> mod_perl-2.0.12-rc1.tar.gz: 320DDC4C 896F68BE C50C54D5 03179D81 B6FFB889
>                             C66BB568 FD5976F4 BD1224BE 617B2DFB E78D6DF0
>                             AC8F9474 93730DD1 763A2A50 E594D407 B36336E4
>                             69ABE24F
>
> Major changes in this release are as follows:
>
> Fix detection of APR's threading support on RHEL 8. [Petr Písař
> <pp...@redhat.com>]
>
> Fix build for perl >= 5.33.7. [Leon Timmermans <fa...@gmail.com>]
>
> Fix SIGSEGV crash due to wrong use of perl_parse(). [Charles Pigott
> <cp...@rapitasystems.com>]
>
> Improve installation instructions for AIX. [Rainer Tammer
> <ra...@schulergroup.com>]
>

Re: [RELEASE CANDIDATE] mod_perl-2.0.12 RC1

Posted by Vincent Veyron <vv...@wanadoo.fr>.
On Tue, 23 Nov 2021 08:37:44 +0000
Steve Hay <st...@googlemail.com> wrote:

>I don't recall seeing the t/apache/daemon.t failure before.

Steve,

I realized I did not run the tests with 2.0.12 correctly (ran t/TEST without doing 'make test' first)

Here is the result of a re-run :

Test Summary Report
-------------------
t/filter/in_bbs_inject_header.t       (Wstat: 0 Tests: 36 Failed: 3)
  Failed tests:  22, 26, 30
Files=245, Tests=3505, 723 wallclock secs ( 3.01 usr  1.06 sys + 552.93 cusr 152.53 csys = 709.53 CPU)
Result: FAIL
Failed 1/245 test programs. 3/3505 subtests failed.
[warning] server localhost:8529 shutdown
[warning] port 8529 still in use...
done

So, only the documented bbs_inject_header.t fails

-- 

					Bien à vous, Vincent Veyron 

https://compta.libremen.com
Logiciel libre de comptabilité générale en partie double
-- 
Vincent Veyron <vv...@wanadoo.fr>

Re: [RELEASE CANDIDATE] mod_perl-2.0.12 RC1

Posted by Vincent Veyron <vv...@wanadoo.fr>.
On Tue, 23 Nov 2021 08:37:44 +0000
Steve Hay <st...@googlemail.com> wrote:

>I don't recall seeing the t/apache/daemon.t failure before.

‌[repost, it seems my first message did not get through]

Steve,

I realized I did not run the tests with 2.0.12 correctly (ran t/TEST without doing 'make test' first)

Here is the result of a re-run :

Test Summary Report
-------------------
t/filter/in_bbs_inject_header.t       (Wstat: 0 Tests: 36 Failed: 3)
  Failed tests:  22, 26, 30
Files=245, Tests=3505, 723 wallclock secs ( 3.01 usr  1.06 sys + 552.93 cusr 152.53 csys = 709.53 CPU)
Result: FAIL
Failed 1/245 test programs. 3/3505 subtests failed.
[warning] server localhost:8529 shutdown
[warning] port 8529 still in use...
done

So, only the documented bbs_inject_header.t fails

-- 

					Bien à vous, Vincent Veyron 

https://compta.libremen.com
Logiciel libre de comptabilité générale en partie double
-- 
Vincent Veyron <vv...@wanadoo.fr>

Re: [RELEASE CANDIDATE] mod_perl-2.0.12 RC1

Posted by Vincent Veyron <vv...@wanadoo.fr>.
On Tue, 23 Nov 2021 08:37:44 +0000
Steve Hay <st...@googlemail.com> wrote:
> I don't recall seeing the t/apache/daemon.t failure before.
> Does it happen with the current release version (2.0.11) as well?

Hi Steve,

I ran the tests with 2.0.11, first without correcting the error mentionned in my previous post ([Config variable ${APACHE_RUN_DIR} is not defined)

the error appeared on every test as well; here is the summary

Test Summary Report
-------------------
t/api/request_rec.t                   (Wstat: 0 Tests: 43 Failed: 0)
  Parse errors: Bad plan.  You planned 55 tests but ran 43.
t/compat/request.t                    (Wstat: 0 Tests: 12 Failed: 0)
  Parse errors: Bad plan.  You planned 22 tests but ran 12.
t/filter/in_bbs_inject_header.t       (Wstat: 0 Tests: 36 Failed: 3)
  Failed tests:  22, 26, 30
Files=245, Tests=3483, 759 wallclock secs ( 2.95 usr  1.12 sys + 571.50 cusr 166.22 csys = 741.79 CPU)
Result: FAIL
Failed 3/245 test programs. 3/3483 subtests failed.
[warning] server localhost:8529 shutdown
[warning] port 8529 still in use...
done
[  error] error running tests (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [Makefile:1048: run_tests] Error 1


I then modified my /etc/apache2/apache2.conf thus:

DefaultRuntimeDir /var/www/html

And ran the tests a second time; these warnings appeared on all tests :


t/vhost/log.t ........................... [Thu Nov 25 18:29:01.953664 2021] [core:warn] [pid 2876] AH00111: Config variable ${APACHE_PID_FILE} is not defined
[Thu Nov 25 18:29:01.953834 2021] [core:warn] [pid 2876] AH00111: Config variable ${APACHE_RUN_USER} is not defined
[Thu Nov 25 18:29:01.953852 2021] [core:warn] [pid 2876] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined
[Thu Nov 25 18:29:01.953893 2021] [core:warn] [pid 2876] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Thu Nov 25 18:29:01.955488 2021] [so:warn] [pid 2876] AH01574: module apreq_module is already loaded, skipping
[Thu Nov 25 18:29:01.983782 2021] [core:warn] [pid 2876] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
[Thu Nov 25 18:29:01.985371 2021] [core:warn] [pid 2876] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Thu Nov 25 18:29:01.986212 2021] [core:warn] [pid 2876] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Thu Nov 25 18:29:01.986371 2021] [core:warn] [pid 2876] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
t/vhost/log.t ........................... ok   

Test Summary Report
-------------------
t/api/request_rec.t                   (Wstat: 0 Tests: 43 Failed: 0)
  Parse errors: Bad plan.  You planned 55 tests but ran 43.
t/compat/request.t                    (Wstat: 0 Tests: 12 Failed: 0)
  Parse errors: Bad plan.  You planned 22 tests but ran 12.
t/filter/in_bbs_inject_header.t       (Wstat: 0 Tests: 36 Failed: 3)
  Failed tests:  22, 26, 30
Files=245, Tests=3483, 759 wallclock secs ( 3.10 usr  1.11 sys + 578.01 cusr 163.62 csys = 745.84 CPU)
Result: FAIL
Failed 3/245 test programs. 3/3483 subtests failed.
[warning] server localhost:8529 shutdown
[warning] port 8529 still in use...
done

I'm not sure how to correct those warnings about the missing config variables.

Attached : error_log




-- 
					Bien à vous, Vincent Veyron

https://marica.fr
Logiciel de gestion des contentieux juridiques, des contrats et des sinistres d'assurance

Re: [RELEASE CANDIDATE] mod_perl-2.0.12 RC1

Posted by Steve Hay <st...@googlemail.com>.
On Mon, 8 Nov 2021 at 20:34, vincent.veyron@libremen.org
<vi...@libremen.org> wrote:
>
> On Sun, 7 Nov 2021 13:48:58 +0000
> Steve Hay <st...@apache.org> wrote:
>
> > Please download, test, and report back on this mod_perl 2.0.12 release
> > candidate.
> >
> > https://dist.apache.org/repos/dist/dev/perl/mod_perl-2.0.12-rc1.tar.gz
> >
>
> Hi Steve,
>
> Tested on Debian 10.10 (Buster)
>
> I had to do the following to run the test suite :
>
> Got the error
> /usr/bin/ld: cannot find -lperl
>
> Followed this advice
> https://stackoverflow.com/questions/335928/ld-cannot-find-an-existing-library
>
> and linked libperl.so to libperl.so.5.28.1 (the current library)
>
> Then got this error :
>
> ~..(13)Permission denied: AH00091: apache2: could not open error log file /home/vincent/tmp/mod_perl-2.0.12-rc1/t/logs/error_log.
> AH00015: Unable to open logs
>
> So :
>
> /tmp/mod_perl-2.0.12-rc1/t# chgrp vincent logs
> ~/tmp/mod_perl-2.0.12-rc1/t# chmod g+w logs
>
> Tests runs fine, with this warning for just about all tests :
>
> t/protocol/echo_filter.t ................ [Mon Nov 08 21:03:49.933516 2021] [core:warn] [pid 25091] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
> apache2: Syntax error on line 80 of /etc/apache2/httpd.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot
>
>
> Here is the Test Summary Report
>
> -------------------
> t/apache/daemon.t                     (Wstat: 0 Tests: 2 Failed: 2)
>   Failed tests:  1-2
> t/filter/in_bbs_inject_header.t       (Wstat: 0 Tests: 36 Failed: 3)
>   Failed tests:  22, 26, 30
> Files=245, Tests=3505, 758 wallclock secs ( 2.95 usr  1.22 sys + 574.12 cusr 163.00 csys = 741.29 CPU)
> Result: FAIL

Thanks for testing, and apologies for the slow response.

The t/filter/in_bbs_inject_header.t failure is documented in the
README. I don't recall seeing the t/apache/daemon.t failure before.
Does it happen with the current release version (2.0.11) as well?

Re: [RELEASE CANDIDATE] mod_perl-2.0.12 RC1

Posted by Steve Hay <st...@googlemail.com.INVALID>.
On Mon, 8 Nov 2021 at 20:34, vincent.veyron@libremen.org
<vi...@libremen.org> wrote:
>
> On Sun, 7 Nov 2021 13:48:58 +0000
> Steve Hay <st...@apache.org> wrote:
>
> > Please download, test, and report back on this mod_perl 2.0.12 release
> > candidate.
> >
> > https://dist.apache.org/repos/dist/dev/perl/mod_perl-2.0.12-rc1.tar.gz
> >
>
> Hi Steve,
>
> Tested on Debian 10.10 (Buster)
>
> I had to do the following to run the test suite :
>
> Got the error
> /usr/bin/ld: cannot find -lperl
>
> Followed this advice
> https://stackoverflow.com/questions/335928/ld-cannot-find-an-existing-library
>
> and linked libperl.so to libperl.so.5.28.1 (the current library)
>
> Then got this error :
>
> ~..(13)Permission denied: AH00091: apache2: could not open error log file /home/vincent/tmp/mod_perl-2.0.12-rc1/t/logs/error_log.
> AH00015: Unable to open logs
>
> So :
>
> /tmp/mod_perl-2.0.12-rc1/t# chgrp vincent logs
> ~/tmp/mod_perl-2.0.12-rc1/t# chmod g+w logs
>
> Tests runs fine, with this warning for just about all tests :
>
> t/protocol/echo_filter.t ................ [Mon Nov 08 21:03:49.933516 2021] [core:warn] [pid 25091] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
> apache2: Syntax error on line 80 of /etc/apache2/httpd.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot
>
>
> Here is the Test Summary Report
>
> -------------------
> t/apache/daemon.t                     (Wstat: 0 Tests: 2 Failed: 2)
>   Failed tests:  1-2
> t/filter/in_bbs_inject_header.t       (Wstat: 0 Tests: 36 Failed: 3)
>   Failed tests:  22, 26, 30
> Files=245, Tests=3505, 758 wallclock secs ( 2.95 usr  1.22 sys + 574.12 cusr 163.00 csys = 741.29 CPU)
> Result: FAIL

Thanks for testing, and apologies for the slow response.

The t/filter/in_bbs_inject_header.t failure is documented in the
README. I don't recall seeing the t/apache/daemon.t failure before.
Does it happen with the current release version (2.0.11) as well?

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