perl-POE-Component-Server-SimpleHTTP-2.28-12.fc37 fails to build in Fedora 37 because tests fail like this: + make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ........... ok # GET http://pocosimpletest.com:37417/ HTTP/1.1 # Host: 127.0.0.1:37417 # Did not get DONE/CLOSE event for Wheel ID 3 from IP 127.0.0.1 at /builddir/build/BUILD/POE-Component-Server-SimpleHTTP-2.28/blib/lib/POE/Component/Server/SimpleHTTP.pm line 226. I had a problem posting to event TOP of session 1 for DIR handler '^/$'. As reported by Kernel: 'No such file or directory', perhaps the session name is spelled incorrectly for this handler? at /usr/share/perl5/vendor_perl/POE/Session.pm line 483. # Looks like your test exited with 22 before it could output anything. t/02_simple.t ............ Dubious, test returned 22 (wstat 5632, 0x1600) Failed 2/2 subtests # starting httpd6 # httpd6 started # Port is 33393 # webc_connected # GET http://pocosimpletest.com:33393/ HTTP/1.1 # Host: ::1:33393 # Did not get DONE/CLOSE event for Wheel ID 3 from IP ::1 at /builddir/build/BUILD/POE-Component-Server-SimpleHTTP-2.28/blib/lib/POE/Component/Server/SimpleHTTP.pm line 226. I had a problem posting to event TOP of session 1 for DIR handler '^/$'. As reported by Kernel: 'No such file or directory', perhaps the session name is spelled incorrectly for this handler? at /usr/share/perl5/vendor_perl/POE/Session.pm line 483. # Looks like your test exited with 22 before it could output anything. t/02_simple_ipv6.t ....... Dubious, test returned 22 (wstat 5632, 0x1600) Failed 2/2 subtests [...] Test Summary Report ------------------- t/02_simple.t (Wstat: 5632 (exited 22) Tests: 0 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 2 tests but ran 0. t/02_simple_ipv6.t (Wstat: 5632 (exited 22) Tests: 0 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 2 tests but ran 0. t/03_bad_request.t (Wstat: 5632 (exited 22) Tests: 0 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 2 tests but ran 0. t/04_run_close.t (Wstat: 5632 (exited 22) Tests: 0 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 16 tests but ran 0. t/04_run_keepalive.t (Wstat: 5632 (exited 22) Tests: 1 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 14 tests but ran 1. t/05_post.t (Wstat: 5632 (exited 22) Tests: 0 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 4 tests but ran 0. t/06_stream.t (Wstat: 5632 (exited 22) Tests: 0 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 6 tests but ran 0. Files=11, Tests=8, 5 wallclock secs ( 0.03 usr 0.02 sys + 4.62 cusr 0.39 csys = 5.06 CPU) Result: FAIL Failed 7/11 test programs. 0/8 subtests failed. A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/13210767>
This is triggered by upgrading perl-URI from 5.10-3.fc37 to 5.11-1.fc37.
URI bisected to: commit f4183117b1b19fc66918a2ea0b8db0527884870e (HEAD, refs/bisect/bad) Author: Perlbotics <perlbotix> Date: Tue Jun 7 11:18:57 2022 +0200 uri-test: use local implementation (./lib) while authoring module bugfix #99: Square brackets in path element not escaped. Hopefully fixes issue#99 w/o breaking new stuff. https://github.com/libwww-perl/URI/issues/99
This seems to be a wrong error check in POE::Component::Server::SimpleHTTP.