Skip to content

"cpanm JSONSchema::Validator" fails due to missing "Test::CPAN::Changes" dependency #20

@ehuelsmann

Description

@ehuelsmann

The log is:

Searching JSONSchema::Validator () on cpanmetadb ...
--> Working on JSONSchema::Validator
Fetching http://www.cpan.org/authors/id/L/LO/LOGIONIZ/JSONSchema-Validator-0.010.tar.gz
-> OK
Unpacking JSONSchema-Validator-0.010.tar.gz
Entering JSONSchema-Validator-0.010
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.44)
Configuring JSONSchema-Validator-0.010
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for JSONSchema::Validator
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have parent 0 ... Yes (0.238)
Checking if you have utf8 0 ... Yes (1.22)
Checking if you have URI 1.00 ... Yes (5.08)
Checking if you have Cwd 0 ... Yes (3.78)
Checking if you have IPC::Open3 0 ... Yes (1.21)
Checking if you have Scalar::Util 0 ... Yes (1.55)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.44)
Checking if you have B 0 ... Yes (1.80)
Checking if you have re 0 ... Yes (0.40)
Checking if you have Carp 0 ... Yes (1.50)
Checking if you have File::Basename 0 ... Yes (2.85)
Checking if you have IO::Handle 0 ... Yes (1.42)
Checking if you have File::Spec 0 ... Yes (3.78)
Checking if you have overload 0 ... Yes (1.31)
Checking if you have JSON::PP 0 ... Yes (4.06)
Checking if you have strict 0 ... Yes (1.11)
Checking if you have Encode 0 ... Yes (3.06)
Checking if you have warnings 0 ... Yes (1.47)
Checking if you have lib 0 ... Yes (0.65)
Checking if you have Time::Piece 0 ... Yes (1.3401)
Checking if you have constant 0 ... Yes (1.33)
Checking if you have Test::More 0 ... Yes (1.302183)
Building and testing JSONSchema-Validator-0.010
cp lib/JSONSchema/Validator/Constraints/Draft4.pm blib/lib/JSONSchema/Validator/Constraints/Draft4.pm
cp lib/JSONSchema/Validator/JSONPointer.pm blib/lib/JSONSchema/Validator/JSONPointer.pm
cp lib/JSONSchema/Validator/schemas/oas30.json blib/lib/JSONSchema/Validator/schemas/oas30.json
cp lib/JSONSchema/Validator/Constraints/Draft7.pm blib/lib/JSONSchema/Validator/Constraints/Draft7.pm
cp lib/JSONSchema/Validator/Constraints/Draft6.pm blib/lib/JSONSchema/Validator/Constraints/Draft6.pm
cp lib/JSONSchema/Validator/Constraints/OAS30.pm blib/lib/JSONSchema/Validator/Constraints/OAS30.pm
cp lib/JSONSchema/Validator/Format.pm blib/lib/JSONSchema/Validator/Format.pm
cp lib/JSONSchema/Validator/schemas/draft7.json blib/lib/JSONSchema/Validator/schemas/draft7.json
cp lib/JSONSchema/Validator/Util.pm blib/lib/JSONSchema/Validator/Util.pm
cp lib/JSONSchema/Validator/schemas/draft4.json blib/lib/JSONSchema/Validator/schemas/draft4.json
cp lib/JSONSchema/Validator/schemas/draft6.json blib/lib/JSONSchema/Validator/schemas/draft6.json
cp lib/JSONSchema/Validator/Draft4.pm blib/lib/JSONSchema/Validator/Draft4.pm
cp lib/JSONSchema/Validator/Error.pm blib/lib/JSONSchema/Validator/Error.pm
cp lib/JSONSchema/Validator.pm blib/lib/JSONSchema/Validator.pm
cp lib/JSONSchema/Validator/URIResolver.pm blib/lib/JSONSchema/Validator/URIResolver.pm
cp lib/JSONSchema/Validator/Draft7.pm blib/lib/JSONSchema/Validator/Draft7.pm
cp lib/JSONSchema/Validator/Draft6.pm blib/lib/JSONSchema/Validator/Draft6.pm
cp lib/JSONSchema/Validator/OAS30.pm blib/lib/JSONSchema/Validator/OAS30.pm
Manifying 14 pod documents
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
t/acceptance.t ............... skipped: these tests are for testing by the developer
t/author-critic.t ............ skipped: these tests are for testing by the author
t/author-pod-spell.t ......... skipped: these tests are for testing by the author
t/format.t ................... ok
t/json_schema.t .............. ok
t/oas.t ...................... ok
Can't locate Test/CPAN/Changes.pm in @INC (you may need to install the Test::CPAN::Changes module) (@INC contains: /root/.cpanm/work/1654966602.413/JSONSchema-Validator-0.010/blib/lib /root/.cpanm/work/1654966602.413/JSONSchema-Validator-0.010/blib/arch lib old/lib lib old/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl .) at t/release-cpan-changes.t line 15.
BEGIN failed--compilation aborted at t/release-cpan-changes.t line 15.
# Looks like your test exited with 2 before it could output anything.
t/release-cpan-changes.t ..... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests 
t/validator_json_schema.t .... ok
t/validator_oas.t ............ ok
t/validator_validate_path.t .. ok

Test Summary Report
-------------------
t/release-cpan-changes.t   (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=11, Tests=1231,  2 wallclock secs ( 0.11 usr  0.01 sys +  1.87 cusr  0.25 csys =  2.24 CPU)
Result: FAIL
Failed 1/11 test programs. 0/1231 subtests failed.
make: *** [Makefile:925: test_dynamic] Error 255
-> FAIL Installing JSONSchema::Validator failed. See ~/.cpanm/work/1654966602.413/build.log for details. Retry with --force to force install it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions