Skip Menu |

This queue is for tickets about the Perinci-CmdLine-Inline CPAN distribution.

Report information
The Basics
Id: 132474
Status: resolved
Priority: 0/
Queue: Perinci-CmdLine-Inline

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

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



Subject: Can't load module 'Log::ger::Output::SimpleFile'
On some of my systems 01-basic.t fails: ... t/00-compile.t ........... ok # No tests run! # Failed test 'No tests run for subtest "opt:log=1"' # at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 426. # Looks like you failed 1 test of 2. # Failed test 'opt:log=1' # at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 493. Can't load module 'Log::ger::Output::SimpleFile' at /usr/home/cpansand/.cpan/build/2020050120/Perinci-CmdLine-Inline-0.548-0/blib/lib/Perinci/CmdLine/Inline.pm line 47. Perinci::CmdLine::Inline::_pack_module(HASH(0x8038afe88), "Log::ger::Output::SimpleFile") called at /usr/home/cpansand/.cpan/build/2020050120/Perinci-CmdLine-Inline-0.548-0/blib/lib/Perinci/CmdLine/Inline.pm line 108 Perinci::CmdLine::Inline::_gen_enable_log(HASH(0x8038afe88)) called at /usr/home/cpansand/.cpan/build/2020050120/Perinci-CmdLine-Inline-0.548-0/blib/lib/Perinci/CmdLine/Inline.pm line 1585 Perinci::CmdLine::Inline::gen_inline_pericmd_script("url", "/Perinci/Examples/Tiny/noop", "script_name", undef, "script_summary", undef, "script_version", undef, ...) called at /usr/perl5.31.11p/lib/site_perl/5.31.11/Perinci/CmdLine/Gen.pm line 441 Perinci::CmdLine::Gen::gen_pericmd_script("url", "/Perinci/Examples/Tiny/noop", "overwrite", 1, "log", 1, "read_env", 0, ...) called at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 343 Test::Perinci::CmdLine::__ANON__[/usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm:426]() called at /usr/perl5.31.11p/lib/5.31.11/Test/Builder.pm line 334 eval {...} called at /usr/perl5.31.11p/lib/5.31.11/Test/Builder.pm line 334 Test::Builder::subtest(Test::Builder=HASH(0x800ad6660), "opt:log=1", CODE(0x8034f8918)) called at /usr/perl5.31.11p/lib/5.31.11/Test/More.pm line 809 Test::More::subtest("opt:log=1", CODE(0x8034f8918)) called at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 426 Test::Perinci::CmdLine::__ANON__[/usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm:428]("name", "opt:log=1", "gen_args", HASH(0x800ace120), "argv", ARRAY(0x800ace258), "inline_run_filter", 0) called at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 475 Test::Perinci::CmdLine::__ANON__[/usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm:492]() called at /usr/perl5.31.11p/lib/5.31.11/Test/Builder.pm line 334 eval {...} called at /usr/perl5.31.11p/lib/5.31.11/Test/Builder.pm line 334 Test::Builder::subtest(Test::Builder=HASH(0x800ad6660), "opt:log=1", CODE(0x800ace318)) called at /usr/perl5.31.11p/lib/5.31.11/Test/More.pm line 809 Test::More::subtest("opt:log=1", CODE(0x800ace318)) called at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 493 Test::Perinci::CmdLine::pericmd_run_test_groups_ok("class", "Perinci::CmdLine::Inline", "groups", ARRAY(0x8021c1810)) called at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 538 Test::Perinci::CmdLine::pericmd_run_ok("name", "opt:log=1", "class", "Perinci::CmdLine::Inline", "gen_args", HASH(0x800ace120), "inline_run_filter", 0, ...) called at t/01-basic.t line 31 at /usr/perl5.31.11p/lib/5.31.11/Test/Builder.pm line 378. Test::Builder::subtest(Test::Builder=HASH(0x800ad6660), "opt:log=1", CODE(0x8034f8918)) called at /usr/perl5.31.11p/lib/5.31.11/Test/More.pm line 809 Test::More::subtest("opt:log=1", CODE(0x8034f8918)) called at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 426 Test::Perinci::CmdLine::__ANON__[/usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm:428]("name", "opt:log=1", "gen_args", HASH(0x800ace120), "argv", ARRAY(0x800ace258), "inline_run_filter", 0) called at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 475 Test::Perinci::CmdLine::__ANON__[/usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm:492]() called at /usr/perl5.31.11p/lib/5.31.11/Test/Builder.pm line 334 eval {...} called at /usr/perl5.31.11p/lib/5.31.11/Test/Builder.pm line 334 Test::Builder::subtest(Test::Builder=HASH(0x800ad6660), "opt:log=1", CODE(0x800ace318)) called at /usr/perl5.31.11p/lib/5.31.11/Test/More.pm line 809 Test::More::subtest("opt:log=1", CODE(0x800ace318)) called at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 493 Test::Perinci::CmdLine::pericmd_run_test_groups_ok("class", "Perinci::CmdLine::Inline", "groups", ARRAY(0x8021c1810)) called at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 538 Test::Perinci::CmdLine::pericmd_run_ok("name", "opt:log=1", "class", "Perinci::CmdLine::Inline", "gen_args", HASH(0x800ace120), "inline_run_filter", 0, ...) called at t/01-basic.t line 31 at /usr/perl5.31.11p/lib/5.31.11/Test/Builder.pm line 378. Test::Builder::subtest(Test::Builder=HASH(0x800ad6660), "opt:log=1", CODE(0x800ace318)) called at /usr/perl5.31.11p/lib/5.31.11/Test/More.pm line 809 Test::More::subtest("opt:log=1", CODE(0x800ace318)) called at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 493 Test::Perinci::CmdLine::pericmd_run_test_groups_ok("class", "Perinci::CmdLine::Inline", "groups", ARRAY(0x8021c1810)) called at /usr/perl5.31.11p/lib/site_perl/5.31.11/Test/Perinci/CmdLine.pm line 538 Test::Perinci::CmdLine::pericmd_run_ok("name", "opt:log=1", "class", "Perinci::CmdLine::Inline", "gen_args", HASH(0x800ace120), "inline_run_filter", 0, ...) called at t/01-basic.t line 31 # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 4. t/01-basic.t ............. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/4 subtests ...
Added Log::ger::Output::SimpleFile (and Log::ger::Output::Composite) to prereq, should solve this.