Skip Menu |

This queue is for tickets about the HTTP-XSHeaders CPAN distribution.

Report information
The Basics
Id: 127249
Status: resolved
Priority: 0/
Queue: HTTP-XSHeaders

People
Owner: Nobody in particular
Requestors: TODDR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.400003
Fixed in: (no value)



Subject: Tests fail without . in @INC
Getting: Can't locate t/lib/Utils.pm in @INC
23:47:10 16659 ERROR [463]: + PERL_USE_UNSAFE_INC=0 23:47:10 16659 ERROR [463]: + /usr/bin/make test 23:47:10 16659 ERROR [463]: "/usr/local/cpanel/3rdparty/perl/528/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XSHeaders.bs blib/arch/auto/HTTP/XSHeaders/XSHeaders.bs 644 23:47:10 16659 ERROR [463]: PERL_DL_NONLAZY=1 "/usr/local/cpanel/3rdparty/perl/528/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t 23:47:10 16659 ERROR [463]: t/00_compile.t .............. ok 23:47:10 16659 ERROR [463]: t/01-compat.t ............... skipped: this test requires HTTP::Headers 5.822 or later 23:47:10 16659 ERROR [463]: t/02-isa.t .................. skipped: HTTP::Headers::Fast is necessary 23:47:10 16659 ERROR [463]: Can't locate t/lib/Utils.pm in @INC (you may need to install the t::lib::Utils module) (@INC contains: /home/rpmbuild/rpm-build/BUILD/HTTP-XSHeaders-0.400003/blib/lib /home/rpmbuild/rpm-build/BUILD/HTTP-XSHeaders-0.400003/blib/arch /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int /opt/cpanel/perl5/528/site_lib) at t/_header.t line 8. 23:47:10 16659 ERROR [463]: BEGIN failed--compilation aborted at t/_header.t line 8. 23:47:10 16659 ERROR [463]: t/_header.t ................. 23:47:10 16659 ERROR [463]: Dubious, test returned 2 (wstat 512, 0x200) 23:47:10 16659 ERROR [463]: No subtests run 23:47:10 16659 ERROR [463]: t/as_string_without_sort.t .. ok 23:47:10 16659 ERROR [463]: t/charset.t ................. ok 23:47:10 16659 ERROR [463]: t/headers.t ................. skipped: URI is required for this test 23:47:10 16659 ERROR [463]: t/memory_leak.t ............. skipped: Test::MemoryGrowth is needed for this test 23:47:10 16659 ERROR [463]: Can't locate t/lib/Utils.pm in @INC (you may need to install the t::lib::Utils module) (@INC contains: /home/rpmbuild/rpm-build/BUILD/HTTP-XSHeaders-0.400003/blib/lib /home/rpmbuild/rpm-build/BUILD/HTTP-XSHeaders-0.400003/blib/arch /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int /opt/cpanel/perl5/528/site_lib) at t/validate_invocant.t line 8. 23:47:10 16659 ERROR [463]: BEGIN failed--compilation aborted at t/validate_invocant.t line 8. 23:47:10 16659 ERROR [463]: t/validate_invocant.t ....... 23:47:10 16659 ERROR [463]: Dubious, test returned 2 (wstat 512, 0x200) 23:47:10 16659 ERROR [463]: No subtests run 23:47:10 16659 ERROR [463]: 23:47:10 16659 ERROR [463]: Test Summary Report 23:47:10 16659 ERROR [463]: ------------------- 23:47:10 16659 ERROR [463]: t/_header.t (Wstat: 512 Tests: 0 Failed: 0) 23:47:10 16659 ERROR [463]: Non-zero exit status: 2 23:47:10 16659 ERROR [463]: Parse errors: No plan found in TAP output 23:47:10 16659 ERROR [463]: t/validate_invocant.t (Wstat: 512 Tests: 0 Failed: 0) 23:47:10 16659 ERROR [463]: Non-zero exit status: 2 23:47:10 16659 ERROR [463]: Parse errors: No plan found in TAP output 23:47:10 16659 ERROR [463]: Files=9, Tests=4, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.53 cusr 0.07 csys = 0.65 CPU) 23:47:10 16659 ERROR [463]: Result: FAIL 23:47:10 16659 ERROR [463]: Failed 2/9 test programs. 0/4 subtests failed. 23:47:10 16659 ERROR [463]: make: *** [test_dynamic] Error 2
This is fixed on the repo but wasn't released, until now. On Fri Sep 28 13:18:28 2018, TODDR wrote: Show quoted text
> 23:47:10 16659 ERROR [463]: + PERL_USE_UNSAFE_INC=0 > 23:47:10 16659 ERROR [463]: + /usr/bin/make test > 23:47:10 16659 ERROR [463]: > "/usr/local/cpanel/3rdparty/perl/528/bin/perl" -MExtUtils::Command::MM > -e 'cp_nonempty' -- XSHeaders.bs > blib/arch/auto/HTTP/XSHeaders/XSHeaders.bs 644 > 23:47:10 16659 ERROR [463]: PERL_DL_NONLAZY=1 > "/usr/local/cpanel/3rdparty/perl/528/bin/perl" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > 23:47:10 16659 ERROR [463]: t/00_compile.t .............. ok > 23:47:10 16659 ERROR [463]: t/01-compat.t ............... skipped: > this test requires HTTP::Headers 5.822 or later > 23:47:10 16659 ERROR [463]: t/02-isa.t .................. skipped: > HTTP::Headers::Fast is necessary > 23:47:10 16659 ERROR [463]: Can't locate t/lib/Utils.pm in @INC (you > may need to install the t::lib::Utils module) (@INC contains: > /home/rpmbuild/rpm-build/BUILD/HTTP-XSHeaders-0.400003/blib/lib > /home/rpmbuild/rpm-build/BUILD/HTTP-XSHeaders-0.400003/blib/arch > /usr/local/cpanel > /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux- > 64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib > /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux- > 64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 > /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int > /opt/cpanel/perl5/528/site_lib) at t/_header.t line 8. > 23:47:10 16659 ERROR [463]: BEGIN failed--compilation aborted at > t/_header.t line 8. > 23:47:10 16659 ERROR [463]: t/_header.t ................. > 23:47:10 16659 ERROR [463]: Dubious, test returned 2 (wstat 512, > 0x200) > 23:47:10 16659 ERROR [463]: No subtests run > 23:47:10 16659 ERROR [463]: t/as_string_without_sort.t .. ok > 23:47:10 16659 ERROR [463]: t/charset.t ................. ok > 23:47:10 16659 ERROR [463]: t/headers.t ................. skipped: URI > is required for this test > 23:47:10 16659 ERROR [463]: t/memory_leak.t ............. skipped: > Test::MemoryGrowth is needed for this test > 23:47:10 16659 ERROR [463]: Can't locate t/lib/Utils.pm in @INC (you > may need to install the t::lib::Utils module) (@INC contains: > /home/rpmbuild/rpm-build/BUILD/HTTP-XSHeaders-0.400003/blib/lib > /home/rpmbuild/rpm-build/BUILD/HTTP-XSHeaders-0.400003/blib/arch > /usr/local/cpanel > /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux- > 64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib > /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux- > 64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 > /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int > /opt/cpanel/perl5/528/site_lib) at t/validate_invocant.t line 8. > 23:47:10 16659 ERROR [463]: BEGIN failed--compilation aborted at > t/validate_invocant.t line 8. > 23:47:10 16659 ERROR [463]: t/validate_invocant.t ....... > 23:47:10 16659 ERROR [463]: Dubious, test returned 2 (wstat 512, > 0x200) > 23:47:10 16659 ERROR [463]: No subtests run > 23:47:10 16659 ERROR [463]: > 23:47:10 16659 ERROR [463]: Test Summary Report > 23:47:10 16659 ERROR [463]: ------------------- > 23:47:10 16659 ERROR [463]: t/_header.t (Wstat: 512 > Tests: 0 Failed: 0) > 23:47:10 16659 ERROR [463]: Non-zero exit status: 2 > 23:47:10 16659 ERROR [463]: Parse errors: No plan found in TAP > output > 23:47:10 16659 ERROR [463]: t/validate_invocant.t (Wstat: 512 > Tests: 0 Failed: 0) > 23:47:10 16659 ERROR [463]: Non-zero exit status: 2 > 23:47:10 16659 ERROR [463]: Parse errors: No plan found in TAP > output > 23:47:10 16659 ERROR [463]: Files=9, Tests=4, 1 wallclock secs ( 0.04 > usr 0.01 sys + 0.53 cusr 0.07 csys = 0.65 CPU) > 23:47:10 16659 ERROR [463]: Result: FAIL > 23:47:10 16659 ERROR [463]: Failed 2/9 test programs. 0/4 subtests > failed. > 23:47:10 16659 ERROR [463]: make: *** [test_dynamic] Error 2