Re: [RELEASE CANDIDATE] Apache-Test-1.43 RC1
Steve Hay <[email protected]> Tue, 2 Nov 2021 14:19:47 +0000
| Newsgroups | gmane.comp.apache.mod-perl.devel |
|---|---|
| Message-ID | <CADED=K5j_mhEuBM-gea4D2JKvYYiRgCrXshyRBkQkp_W7FsGcQ@mail.gmail.com> |
--000000000000f5e88805cfcefc95 Content-Type: text/plain; charset="UTF-8" On Tue, 26 Oct 2021 at 08:28, Steve Hay <[email protected]> wrote: > 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. > > +1 from me, using VS2019 (v16.9.4) x64 on Windows 10, Perl 5.34.0, Apache httpd 2.4.51, mod_perl from SVN (r1894283), libapreq2-2.16, with and without LWP installed. (For me the build works just doing "perl Makefile.PL && nmake && nmake test" after setting my perl.exe and httpd.exe folders in the %PATH%.) Still looking for more +1s... --000000000000f5e88805cfcefc95 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Tue, 26 Oct 2021 at 08:28, Steve Hay &= lt;<a href=3D"mailto:[email protected]">[email protected]= </a>> wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gm= ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,= 204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr">On Fri, 15 Oct= 2021 at 21:33, Edward J. Sabol <<a href=3D"mailto:[email protected]= m" target=3D"_blank">[email protected]</a>> wrote:<br></div><div cl= ass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0= px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Oc= t 15, 2021, at 4:26 AM, Steve Hay <<a href=3D"mailto:[email protected]= " target=3D"_blank">[email protected]</a>> 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></blockquote><div><br></div><div>+1 from me, using VS2019 (v= 16.9.4) x64 on Windows 10, Perl 5.34.0, Apache httpd 2.4.51, mod_perl from = SVN (r1894283), libapreq2-2.16, with and without LWP=C2=A0installed.</div><= div><br></div><div>(For me the build works just doing "perl Makefile.P= L && nmake && nmake=C2=A0test" after setting my perl.e= xe and httpd.exe folders in the %PATH%.)</div><div><br></div><div>Still loo= king for more=C2=A0+1s...</div></div></div> --000000000000f5e88805cfcefc95--