Subject: | Undeclared dependency Class::Accessor::Fast |
The test suite fails if Class::Accessor::Fast is not installed:
...
PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00base.t t/01build-perl.t
# Failed test 'use App::NoPAN;'
# at t/00base.t line 10.
# Tried to use 'App::NoPAN'.
# Error: Base class package "Class::Accessor::Fast" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: ...
# at /usr/home/cpansand/.cpan/build/2019033114/App-NoPAN-0.01-1/blib/lib/App/NoPAN.pm line 6.
# BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2019033114/App-NoPAN-0.01-1/blib/lib/App/NoPAN.pm line 6.
# Compilation failed in require at (eval 19) line 2.
# BEGIN failed--compilation aborted at (eval 19) line 2.
Can't locate object method "new" via package "App::NoPAN" at t/00base.t line 12.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 1.
t/00base.t ........
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
# Failed test 'use App::NoPAN;'
# at t/01build-perl.t line 13.
# Tried to use 'App::NoPAN'.
# Error: Base class package "Class::Accessor::Fast" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: ...
# at /usr/home/cpansand/.cpan/build/2019033114/App-NoPAN-0.01-1/blib/lib/App/NoPAN.pm line 6.
# BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2019033114/App-NoPAN-0.01-1/blib/lib/App/NoPAN.pm line 6.
# Compilation failed in require at (eval 85) line 2.
# BEGIN failed--compilation aborted at (eval 85) line 2.
******** log of test build:
******** Base class package "Class::Accessor::Fast" is empty.
******** (Perhaps you need to 'use' the module which defines that package first,
******** or make that module available in @INC (@INC contains: ...
******** at /usr/home/cpansand/.cpan/build/2019033114/App-NoPAN-0.01-1/blib/lib/App/NoPAN.pm line 6.
******** BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2019033114/App-NoPAN-0.01-1/blib/lib/App/NoPAN.pm line 6.
******** Compilation failed in require at blib/script/nopan line 7.
******** BEGIN failed--compilation aborted at blib/script/nopan line 7.
# Failed test 'build and test'
# at t/01build-perl.t line 45.
# got: '65280'
# expected: '0'
# Looks like you failed 2 tests of 2.
t/01build-perl.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests