Re: [RELEASE CANDIDATE] Apache-Test-1.43 RC1
Steve Hay <[email protected]> Tue, 26 Oct 2021 08:28:24 +0100
| Newsgroups | gmane.comp.apache.mod-perl.devel |
|---|---|
| Message-ID | <CADED=K46arUz1Nwtqja3U1w72HkivZF7hXSyHKyNP0LqjxTNpQ@mail.gmail.com> |
--000000000000bc097105cf3c6c2f Content-Type: text/plain; charset="UTF-8" On Fri, 15 Oct 2021 at 21:33, Edward J. Sabol <[email protected]> wrote: > On Oct 15, 2021, at 4:26 AM, Steve Hay <[email protected]> wrote: > > As a preliminary to making a new mod_perl release, I am updating > Apache-Test. > > > > Please download, test, and report back on this Apache-Test 1.43 release > candidate. > > > > https://dist.apache.org/repos/dist/dev/perl/Apache-Test-1.43-rc1.tar.gz > > INSTALL says to "perl Makefile.PL -httpd /path/to/your/apache/bin/httpd", > but I found I had to > > perl Makefile.PL -httpd /path/to/your/apache/bin/httpd -apxs > /path/to/your/apache/bin/apxs > > or else "make test" reported a lot of "APXS (/usr/sbin/apxs) query for > SBINDIR failed" errors. > > Obviously, /usr/sbin/apxs != /path/to/your/apache/bin/apxs for my httpd > installation. > > Well, after I "perl Makefile.PL -httpd /path/to/your/apache/bin/httpd > -apxs /path/to/your/apache/bin/apxs", I encountered the following: > > waiting 60 seconds for server to start: .AH00526: Syntax error on line 12 > of /path/to/tests/Apache-Test-1.43-rc1/t/conf/httpd.conf: > Invalid command 'User', perhaps misspelled or defined by a module not > included in the server configuration > [ error] > server has died with status 255 (t/logs/error_log wasn't created, start > the server in the debug mode) > sh: line 1: 39154 Terminated /path/to/perl > /path/to/tests/Apache-Test-1.43-rc1/t/TEST -bugreport -verbose=0 > > The first non-comment lines in t/conf/httpd.conf are > > User "<my_userid>" > Group "<my_primary_group>" > > I'm using Apache 2.4.41. If I try to edit t/conf/httpd.conf to comment out > these lines or to add "LoadModule unixd_module modules/mod_unixd.so" so > that the httpd.conf will work, my changes just get destroyed the next time > I "make test". Frustrating. > > Also, It would be nice if Apache::Test would skip trying to "ulimit -c > unlimited" if $LOGNAME != "root" in order to avoid the following message: > > sh: line 0: ulimit: core file size: cannot modify limit: Operation not > permitted > > If only root should "make test", then the INSTALL instructions should say > to use sudo or something. > > Thanks for testing, and apologies for not getting back to you sooner. Unfortunately, I don't know anything about building Apache/mod_perl on *nix systems, and was hoping that someone else might step in with some answers here. Do you get the same behaviour with Apache-Test-1.42, or are these new problems in 1.43-rc1? If the problems are not new then I'm inclined to leave them for now (assuming I can get some +1s from voters on releasing this) and look at addressing them for the next release. The purpose of this release was really just to update Apache-Test in mod_perl to the current version before making a long-overdue release of that. --000000000000bc097105cf3c6c2f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Fri, 15 Oct 2021 at 21:33, Edward J. S= abol <<a href=3D"mailto:[email protected]">[email protected]</= a>> wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20= 4,204);padding-left:1ex">On Oct 15, 2021, at 4:26 AM, Steve Hay <<a href= =3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&g= t; wrote:<br> > As a preliminary to making a new mod_perl release, I am updating Apach= e-Test.<br> > <br> > Please download, test, and report back on this Apache-Test 1.43 releas= e candidate.<br> > <br> > <a href=3D"https://dist.apache.org/repos/dist/dev/perl/Apache-Test-1.4= 3-rc1.tar.gz" rel=3D"noreferrer" target=3D"_blank">https://dist.apache.org/= repos/dist/dev/perl/Apache-Test-1.43-rc1.tar.gz</a><br> <br> INSTALL says to "perl Makefile.PL -httpd /path/to/your/apache/bin/http= d", but I found I had to<br> <br> perl Makefile.PL -httpd /path/to/your/apache/bin/httpd -apxs /path/to/your/= apache/bin/apxs<br> <br> or else "make test" reported a lot of "APXS (/usr/sbin/apxs)= query for SBINDIR failed" errors.<br> <br> Obviously, /usr/sbin/apxs !=3D /path/to/your/apache/bin/apxs for my httpd i= nstallation.<br> <br> Well, after I "perl Makefile.PL -httpd /path/to/your/apache/bin/httpd = -apxs /path/to/your/apache/bin/apxs", I encountered the following:<br> <br> waiting 60 seconds for server to start: .AH00526: Syntax error on line 12 o= f /path/to/tests/Apache-Test-1.43-rc1/t/conf/httpd.conf:<br> Invalid command 'User', perhaps misspelled or defined by a module n= ot included in the server configuration<br> [=C2=A0 error]<br> server has died with status 255 (t/logs/error_log wasn't created, start= the server in the debug mode)<br> sh: line 1: 39154 Terminated=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 /path/to/perl /path/to/tests/Apache-Test-1.43-rc1/t/TEST -bugreport -ve= rbose=3D0<br> <br> The first non-comment lines in t/conf/httpd.conf are<br> <br> User=C2=A0 =C2=A0 "<my_userid>"<br> Group=C2=A0 =C2=A0 "<my_primary_group>"<br> <br> I'm using Apache 2.4.41. If I try to edit t/conf/httpd.conf to comment = out these lines or to add "LoadModule unixd_module modules/mod_unixd.s= o" so that the httpd.conf will work, my changes just get destroyed the= next time I "make test". Frustrating.<br> <br> Also, It would be nice if Apache::Test would skip trying to "ulimit -c= unlimited" if $LOGNAME !=3D "root" in order to avoid the fo= llowing message:<br> <br> sh: line 0: ulimit: core file size: cannot modify limit: Operation not perm= itted<br> <br> If only root should "make test", then the INSTALL instructions sh= ould say to use sudo or something.<br><br></blockquote><div>=C2=A0</div><di= v>Thanks for testing, and apologies for not getting back to you sooner.</di= v><div><br></div><div>Unfortunately, I don't know anything about buildi= ng Apache/mod_perl on *nix systems, and was hoping that someone else might = step in with some answers here.</div><div><br></div><div>Do you get the sam= e behaviour with Apache-Test-1.42, or are these new problems in 1.43-rc1?</= div><div><br></div><div>If the problems are not new then I'm inclined t= o leave them for now (assuming I can get some=C2=A0+1s from voters on relea= sing this) and look at addressing them for the next release. The purpose of= this release was really just to update Apache-Test in mod_perl to the curr= ent version before making a long-overdue release of that.</div><div><br></d= iv></div></div> --000000000000bc097105cf3c6c2f--