Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Test::Simple will install, but not be detected as an appropriate dependency in CPAN

by Weebo (Novice)
on Jul 07, 2015 at 20:39 UTC ( [id://1133626]=perlquestion: print w/replies, xml ) Need Help??

Weebo has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,
If this question has been asked before I apologize, I was unable to find it.

Background:
I recently had a data RAID have a multi-disk failure and I had to replace and rebuild, this may have nothing to do with the problem, but the timing might be relevant, but I digress. After rebuilding and loading my data onto the RAID I attempted to install chado, a Postgres database schema that uses perl libraries. In attempting to install these libraries I had repeated failures.

Side Note:
I'm using Ubuntu 14.04, but I was new to linux when I first started on this workstation and made a root user instead of relying on sudo and at this point everything is configured around that root user in such a way that trying to shift to sudo has actually generated more problems. I know it's not optimal, but that's how this workstation is configured.

The problem:
After following the failure dominoes backwards I found that Test::Simple having some kind of issue when installed. I'm running perl 5.18.2 and when I type

install Test::Simple
I get
Reading '/root/.cpan/Metadata' Database was generated on Mon, 06 Jul 2015 00:41:02 GMT Running install for module 'Test::Simple' Running make for E/EX/EXODIST/Test-Simple-1.001014.tar.gz Checksum for /root/.cpan/sources/authors/id/E/EX/EXODIST/Test-Simple-1 +.001014.tar.gz ok Scanning cache /root/.cpan/build for sizes ...................................................................... +......DONE CPAN.pm: Building E/EX/EXODIST/Test-Simple-1.001014.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Test::Simple Writing MYMETA.yml and MYMETA.json cp lib/Test/Builder/Module.pm blib/lib/Test/Builder/Module.pm cp lib/Test/Builder/Tester/Color.pm blib/lib/Test/Builder/Tester/Color +.pm cp lib/Test/More.pm blib/lib/Test/More.pm cp lib/Test/Builder/IO/Scalar.pm blib/lib/Test/Builder/IO/Scalar.pm cp lib/Test/use/ok.pm blib/lib/Test/use/ok.pm cp lib/Test/Tester/CaptureRunner.pm blib/lib/Test/Tester/CaptureRunner +.pm cp lib/Test/Builder.pm blib/lib/Test/Builder.pm cp lib/Test/Tester/Delegate.pm blib/lib/Test/Tester/Delegate.pm cp lib/Test/Tutorial.pod blib/lib/Test/Tutorial.pod cp lib/Test/Tester.pm blib/lib/Test/Tester.pm cp lib/Test/Tester/Capture.pm blib/lib/Test/Tester/Capture.pm cp lib/Test/Builder/Tester.pm blib/lib/Test/Builder/Tester.pm cp lib/ok.pm blib/lib/ok.pm cp lib/Test/Simple.pm blib/lib/Test/Simple.pm Manifying blib/man3/Test::Builder::Module.3 Manifying blib/man3/Test::Builder::IO::Scalar.3 Manifying blib/man3/Test::Builder.3 Manifying blib/man3/Test::Tester.3 Manifying blib/man3/Test::Tester::Capture.3 Manifying blib/man3/Test::Tester::CaptureRunner.3 Manifying blib/man3/Test::Builder::Tester.3 Manifying blib/man3/Test::use::ok.3 Manifying blib/man3/Test::Simple.3 Manifying blib/man3/Test::Tutorial.3 Manifying blib/man3/Test::More.3 Manifying blib/man3/Test::Builder::Tester::Color.3 Manifying blib/man3/ok.3 EXODIST/Test-Simple-1.001014.tar.gz /usr/bin/make -- OK 'YAML' not installed, will not store persistent state Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t t/00compile.t ........................... 1/24 You should load Test::T +ester before Test::Builder (or anything that loads Test::Builder) at +Test/Tester.pm line 9. t/00compile.t ........................... ok t/00test_harness_check.t ................ ok t/01-basic.t ............................ ok t/478-cmp_ok_hash.t ..................... ok t/auto.t ................................ ok t/bad_plan.t ............................ ok t/bail_out.t ............................ ok t/BEGIN_require_ok.t .................... ok t/BEGIN_use_ok.t ........................ ok t/buffer.t .............................. ok t/Builder/Builder.t ..................... ok t/Builder/carp.t ........................ ok t/Builder/create.t ...................... ok t/Builder/current_test.t ................ ok t/Builder/current_test_without_plan.t ... ok t/Builder/details.t ..................... ok t/Builder/done_testing.t ................ ok t/Builder/done_testing_double.t ......... ok t/Builder/done_testing_plan_mismatch.t .. ok t/Builder/done_testing_with_no_plan.t ... ok t/Builder/done_testing_with_number.t .... ok t/Builder/done_testing_with_plan.t ...... ok t/Builder/fork_with_new_stdout.t ........ ok t/Builder/has_plan.t .................... ok t/Builder/has_plan2.t ................... ok t/Builder/is_fh.t ....................... ok t/Builder/is_passing.t .................. ok t/Builder/maybe_regex.t ................. ok t/Builder/no_diag.t ..................... ok t/Builder/no_ending.t ................... ok t/Builder/no_header.t ................... ok t/Builder/no_plan_at_all.t .............. ok t/Builder/ok_obj.t ...................... ok t/Builder/output.t ...................... ok t/Builder/reset.t ....................... ok t/Builder/reset_outputs.t ............... ok t/Builder/try.t ......................... ok t/c_flag.t .............................. ok t/capture.t ............................. ok t/check_tests.t ......................... ok t/circular_data.t ....................... ok t/cmp_ok.t .............................. ok t/dependents.t .......................... skipped: Dependents only tes +ted when releasing t/depth.t ............................... ok t/diag.t ................................ ok t/died.t ................................ ok t/dont_overwrite_die_handler.t .......... ok t/eq_set.t .............................. ok t/exit.t ................................ ok t/explain.t ............................. ok t/extra.t ............................... ok t/extra_one.t ........................... ok t/fail-like.t ........................... ok t/fail-more.t ........................... ok t/fail.t ................................ ok t/fail_one.t ............................ ok t/filehandles.t ......................... ok t/fork.t ................................ ok t/harness_active.t ...................... ok t/import.t .............................. ok t/is_deeply_dne_bug.t ................... ok t/is_deeply_fail.t ...................... ok t/is_deeply_with_threads.t .............. skipped: no working threads t/missing.t ............................. ok t/More.t ................................ ok t/new_ok.t .............................. ok t/no_plan.t ............................. ok t/no_tests.t ............................ ok t/note.t ................................ ok t/overload.t ............................ ok t/overload_threads.t .................... ok t/plan.t ................................ ok t/plan_bad.t ............................ ok t/plan_is_noplan.t ...................... ok t/plan_no_plan.t ........................ ok t/plan_shouldnt_import.t ................ ok t/plan_skip_all.t ....................... skipped: Just testing plan & + skip_all t/require_ok.t .......................... ok t/run_test.t ............................ ok t/simple.t .............................. ok t/Simple/load.t ......................... ok t/skip.t ................................ ok t/skipall.t ............................. ok t/subtest/args.t ........................ ok t/subtest/bail_out.t .................... ok t/subtest/basic.t ....................... ok t/subtest/die.t ......................... ok t/subtest/do.t .......................... ok t/subtest/exceptions.t .................. ok t/subtest/fork.t ........................ ok t/subtest/implicit_done.t ............... ok t/subtest/line_numbers.t ................ ok t/subtest/plan.t ........................ ok t/subtest/predicate.t ................... ok t/subtest/singleton.t ................... ok t/subtest/threads.t ..................... skipped: no working threads t/subtest/todo.t ........................ ok t/subtest/wstat.t ....................... ok t/tbm_doesnt_set_exported_to.t .......... ok t/Tester/tbt_01basic.t .................. ok t/Tester/tbt_02fhrestore.t .............. ok t/Tester/tbt_03die.t .................... ok t/Tester/tbt_04line_num.t ............... ok t/Tester/tbt_05faildiag.t ............... ok t/Tester/tbt_06errormess.t .............. ok t/Tester/tbt_07args.t ................... ok t/Tester/tbt_08subtest.t ................ ok t/Tester/tbt_09do.t ..................... ok t/thread_taint.t ........................ ok t/threads.t ............................. skipped: no working threads t/todo.t ................................ ok t/undef.t ............................... ok t/use_ok.t .............................. ok t/useing.t .............................. ok t/utf8.t ................................ ok t/versions.t ............................ ok t/xt/dependents.t ....................... skipped: Dependents only tes +ted when releasing t/xxx-changes_updated.t ................. skipped: Only tested when re +leasing All tests successful. Files=118, Tests=1370, 4 wallclock secs ( 0.35 usr 0.14 sys 2.30 cus +r 1.00 csys = 3.79 CPU) Result: PASS EXODIST/Test-Simple-1.001014.tar.gz /usr/bin/make test -- OK Running make install Manifying blib/man3/Test::Builder::Module.3 Manifying blib/man3/Test::Builder::IO::Scalar.3 Manifying blib/man3/Test::Builder.3 Manifying blib/man3/Test::Tester.3 Manifying blib/man3/Test::Tester::Capture.3 Manifying blib/man3/Test::Tester::CaptureRunner.3 Manifying blib/man3/Test::Builder::Tester.3 Manifying blib/man3/Test::use::ok.3 Manifying blib/man3/Test::Simple.3 Manifying blib/man3/Test::Tutorial.3 Manifying blib/man3/Test::More.3 Manifying blib/man3/Test::Builder::Tester::Color.3 Manifying blib/man3/ok.3 Appending installation info to /root/perl5/lib/perl5/x86_64-linux/perl +local.pod EXODIST/Test-Simple-1.001014.tar.gz /usr/bin/make install -- OK

Thinking my Test::Simple had installed I moved up the chain to the next failed package

install CPAN::Meta::YAML
and I get
Running install for module 'CPAN::Meta::YAML' Running make for D/DA/DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz Checksum for /root/.cpan/sources/authors/id/D/DA/DAGOLDEN/CPAN-Meta-YA +ML-0.016.tar.gz ok CPAN.pm: Building D/DA/DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz Checking if your kit is complete... Looks good Writing Makefile for CPAN::Meta::YAML Writing MYMETA.yml and MYMETA.json ---- Unsatisfied dependencies detected during ---- ---- DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz ---- Test::More [build_requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'Test::More' Running make for E/EX/EXODIST/Test-Simple-1.001014.tar.gz Has already been unwrapped into directory /root/.cpan/build/Test-Sim +ple-1.001014-jIrl3n Has already been made Running make test Has already been tested successfully Running make install Already done Running make for D/DA/DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz Has already been unwrapped into directory /root/.cpan/build/CPAN-Met +a-YAML-0.016-SpaMER CPAN.pm: Building D/DA/DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz cp lib/CPAN/Meta/YAML.pm blib/lib/CPAN/Meta/YAML.pm Manifying blib/man3/CPAN::Meta::YAML.3 DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-report-prereqs.t .. # # Versions for all modules listed in MYMETA.json (including optional o +nes): # # === Configure Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker 6.17 6.66 # # === Build Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 6.66 # # === Test Requires === # # Module Want Have # --------------------- ---- ------- # ExtUtils::MakeMaker any 6.66 # File::Basename any 2.84 # File::Find any 1.23 # File::Spec any 3.40 # File::Spec::Functions any 3.40 # File::Temp 0.19 0.23 # IO::Dir any 1.10 # JSON::PP any 2.27202 # Test::More 0.99 0.98 # lib any 0.63 # utf8 any 1.10 # vars any 1.03 # # === Test Recommends === # # Module Want Have # ---------- -------- -------- # CPAN::Meta 2.120900 2.120921 # # === Runtime Requires === # # Module Want Have # ------------ ---- ------- # B any 1.42_02 # Carp any 1.29 # Exporter any 5.68 # Fcntl any 1.11 # Scalar::Util any 1.27 # strict any 1.07 # warnings any 1.18 # # # *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING +*** # # The following REQUIRED prerequisites were not satisfied: # # Test::More version '0.98' is not in required range '0.99' # t/00-report-prereqs.t .. ok t/01_api.t ............. Test::More version 0.99 required--this is onl +y version 0.98 at t/01_api.t line 7. BEGIN failed--compilation aborted at t/01_api.t line 7. t/01_api.t ............. Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/01_compile.t ......... Test::More version 0.99 required--this is onl +y version 0.98 at t/01_compile.t line 11. BEGIN failed--compilation aborted at t/01_compile.t line 11. t/01_compile.t ......... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/10_read.t ............ Test::More version 0.99 required--this is onl +y version 0.98 at t/10_read.t line 5. BEGIN failed--compilation aborted at t/10_read.t line 5. t/10_read.t ............ Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/11_read_string.t ..... Test::More version 0.99 required--this is onl +y version 0.98 at t/11_read_string.t line 4. BEGIN failed--compilation aborted at t/11_read_string.t line 4. t/11_read_string.t ..... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/12_write.t ........... Test::More version 0.99 required--this is onl +y version 0.98 at t/12_write.t line 5. BEGIN failed--compilation aborted at t/12_write.t line 5. t/12_write.t ........... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/13_write_string.t .... Test::More version 0.99 required--this is onl +y version 0.98 at t/13_write_string.t line 4. BEGIN failed--compilation aborted at t/13_write_string.t line 4. t/13_write_string.t .... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/20_subclass.t ........ Test::More version 0.99 required--this is onl +y version 0.98 at t/20_subclass.t line 5. BEGIN failed--compilation aborted at t/20_subclass.t line 5. t/20_subclass.t ........ Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/21_yamlpm_compat.t ... Test::More version 0.99 required--this is onl +y version 0.98 at t/21_yamlpm_compat.t line 4. BEGIN failed--compilation aborted at t/21_yamlpm_compat.t line 4. t/21_yamlpm_compat.t ... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/30_yaml_spec_tml.t ... Test::More version 0.99 required--this is onl +y version 0.98 at t/30_yaml_spec_tml.t line 5. BEGIN failed--compilation aborted at t/30_yaml_spec_tml.t line 5. t/30_yaml_spec_tml.t ... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/31_local_tml.t ....... Test::More version 0.99 required--this is onl +y version 0.98 at t/31_local_tml.t line 4. BEGIN failed--compilation aborted at t/31_local_tml.t line 4. t/31_local_tml.t ....... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/32_world_tml.t ....... Test::More version 0.99 required--this is onl +y version 0.98 at t/32_world_tml.t line 4. BEGIN failed--compilation aborted at t/32_world_tml.t line 4. t/32_world_tml.t ....... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/86_fail.t ............ ok Test Summary Report ------------------- t/01_api.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/01_compile.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/10_read.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/11_read_string.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/12_write.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/13_write_string.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/20_subclass.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/21_yamlpm_compat.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/30_yaml_spec_tml.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/31_local_tml.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/32_world_tml.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=13, Tests=2, 0 wallclock secs ( 0.05 usr 0.00 sys 0.24 cusr 0 +.03 csys = 0.32 CPU) Result: FAIL Failed 11/13 test programs. 0/2 subtests failed. make: *** [test_dynamic] Error 255 DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz : make_test NO

The Interpretation:
If I am reading the output correctly, the Test::Simple that I installed and CPAN said was properly updated and configured is not actually being installed and is instead being reinstalled as a missing dependency, but is still somehow not installing the proper version for YAML to be installed. This led me to try popping open a terminal and manually installing Test::Simple from the .cpan/build directory

# perl Makefile.PL Writing Makefile for Test::Simple Writing MYMETA.yml and MYMETA.json # make Skip blib/lib/ok.pm (unchanged) Skip blib/lib/Test/use/ok.pm (unchanged) Skip blib/lib/Test/Simple.pm (unchanged) Skip blib/lib/Test/Tester/CaptureRunner.pm (unchanged) Skip blib/lib/Test/Builder/Module.pm (unchanged) Skip blib/lib/Test/Builder.pm (unchanged) Skip blib/lib/Test/More.pm (unchanged) Skip blib/lib/Test/Builder/Tester/Color.pm (unchanged) Skip blib/lib/Test/Tester/Capture.pm (unchanged) Skip blib/lib/Test/Tutorial.pod (unchanged) Skip blib/lib/Test/Builder/IO/Scalar.pm (unchanged) Skip blib/lib/Test/Tester.pm (unchanged) Skip blib/lib/Test/Tester/Delegate.pm (unchanged) Skip blib/lib/Test/Builder/Tester.pm (unchanged) Manifying blib/man3/Test::Builder::Tester.3 Manifying blib/man3/ok.3 Manifying blib/man3/Test::More.3 Manifying blib/man3/Test::Builder::Module.3 Manifying blib/man3/Test::Builder.3 Manifying blib/man3/Test::Builder::Tester::Color.3 Manifying blib/man3/Test::use::ok.3 Manifying blib/man3/Test::Tutorial.3 Manifying blib/man3/Test::Tester.3 Manifying blib/man3/Test::Tester::CaptureRunner.3 Manifying blib/man3/Test::Simple.3 Manifying blib/man3/Test::Tester::Capture.3 Manifying blib/man3/Test::Builder::IO::Scalar.3 # make install Appending installation info to /root/perl5/lib/perl5/x86_64-linux/perl +local.pod
Hopping back into CPAN and trying YAML again I get
install CPAN::Meta::YAML Reading '/root/.cpan/Metadata' Database was generated on Mon, 06 Jul 2015 00:41:02 GMT Running install for module 'CPAN::Meta::YAML' Running make for D/DA/DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz Checksum for /root/.cpan/sources/authors/id/D/DA/DAGOLDEN/CPAN-Meta-YA +ML-0.016.tar.gz ok Scanning cache /root/.cpan/build for sizes ...................................................................... +......DONE CPAN.pm: Building D/DA/DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz Checking if your kit is complete... Looks good Writing Makefile for CPAN::Meta::YAML Writing MYMETA.yml and MYMETA.json ---- Unsatisfied dependencies detected during ---- ---- DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz ---- Test::More [build_requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'Test::More' Running make for E/EX/EXODIST/Test-Simple-1.001014.tar.gz Checksum for /root/.cpan/sources/authors/id/E/EX/EXODIST/Test-Simple-1 +.001014.tar.gz ok CPAN.pm: Building E/EX/EXODIST/Test-Simple-1.001014.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Test::Simple Writing MYMETA.yml and MYMETA.json cp lib/Test/Builder/Tester/Color.pm blib/lib/Test/Builder/Tester/Color +.pm cp lib/Test/Builder/Module.pm blib/lib/Test/Builder/Module.pm cp lib/Test/Simple.pm blib/lib/Test/Simple.pm cp lib/Test/use/ok.pm blib/lib/Test/use/ok.pm cp lib/ok.pm blib/lib/ok.pm cp lib/Test/Tester/Capture.pm blib/lib/Test/Tester/Capture.pm cp lib/Test/Builder/Tester.pm blib/lib/Test/Builder/Tester.pm cp lib/Test/Builder/IO/Scalar.pm blib/lib/Test/Builder/IO/Scalar.pm cp lib/Test/Tester/CaptureRunner.pm blib/lib/Test/Tester/CaptureRunner +.pm cp lib/Test/Tutorial.pod blib/lib/Test/Tutorial.pod cp lib/Test/Tester/Delegate.pm blib/lib/Test/Tester/Delegate.pm cp lib/Test/Tester.pm blib/lib/Test/Tester.pm cp lib/Test/More.pm blib/lib/Test/More.pm cp lib/Test/Builder.pm blib/lib/Test/Builder.pm Manifying blib/man3/Test::use::ok.3 Manifying blib/man3/Test::Tester.3 Manifying blib/man3/Test::More.3 Manifying blib/man3/Test::Simple.3 Manifying blib/man3/ok.3 Manifying blib/man3/Test::Builder::Tester.3 Manifying blib/man3/Test::Builder::IO::Scalar.3 Manifying blib/man3/Test::Builder::Module.3 Manifying blib/man3/Test::Builder.3 Manifying blib/man3/Test::Tutorial.3 Manifying blib/man3/Test::Tester::CaptureRunner.3 Manifying blib/man3/Test::Tester::Capture.3 Manifying blib/man3/Test::Builder::Tester::Color.3 EXODIST/Test-Simple-1.001014.tar.gz /usr/bin/make -- OK 'YAML' not installed, will not store persistent state Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t t/00compile.t ........................... 1/24 You should load Test::T +ester before Test::Builder (or anything that loads Test::Builder) at +Test/Tester.pm line 9. t/00compile.t ........................... ok t/00test_harness_check.t ................ ok t/01-basic.t ............................ ok t/478-cmp_ok_hash.t ..................... ok t/auto.t ................................ ok t/bad_plan.t ............................ ok t/bail_out.t ............................ ok t/BEGIN_require_ok.t .................... ok t/BEGIN_use_ok.t ........................ ok t/buffer.t .............................. ok t/Builder/Builder.t ..................... ok t/Builder/carp.t ........................ ok t/Builder/create.t ...................... ok t/Builder/current_test.t ................ ok t/Builder/current_test_without_plan.t ... ok t/Builder/details.t ..................... ok t/Builder/done_testing.t ................ ok t/Builder/done_testing_double.t ......... ok t/Builder/done_testing_plan_mismatch.t .. ok t/Builder/done_testing_with_no_plan.t ... ok t/Builder/done_testing_with_number.t .... ok t/Builder/done_testing_with_plan.t ...... ok t/Builder/fork_with_new_stdout.t ........ ok t/Builder/has_plan.t .................... ok t/Builder/has_plan2.t ................... ok t/Builder/is_fh.t ....................... ok t/Builder/is_passing.t .................. ok t/Builder/maybe_regex.t ................. ok t/Builder/no_diag.t ..................... ok t/Builder/no_ending.t ................... ok t/Builder/no_header.t ................... ok t/Builder/no_plan_at_all.t .............. ok t/Builder/ok_obj.t ...................... ok t/Builder/output.t ...................... ok t/Builder/reset.t ....................... ok t/Builder/reset_outputs.t ............... ok t/Builder/try.t ......................... ok t/c_flag.t .............................. ok t/capture.t ............................. ok t/check_tests.t ......................... ok t/circular_data.t ....................... ok t/cmp_ok.t .............................. ok t/dependents.t .......................... skipped: Dependents only tes +ted when releasing t/depth.t ............................... ok t/diag.t ................................ ok t/died.t ................................ ok t/dont_overwrite_die_handler.t .......... ok t/eq_set.t .............................. ok t/exit.t ................................ ok t/explain.t ............................. ok t/extra.t ............................... ok t/extra_one.t ........................... ok t/fail-like.t ........................... ok t/fail-more.t ........................... ok t/fail.t ................................ ok t/fail_one.t ............................ ok t/filehandles.t ......................... ok t/fork.t ................................ ok t/harness_active.t ...................... ok t/import.t .............................. ok t/is_deeply_dne_bug.t ................... ok t/is_deeply_fail.t ...................... ok t/is_deeply_with_threads.t .............. skipped: no working threads t/missing.t ............................. ok t/More.t ................................ ok t/new_ok.t .............................. ok t/no_plan.t ............................. ok t/no_tests.t ............................ ok t/note.t ................................ ok t/overload.t ............................ ok t/overload_threads.t .................... ok t/plan.t ................................ ok t/plan_bad.t ............................ ok t/plan_is_noplan.t ...................... ok t/plan_no_plan.t ........................ ok t/plan_shouldnt_import.t ................ ok t/plan_skip_all.t ....................... skipped: Just testing plan & + skip_all t/require_ok.t .......................... ok t/run_test.t ............................ ok t/simple.t .............................. ok t/Simple/load.t ......................... ok t/skip.t ................................ ok t/skipall.t ............................. ok t/subtest/args.t ........................ ok t/subtest/bail_out.t .................... ok t/subtest/basic.t ....................... ok t/subtest/die.t ......................... ok t/subtest/do.t .......................... ok t/subtest/exceptions.t .................. ok t/subtest/fork.t ........................ ok t/subtest/implicit_done.t ............... ok t/subtest/line_numbers.t ................ ok t/subtest/plan.t ........................ ok t/subtest/predicate.t ................... ok t/subtest/singleton.t ................... ok t/subtest/threads.t ..................... skipped: no working threads t/subtest/todo.t ........................ ok t/subtest/wstat.t ....................... ok t/tbm_doesnt_set_exported_to.t .......... ok t/Tester/tbt_01basic.t .................. ok t/Tester/tbt_02fhrestore.t .............. ok t/Tester/tbt_03die.t .................... ok t/Tester/tbt_04line_num.t ............... ok t/Tester/tbt_05faildiag.t ............... ok t/Tester/tbt_06errormess.t .............. ok t/Tester/tbt_07args.t ................... ok t/Tester/tbt_08subtest.t ................ ok t/Tester/tbt_09do.t ..................... ok t/thread_taint.t ........................ ok t/threads.t ............................. skipped: no working threads t/todo.t ................................ ok t/undef.t ............................... ok t/use_ok.t .............................. ok t/useing.t .............................. ok t/utf8.t ................................ ok t/versions.t ............................ ok t/xt/dependents.t ....................... skipped: Dependents only tes +ted when releasing t/xxx-changes_updated.t ................. skipped: Only tested when re +leasing All tests successful. Files=118, Tests=1370, 3 wallclock secs ( 0.37 usr 0.11 sys 2.23 cus +r 1.09 csys = 3.80 CPU) Result: PASS EXODIST/Test-Simple-1.001014.tar.gz /usr/bin/make test -- OK Running make install Manifying blib/man3/Test::use::ok.3 Manifying blib/man3/Test::Tester.3 Manifying blib/man3/Test::More.3 Manifying blib/man3/Test::Simple.3 Manifying blib/man3/ok.3 Manifying blib/man3/Test::Builder::Tester.3 Manifying blib/man3/Test::Builder::IO::Scalar.3 Manifying blib/man3/Test::Builder::Module.3 Manifying blib/man3/Test::Builder.3 Manifying blib/man3/Test::Tutorial.3 Manifying blib/man3/Test::Tester::CaptureRunner.3 Manifying blib/man3/Test::Tester::Capture.3 Manifying blib/man3/Test::Builder::Tester::Color.3 Appending installation info to /root/perl5/lib/perl5/x86_64-linux/perl +local.pod EXODIST/Test-Simple-1.001014.tar.gz /usr/bin/make install -- OK Running make for D/DA/DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz Has already been unwrapped into directory /root/.cpan/build/CPAN-Met +a-YAML-0.016-f2lX9C CPAN.pm: Building D/DA/DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz cp lib/CPAN/Meta/YAML.pm blib/lib/CPAN/Meta/YAML.pm Manifying blib/man3/CPAN::Meta::YAML.3 DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-report-prereqs.t .. # # Versions for all modules listed in MYMETA.json (including optional o +nes): # # === Configure Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker 6.17 6.66 # # === Build Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 6.66 # # === Test Requires === # # Module Want Have # --------------------- ---- ------- # ExtUtils::MakeMaker any 6.66 # File::Basename any 2.84 # File::Find any 1.23 # File::Spec any 3.40 # File::Spec::Functions any 3.40 # File::Temp 0.19 0.23 # IO::Dir any 1.10 # JSON::PP any 2.27202 # Test::More 0.99 0.98 # lib any 0.63 # utf8 any 1.10 # vars any 1.03 # # === Test Recommends === # # Module Want Have # ---------- -------- -------- # CPAN::Meta 2.120900 2.120921 # # === Runtime Requires === # # Module Want Have # ------------ ---- ------- # B any 1.42_02 # Carp any 1.29 # Exporter any 5.68 # Fcntl any 1.11 # Scalar::Util any 1.27 # strict any 1.07 # warnings any 1.18 # # # *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING +*** # # The following REQUIRED prerequisites were not satisfied: # # Test::More version '0.98' is not in required range '0.99' # t/00-report-prereqs.t .. ok t/01_api.t ............. Test::More version 0.99 required--this is onl +y version 0.98 at t/01_api.t line 7. BEGIN failed--compilation aborted at t/01_api.t line 7. t/01_api.t ............. Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/01_compile.t ......... Test::More version 0.99 required--this is onl +y version 0.98 at t/01_compile.t line 11. BEGIN failed--compilation aborted at t/01_compile.t line 11. t/01_compile.t ......... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/10_read.t ............ Test::More version 0.99 required--this is onl +y version 0.98 at t/10_read.t line 5. BEGIN failed--compilation aborted at t/10_read.t line 5. t/10_read.t ............ Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/11_read_string.t ..... Test::More version 0.99 required--this is onl +y version 0.98 at t/11_read_string.t line 4. BEGIN failed--compilation aborted at t/11_read_string.t line 4. t/11_read_string.t ..... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/12_write.t ........... Test::More version 0.99 required--this is onl +y version 0.98 at t/12_write.t line 5. BEGIN failed--compilation aborted at t/12_write.t line 5. t/12_write.t ........... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/13_write_string.t .... Test::More version 0.99 required--this is onl +y version 0.98 at t/13_write_string.t line 4. BEGIN failed--compilation aborted at t/13_write_string.t line 4. t/13_write_string.t .... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/20_subclass.t ........ Test::More version 0.99 required--this is onl +y version 0.98 at t/20_subclass.t line 5. BEGIN failed--compilation aborted at t/20_subclass.t line 5. t/20_subclass.t ........ Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/21_yamlpm_compat.t ... Test::More version 0.99 required--this is onl +y version 0.98 at t/21_yamlpm_compat.t line 4. BEGIN failed--compilation aborted at t/21_yamlpm_compat.t line 4. t/21_yamlpm_compat.t ... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/30_yaml_spec_tml.t ... Test::More version 0.99 required--this is onl +y version 0.98 at t/30_yaml_spec_tml.t line 5. BEGIN failed--compilation aborted at t/30_yaml_spec_tml.t line 5. t/30_yaml_spec_tml.t ... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/31_local_tml.t ....... Test::More version 0.99 required--this is onl +y version 0.98 at t/31_local_tml.t line 4. BEGIN failed--compilation aborted at t/31_local_tml.t line 4. t/31_local_tml.t ....... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/32_world_tml.t ....... Test::More version 0.99 required--this is onl +y version 0.98 at t/32_world_tml.t line 4. BEGIN failed--compilation aborted at t/32_world_tml.t line 4. t/32_world_tml.t ....... Dubious, test returned 255 (wstat 65280, 0xff +00) No subtests run t/86_fail.t ............ ok Test Summary Report ------------------- t/01_api.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/01_compile.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/10_read.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/11_read_string.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/12_write.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/13_write_string.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/20_subclass.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/21_yamlpm_compat.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/30_yaml_spec_tml.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/31_local_tml.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/32_world_tml.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=13, Tests=2, 0 wallclock secs ( 0.03 usr 0.02 sys 0.23 cusr 0 +.03 csys = 0.31 CPU) Result: FAIL Failed 11/13 test programs. 0/2 subtests failed. make: *** [test_dynamic] Error 255 DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz : make_test NO

The Confusion (aka TL:DR):
Building a package said Test::Simple wasn't installed, despite two different methods saying otherwise, tried to reinstall it, said it was installed, then failed to build the package because it wasn't installed.

The Plea:
Help me PERLi-Monk Kenobi(s), you're my only hope(s).

Replies are listed 'Best First'.
Re: Test::Simple will install, but not be detected as an appropriate dependency in CPAN
by philipbailey (Curate) on Jul 07, 2015 at 20:56 UTC

    I'm probably missing something here, but doesn't this:

    # The following REQUIRED prerequisites were not satisfied: # # Test::More version '0.98' is not in required range '0.99'

    mean that you need to install a suitable version of Test::More (not Test::Simple)?

      If you're missing something, then you're not the only one.

      In the following:

      # Versions for all modules listed in MYMETA.json (including optional o +nes): # # === Configure Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker 6.17 6.66 # # === Build Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 6.66 # # === Test Requires === # # Module Want Have # --------------------- ---- ------- # ExtUtils::MakeMaker any 6.66 # File::Basename any 2.84 # File::Find any 1.23 # File::Spec any 3.40 # File::Spec::Functions any 3.40 # File::Temp 0.19 0.23 # IO::Dir any 1.10 # JSON::PP any 2.27202 # Test::More 0.99 0.98 # lib any 0.63 # utf8 any 1.10 # vars any 1.03 # # === Test Recommends === # # Module Want Have # ---------- -------- -------- # CPAN::Meta 2.120900 2.120921 # # === Runtime Requires === # # Module Want Have # ------------ ---- ------- # B any 1.42_02 # Carp any 1.29 # Exporter any 5.68 # Fcntl any 1.11 # Scalar::Util any 1.27 # strict any 1.07 # warnings any 1.18 # # # *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING +*** # # The following REQUIRED prerequisites were not satisfied: # # Test::More version '0.98' is not in required range '0.99' #

      I see absolutely no mention of Test::Simple and two spots indicating that Test::More version 0.99 is required and Perl is finding Test::More version 0.98. Plus there are quite a few test error messages that have the following:

      Test::More version 0.99 required--this is only version 0.98 at

      I'm unable to find a single error message in the posted output that mentions Test::Simple. It looks to me like Test::Simple is not the issue and that the OP needs to update Test::More to version 0.99 or newer (latest release version is 1.001014).

        install Test::More
        Installs Test::Simple, More is a package within Simple apparently
Re: Test::Simple will install, but not be detected as an appropriate dependency in CPAN
by hippo (Bishop) on Jul 07, 2015 at 21:31 UTC

    Best guess is that somehow your @INC has got messed up. The reported version of Test::Simple of 0.98 is the version supplied by your OS (ubuntu 14.04). Your initial installation of the module via cpan indicates that this newer version has been installed under /root/perl5/lib/perl5 - is that path in your @INC or not? If so where is it relative to the location of the Test::More version from the deb?

    Be very careful mixing vendor perl, vendor modules and third party modules especially when mixing different versions of the same module like this.

      It turns out that no, /root/perl5/lib/perl5 was not in my @INC I ran export PERL5LIB=/root/perl5/libe/perl5:$PERL5LIB and it appears that everything is now installing properly. However, when I try to run a perl dependent software I get the error Can't locate forks.pm in @INC (you may need to install the forks module), so it seems that point @INC to this root library does not include the modules I had already installed. I'll simply reinstall them though.
        Now I seem to have shifted the problem. CPAN says forks.pm is installed and up to date, but Maker (a program that uses forks.pm) still says it can't find it. Running locate forks.pm returns nothing.
Re: Test::Simple will install, but not be detected as an appropriate dependency in CPAN
by toolic (Bishop) on Jul 07, 2015 at 21:04 UTC
    I'm likely way off the mark here, but Test::Simple is a Core module, which means that it should already be installed if Perl has been correctly installed.

      There is a package 'libtest-simple-perl' (v1.001) for Ubuntu.

      @Weebo: Why don't you simply 'aptitude install libtest-simple-perl' instead of manually building the CPAN-version? Do you ~need~ the most recent CPAN version? Why don't you use Test::More right from the start? It's quite likely you will end up using it at some point anyway...

      @toolic: The package libtest-simple-perl is a bit strange because usually core modules are not packaged separately.(At least the ones i found useful. Probably someone is going to point out at least 6 other core-packages a microsecond after posting this. ;) ) For the record: Test::More is NOT packaged separately.

        I used CPAN because it was described to me in an installation manual for some perl dependent software and that's jsut what I'm used to. Before now it hadn't given me any problems so I kept a "If it isn't broken..." attitude towards it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1133626]
Approved by philipbailey
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-25 17:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found