Skip to content

Instantly share code, notes, and snippets.

@skaji
Created August 8, 2019 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skaji/9f8d1def2a447ad6259d6ac6f8faa7df to your computer and use it in GitHub Desktop.
Save skaji/9f8d1def2a447ad6259d6ac6f8faa7df to your computer and use it in GitHub Desktop.

if we apply adjust how to check modules are installed or not, then

with perl 5.8.5

❯ perl -Ilib cpm.test install File::Spec
WARN You don't have Module::CoreList. The local-lib may result in incomplete self-contained directory.
DONE install Perl-OSType-1.010
DONE install Locale-Maketext-Simple-0.21
DONE install version-0.9924
FAIL install ExtUtils-CBuilder-0.280231
FAIL install ExtUtils-ParseXS-3.35
FAIL install IPC-Cmd-1.04
FAIL install Module-CoreList-5.20190720
FAIL install Module-Load-0.34
FAIL install Module-Load-Conditional-0.68
FAIL install Module-Metadata-1.000036
FAIL install Params-Check-0.38
FAIL install PathTools-3.75
FAIL install Test-Simple-1.302164
3 distributions installed.
See /Users/skaji/.perl-cpm/build.log for details.
@skaji
Copy link
Author

skaji commented Aug 8, 2019

2019-08-08T10:58:50,61725| Running cpm 0.983 (cpm.test) on perl 5.8.5 built for darwin-2level (perl)
2019-08-08T10:58:50,61725| This is a self-contained version, 0.983-2-g3767f04 (https://github.com/skaji/cpm/tree/3767f04)
2019-08-08T10:58:50,61725| Command line arguments are: install File::Spec
2019-08-08T10:58:50,61725| Work directory is /Users/skaji/.perl-cpm/work/1565251130.61725
2019-08-08T10:58:50,61725| You have make /usr/bin/make
2019-08-08T10:58:50,61725| You have /Users/skaji/local/bin/curl curl 7.65.0-DEV (Darwin) libcurl/7.65.0-DEV OpenSSL/1.1.1c zlib/1.2.11 brotli/1.0.7 nghttp2/1.38.90
2019-08-08T10:58:50,61725| You have tar /usr/local/bin/gtar
2019-08-08T10:58:50,61725| You have unzip /usr/bin/unzip
2019-08-08T10:58:50,61725| Setup local::lib /Users/skaji/src/github.com/skaji/cpm/local
2019-08-08T10:58:50,61725| --
2019-08-08T10:58:50,61725| Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
2019-08-08T10:58:50,61725|   Platform:
2019-08-08T10:58:50,61725|     osname=darwin, osvers=18.0.0, archname=darwin-2level
2019-08-08T10:58:50,61725|     uname='darwin mbp2013 18.0.0 darwin kernel version 18.0.0: wed aug 22 20:13:40 pdt 2018; root:xnu-4903.201.2~1release_x86_64 x86_64 i386 macbookpro11,2 darwin '
2019-08-08T10:58:50,61725|     config_args='-des -DDEBUGGING=-g -Dprefix=/Users/skaji/env/plenv/versions/5.8.5 -Dman1dir=none -Dman3dir=none'
2019-08-08T10:58:50,61725|     hint=recommended, useposix=true, d_sigaction=define
2019-08-08T10:58:50,61725|     usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
2019-08-08T10:58:50,61725|     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
2019-08-08T10:58:50,61725|     use64bitint=define use64bitall=define uselongdouble=undef
2019-08-08T10:58:50,61725|     usemymalloc=n, bincompat5005=undef
2019-08-08T10:58:50,61725|   Compiler:
2019-08-08T10:58:50,61725|     cc='cc', ccflags ='-fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -fno-strict-aliasing -pipe -I/usr/local/include',
2019-08-08T10:58:50,61725|     optimize='-O3',
2019-08-08T10:58:50,61725|     cppflags='-fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -fno-strict-aliasing -pipe -I/usr/local/include'
2019-08-08T10:58:50,61725|     ccversion='', gccversion='4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.5)', gccosandvers=''
2019-08-08T10:58:50,61725|     intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
2019-08-08T10:58:50,61725|     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
2019-08-08T10:58:50,61725|     ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
2019-08-08T10:58:50,61725|     alignbytes=8, prototype=define
2019-08-08T10:58:50,61725|   Linker and Libraries:
2019-08-08T10:58:50,61725|     ld='cc', ldflags =' -mmacosx-version-min=10.14 -L/usr/local/lib'
2019-08-08T10:58:50,61725|     libpth=/usr/local/lib /usr/lib
2019-08-08T10:58:50,61725|     libs=-lgdbm -ldbm -ldl -lm -lutil -lc
2019-08-08T10:58:50,61725|     perllibs=-ldl -lm -lutil -lc
2019-08-08T10:58:50,61725|     libc=, so=dylib, useshrplib=false, libperl=libperl.a
2019-08-08T10:58:50,61725|     gnulibc_version=''
2019-08-08T10:58:50,61725|   Dynamic Linking:
2019-08-08T10:58:50,61725|     dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
2019-08-08T10:58:50,61725|     cccdlflags=' ', lddlflags=' -mmacosx-version-min=10.14 -bundle -undefined dynamic_lookup -L/usr/local/lib'
2019-08-08T10:58:50,61725| Characteristics of this binary (from libperl): 
2019-08-08T10:58:50,61725|   Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
2019-08-08T10:58:50,61725|   Locally applied patches:
2019-08-08T10:58:50,61725| 	Devel::PatchPerl 1.52
2019-08-08T10:58:50,61725|   Built under darwin
2019-08-08T10:58:50,61725|   Compiled at Nov  2 2018 21:37:49
2019-08-08T10:58:50,61725|   %ENV:
2019-08-08T10:58:50,61725|     PERL5LIB="/Users/skaji/src/github.com/skaji/cpm/local/lib/perl5"
2019-08-08T10:58:50,61725|     PERLDOC="-MPod::Text::Color::Delight"
2019-08-08T10:58:50,61725|     PERL_CPAN_MIRROR_TINY_BASE="/Users/skaji/.perl-cpm/cache"
2019-08-08T10:58:50,61725|     PERL_LOCAL_LIB_ROOT="/Users/skaji/src/github.com/skaji/cpm/local"
2019-08-08T10:58:50,61725|     PERL_MB_OPT="--install_base "/Users/skaji/src/github.com/skaji/cpm/local""
2019-08-08T10:58:50,61725|     PERL_MM_OPT="INSTALL_BASE=/Users/skaji/src/github.com/skaji/cpm/local"
2019-08-08T10:58:50,61725|     PERL_STRICTURES_EXTRA="1"
2019-08-08T10:58:50,61725|   @INC:
2019-08-08T10:58:50,61725|     /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/5.8.5/darwin-2level
2019-08-08T10:58:50,61725|     /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/5.8.5
2019-08-08T10:58:50,61725|     /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level
2019-08-08T10:58:50,61725|     /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5
2019-08-08T10:58:50,61725|     /Users/skaji/env/plenv/versions/5.8.5/lib/perl5/5.8.5/darwin-2level
2019-08-08T10:58:50,61725|     /Users/skaji/env/plenv/versions/5.8.5/lib/perl5/5.8.5
2019-08-08T10:58:50,61725|     /Users/skaji/env/plenv/versions/5.8.5/lib/perl5/site_perl/5.8.5/darwin-2level
2019-08-08T10:58:50,61725|     /Users/skaji/env/plenv/versions/5.8.5/lib/perl5/site_perl/5.8.5
2019-08-08T10:58:50,61725|     /Users/skaji/env/plenv/versions/5.8.5/lib/perl5/site_perl
2019-08-08T10:58:50,61725|     .
2019-08-08T10:58:50,61725| --
2019-08-08T10:58:52,61725,ExtUtils::ParseXS| Resolved ExtUtils::ParseXS (3.16) -> https://cpan.metacpan.org/authors/id/S/SM/SMUELLER/ExtUtils-ParseXS-3.35.tar.gz from MetaDB
2019-08-08T10:58:52,61725,ExtUtils-ParseXS-3.35| Using cache /Users/skaji/.perl-cpm/cache/authors/id/S/SM/SMUELLER/ExtUtils-ParseXS-3.35.tar.gz
2019-08-08T10:58:52,61725,ExtUtils-ParseXS-3.35| Unpacking ExtUtils-ParseXS-3.35.tar.gz
2019-08-08T10:58:52,61725,ExtUtils-ParseXS-3.35| Configuring distribution
2019-08-08T10:58:52,61725,ExtUtils-ParseXS-3.35| Executing perl Makefile.PL
2019-08-08T10:58:52,61725,ExtUtils-ParseXS-3.35| Warning: prerequisite ExtUtils::CBuilder 0 not found.
2019-08-08T10:58:52,61725,ExtUtils-ParseXS-3.35| Checking if your kit is complete...
2019-08-08T10:58:52,61725,ExtUtils-ParseXS-3.35| Looks good
2019-08-08T10:58:52,61725,ExtUtils-ParseXS-3.35| Generating a Unix-style Makefile
2019-08-08T10:58:52,61725,ExtUtils-ParseXS-3.35| Writing Makefile for ExtUtils::ParseXS
2019-08-08T10:58:52,61725,ExtUtils-ParseXS-3.35| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:52,61725,ExtUtils-ParseXS-3.35| Distribution provides: ExtUtils::ParseXS (3.35), ExtUtils::ParseXS::Constants (3.35), ExtUtils::ParseXS::CountLines (3.35), ExtUtils::ParseXS::Eval (3.35), ExtUtils::ParseXS::Utilities (3.35), ExtUtils::Typemaps (3.35), ExtUtils::Typemaps::Cmd (3.35), ExtUtils::Typemaps::InputMap (3.35), ExtUtils::Typemaps::OutputMap (3.35), ExtUtils::Typemaps::Type (3.35)
2019-08-08T10:58:52,61725,ExtUtils-ParseXS-3.35| Found dependencies: ExtUtils::CBuilder (0)
2019-08-08T10:58:52,61725,ExtUtils::CBuilder| Resolved ExtUtils::CBuilder (0) -> https://cpan.metacpan.org/authors/id/A/AM/AMBS/ExtUtils-CBuilder-0.280231.tar.gz from MetaDB
2019-08-08T10:58:52,61725,ExtUtils-CBuilder-0.280231| Using cache /Users/skaji/.perl-cpm/cache/authors/id/A/AM/AMBS/ExtUtils-CBuilder-0.280231.tar.gz
2019-08-08T10:58:52,61725,ExtUtils-CBuilder-0.280231| Unpacking ExtUtils-CBuilder-0.280231.tar.gz
2019-08-08T10:58:53,61725,ExtUtils-CBuilder-0.280231| Configuring distribution
2019-08-08T10:58:53,61725,ExtUtils-CBuilder-0.280231| Executing perl Makefile.PL
2019-08-08T10:58:53,61725,ExtUtils-CBuilder-0.280231| Warning: prerequisite File::Spec 3.13 not found. We have 0.87.
2019-08-08T10:58:53,61725,ExtUtils-CBuilder-0.280231| Warning: prerequisite IPC::Cmd 0 not found.
2019-08-08T10:58:53,61725,ExtUtils-CBuilder-0.280231| Checking if your kit is complete...
2019-08-08T10:58:53,61725,ExtUtils-CBuilder-0.280231| Looks good
2019-08-08T10:58:53,61725,ExtUtils-CBuilder-0.280231| Generating a Unix-style Makefile
2019-08-08T10:58:53,61725,ExtUtils-CBuilder-0.280231| Writing Makefile for ExtUtils::CBuilder
2019-08-08T10:58:53,61725,ExtUtils-CBuilder-0.280231| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:53,61725,ExtUtils-CBuilder-0.280231| Distribution provides: ExtUtils::CBuilder (0.280231), ExtUtils::CBuilder::Base (0.280231), ExtUtils::CBuilder::Platform::Unix (0.280231), ExtUtils::CBuilder::Platform::VMS (0.280231), ExtUtils::CBuilder::Platform::Windows (0.280231), ExtUtils::CBuilder::Platform::Windows::BCC (0.280231), ExtUtils::CBuilder::Platform::Windows::GCC (0.280231), ExtUtils::CBuilder::Platform::Windows::MSVC (0.280231), ExtUtils::CBuilder::Platform::aix (0.280231), ExtUtils::CBuilder::Platform::android (0.280231), ExtUtils::CBuilder::Platform::cygwin (0.280231), ExtUtils::CBuilder::Platform::darwin (0.280231), ExtUtils::CBuilder::Platform::dec_osf (0.280231), ExtUtils::CBuilder::Platform::os2 (0.280231)
2019-08-08T10:58:53,61725,ExtUtils-CBuilder-0.280231| Found dependencies: File::Spec (3.13), IPC::Cmd (0), Perl::OSType (1)
2019-08-08T10:58:53,61725,Perl::OSType| Resolved Perl::OSType (1) -> https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Perl-OSType-1.010.tar.gz from MetaDB
2019-08-08T10:58:53,61725,IPC::Cmd| Resolved IPC::Cmd (0) -> https://cpan.metacpan.org/authors/id/B/BI/BINGOS/IPC-Cmd-1.04.tar.gz from MetaDB
2019-08-08T10:58:53,61725,File::Spec| Resolved File::Spec (3.13) -> https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/PathTools-3.75.tar.gz from MetaDB
2019-08-08T10:58:53,61725,IPC-Cmd-1.04| Using cache /Users/skaji/.perl-cpm/cache/authors/id/B/BI/BINGOS/IPC-Cmd-1.04.tar.gz
2019-08-08T10:58:53,61725,IPC-Cmd-1.04| Unpacking IPC-Cmd-1.04.tar.gz
2019-08-08T10:58:53,61725,Perl-OSType-1.010| Using cache /Users/skaji/.perl-cpm/cache/authors/id/D/DA/DAGOLDEN/Perl-OSType-1.010.tar.gz
2019-08-08T10:58:53,61725,Perl-OSType-1.010| Unpacking Perl-OSType-1.010.tar.gz
2019-08-08T10:58:53,61725,IPC-Cmd-1.04| Configuring distribution
2019-08-08T10:58:53,61725,IPC-Cmd-1.04| Executing perl Makefile.PL
2019-08-08T10:58:53,61725,IPC-Cmd-1.04| Warning: prerequisite Module::Load::Conditional 0.66 not found.
2019-08-08T10:58:53,61725,IPC-Cmd-1.04| Warning: prerequisite Params::Check 0.20 not found.
2019-08-08T10:58:53,61725,IPC-Cmd-1.04| Checking if your kit is complete...
2019-08-08T10:58:53,61725,IPC-Cmd-1.04| Looks good
2019-08-08T10:58:53,61725,IPC-Cmd-1.04| Generating a Unix-style Makefile
2019-08-08T10:58:53,61725,IPC-Cmd-1.04| Writing Makefile for IPC::Cmd
2019-08-08T10:58:53,61725,IPC-Cmd-1.04| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:53,61725,IPC-Cmd-1.04| Distribution provides: IPC::Cmd (1.04)
2019-08-08T10:58:53,61725,PathTools-3.75| Using cache /Users/skaji/.perl-cpm/cache/authors/id/X/XS/XSAWYERX/PathTools-3.75.tar.gz
2019-08-08T10:58:53,61725,PathTools-3.75| Unpacking PathTools-3.75.tar.gz
2019-08-08T10:58:54,61725,IPC-Cmd-1.04| Found dependencies: Locale::Maketext::Simple (0), Module::Load::Conditional (0.66), Params::Check (0.20)
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Configuring distribution
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Executing perl Makefile.PL
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Warning: prerequisite Test::More 0.88 not found. We have 0.47.
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Checking if your kit is complete...
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Looks good
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Generating a Unix-style Makefile
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Writing Makefile for Perl::OSType
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Distribution provides: Perl::OSType (1.010)
2019-08-08T10:58:54,61725,Params::Check| Resolved Params::Check (0.20) -> https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Params-Check-0.38.tar.gz from MetaDB
2019-08-08T10:58:54,61725,Locale::Maketext::Simple| Resolved Locale::Maketext::Simple (0) -> https://cpan.metacpan.org/authors/id/J/JE/JESSE/Locale-Maketext-Simple-0.21.tar.gz from MetaDB
2019-08-08T10:58:54,61725,Module::Load::Conditional| Resolved Module::Load::Conditional (0.66) -> https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-Load-Conditional-0.68.tar.gz from MetaDB
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Building distribution
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Executing /usr/bin/make
2019-08-08T10:58:54,61725,Perl-OSType-1.010| cp lib/Perl/OSType.pm blib/lib/Perl/OSType.pm
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Executing /usr/bin/make install
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/Perl/OSType.pm
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Appending installation info to /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level/perllocal.pod
2019-08-08T10:58:54,61725,Perl-OSType-1.010| Executing perl -MExtUtils::Install=install -e install({ 'blib/meta' => '/Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level/.meta/Perl-OSType-1.010' })
2019-08-08T10:58:55,61725,Perl-OSType-1.010| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level/.meta/Perl-OSType-1.010/MYMETA.json
2019-08-08T10:58:55,61725,Perl-OSType-1.010| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level/.meta/Perl-OSType-1.010/install.json
2019-08-08T10:58:55,61725,Perl-OSType-1.010| Successfully installed distribution
2019-08-08T10:58:55,61725,PathTools-3.75| Configuring distribution
2019-08-08T10:58:55,61725,PathTools-3.75| Executing perl Makefile.PL
2019-08-08T10:58:55,61725,PathTools-3.75| Warning: prerequisite Test::More 0.88 not found. We have 0.47.
2019-08-08T10:58:55,61725,PathTools-3.75| Checking if your kit is complete...
2019-08-08T10:58:55,61725,PathTools-3.75| Looks good
2019-08-08T10:58:55,61725,PathTools-3.75| Generating a Unix-style Makefile
2019-08-08T10:58:55,61725,PathTools-3.75| Writing Makefile for Cwd
2019-08-08T10:58:55,61725,PathTools-3.75| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:55,61725,PathTools-3.75| Distribution provides: Cwd (3.75), File::Spec (3.75), File::Spec::AmigaOS (3.75), File::Spec::Cygwin (3.75), File::Spec::Epoc (3.75), File::Spec::Functions (3.75), File::Spec::Mac (3.75), File::Spec::OS2 (3.75), File::Spec::Unix (3.75), File::Spec::VMS (3.75), File::Spec::Win32 (3.75)
2019-08-08T10:58:55,61725,Params-Check-0.38| Using cache /Users/skaji/.perl-cpm/cache/authors/id/B/BI/BINGOS/Params-Check-0.38.tar.gz
2019-08-08T10:58:55,61725,Params-Check-0.38| Unpacking Params-Check-0.38.tar.gz
2019-08-08T10:58:55,61725,Locale-Maketext-Simple-0.21| Using cache /Users/skaji/.perl-cpm/cache/authors/id/J/JE/JESSE/Locale-Maketext-Simple-0.21.tar.gz
2019-08-08T10:58:55,61725,Locale-Maketext-Simple-0.21| Unpacking Locale-Maketext-Simple-0.21.tar.gz
2019-08-08T10:58:55,61725,PathTools-3.75| Found dependencies: Test::More (0.88)
2019-08-08T10:58:55,61725,Test::More| Resolved Test::More (0.88) -> https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Simple-1.302164.tar.gz from MetaDB
2019-08-08T10:58:55,61725,Module-Load-Conditional-0.68| Using cache /Users/skaji/.perl-cpm/cache/authors/id/B/BI/BINGOS/Module-Load-Conditional-0.68.tar.gz
2019-08-08T10:58:55,61725,Module-Load-Conditional-0.68| Unpacking Module-Load-Conditional-0.68.tar.gz
2019-08-08T10:58:55,61725,Params-Check-0.38| Configuring distribution
2019-08-08T10:58:55,61725,Params-Check-0.38| Executing perl Makefile.PL
2019-08-08T10:58:55,61725,Params-Check-0.38| Checking if your kit is complete...
2019-08-08T10:58:55,61725,Params-Check-0.38| Looks good
2019-08-08T10:58:55,61725,Params-Check-0.38| Generating a Unix-style Makefile
2019-08-08T10:58:55,61725,Params-Check-0.38| Writing Makefile for Params::Check
2019-08-08T10:58:55,61725,Params-Check-0.38| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:55,61725,Params-Check-0.38| Distribution provides: Params::Check (0.38)
2019-08-08T10:58:55,61725,Locale-Maketext-Simple-0.21| Configuring distribution
2019-08-08T10:58:55,61725,Locale-Maketext-Simple-0.21| Executing perl Makefile.PL
2019-08-08T10:58:55,61725,Locale-Maketext-Simple-0.21| Checking if your kit is complete...
2019-08-08T10:58:55,61725,Locale-Maketext-Simple-0.21| Looks good
2019-08-08T10:58:55,61725,Locale-Maketext-Simple-0.21| Generating a Unix-style Makefile
2019-08-08T10:58:55,61725,Locale-Maketext-Simple-0.21| Writing Makefile for Locale::Maketext::Simple
2019-08-08T10:58:55,61725,Locale-Maketext-Simple-0.21| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:55,61725,Locale-Maketext-Simple-0.21| Distribution provides: Locale::Maketext::Simple (0.21)
2019-08-08T10:58:55,61725,Test-Simple-1.302164| Using cache /Users/skaji/.perl-cpm/cache/authors/id/E/EX/EXODIST/Test-Simple-1.302164.tar.gz
2019-08-08T10:58:55,61725,Test-Simple-1.302164| Unpacking Test-Simple-1.302164.tar.gz
2019-08-08T10:58:56,61725,Module-Load-Conditional-0.68| Configuring distribution
2019-08-08T10:58:56,61725,Module-Load-Conditional-0.68| Executing perl Makefile.PL
2019-08-08T10:58:56,61725,Module-Load-Conditional-0.68| Warning: prerequisite Module::CoreList 2.22 not found.
2019-08-08T10:58:56,61725,Module-Load-Conditional-0.68| Warning: prerequisite Module::Load 0.28 not found.
2019-08-08T10:58:56,61725,Module-Load-Conditional-0.68| Warning: prerequisite Module::Metadata 1.000005 not found.
2019-08-08T10:58:56,61725,Module-Load-Conditional-0.68| Warning: prerequisite Params::Check 0 not found.
2019-08-08T10:58:56,61725,Module-Load-Conditional-0.68| Checking if your kit is complete...
2019-08-08T10:58:56,61725,Module-Load-Conditional-0.68| Looks good
2019-08-08T10:58:56,61725,Module-Load-Conditional-0.68| Generating a Unix-style Makefile
2019-08-08T10:58:56,61725,Module-Load-Conditional-0.68| Writing Makefile for Module::Load::Conditional
2019-08-08T10:58:56,61725,Module-Load-Conditional-0.68| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:56,61725,Module-Load-Conditional-0.68| Distribution provides: Module::Load::Conditional (0.68)
2019-08-08T10:58:56,61725,Test-Simple-1.302164| Configuring distribution
2019-08-08T10:58:56,61725,Test-Simple-1.302164| Executing perl Makefile.PL
2019-08-08T10:58:56,61725,Test-Simple-1.302164| Checking if your kit is complete...
2019-08-08T10:58:56,61725,Test-Simple-1.302164| Looks good
2019-08-08T10:58:56,61725,Test-Simple-1.302164| Generating a Unix-style Makefile
2019-08-08T10:58:56,61725,Test-Simple-1.302164| Writing Makefile for Test::Simple
2019-08-08T10:58:56,61725,Test-Simple-1.302164| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:56,61725,Test-Simple-1.302164| Distribution provides: Test2 (1.302164), Test2::API (1.302164), Test2::API::Breakage (1.302164), Test2::API::Context (1.302164), Test2::API::Instance (1.302164), Test2::API::Stack (1.302164), Test2::Event (1.302164), Test2::Event::Bail (1.302164), Test2::Event::Diag (1.302164), Test2::Event::Encoding (1.302164), Test2::Event::Exception (1.302164), Test2::Event::Fail (1.302164), Test2::Event::Generic (1.302164), Test2::Event::Note (1.302164), Test2::Event::Ok (1.302164), Test2::Event::Pass (1.302164), Test2::Event::Plan (1.302164), Test2::Event::Skip (1.302164), Test2::Event::Subtest (1.302164), Test2::Event::TAP::Version (1.302164), Test2::Event::V2 (1.302164), Test2::Event::Waiting (1.302164), Test2::EventFacet (1.302164), Test2::EventFacet::About (1.302164), Test2::EventFacet::Amnesty (1.302164), Test2::EventFacet::Assert (1.302164), Test2::EventFacet::Control (1.302164), Test2::EventFacet::Error (1.302164), Test2::EventFacet::Hub (1.302164), Test2::EventFacet::Info (1.302164), Test2::EventFacet::Info::Table (1.302164), Test2::EventFacet::Meta (1.302164), Test2::EventFacet::Parent (1.302164), Test2::EventFacet::Plan (1.302164), Test2::EventFacet::Render (1.302164), Test2::EventFacet::Trace (1.302164), Test2::Formatter (1.302164), Test2::Formatter::TAP (1.302164), Test2::Hub (1.302164), Test2::Hub::Interceptor (1.302164), Test2::Hub::Interceptor::Terminator (1.302164), Test2::Hub::Subtest (1.302164), Test2::IPC (1.302164), Test2::IPC::Driver (1.302164), Test2::IPC::Driver::Files (1.302164), Test2::Tools::Tiny (1.302164), Test2::Util (1.302164), Test2::Util::ExternalMeta (1.302164), Test2::Util::Facets2Legacy (1.302164), Test2::Util::HashBase (1.302164), Test2::Util::Trace (1.302164), Test::Builder (1.302164), Test::Builder::Formatter (1.302164), Test::Builder::IO::Scalar (2.114), Test::Builder::Module (1.302164), Test::Builder::Tester (1.302164), Test::Builder::Tester::Color (1.302164), Test::Builder::Tester::Tie (1.302164), Test::Builder::TodoDiag (1.302164), Test::More (1.302164), Test::Simple (1.302164), Test::Tester (1.302164), Test::Tester::Capture (1.302164), Test::Tester::CaptureRunner (1.302164), Test::Tester::Delegate (1.302164), Test::use::ok (1.302164), ok (1.302164)
2019-08-08T10:58:56,61725,Locale-Maketext-Simple-0.21| Building distribution
2019-08-08T10:58:56,61725,Locale-Maketext-Simple-0.21| Executing /usr/bin/make
2019-08-08T10:58:56,61725,Locale-Maketext-Simple-0.21| cp lib/Locale/Maketext/Simple.pm blib/lib/Locale/Maketext/Simple.pm
2019-08-08T10:58:56,61725,Locale-Maketext-Simple-0.21| Executing /usr/bin/make install
2019-08-08T10:58:57,61725,Locale-Maketext-Simple-0.21| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/Locale/Maketext/Simple.pm
2019-08-08T10:58:57,61725,Locale-Maketext-Simple-0.21| Appending installation info to /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level/perllocal.pod
2019-08-08T10:58:57,61725,Locale-Maketext-Simple-0.21| Executing perl -MExtUtils::Install=install -e install({ 'blib/meta' => '/Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level/.meta/Locale-Maketext-Simple-0.21' })
2019-08-08T10:58:57,61725,Locale-Maketext-Simple-0.21| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level/.meta/Locale-Maketext-Simple-0.21/MYMETA.json
2019-08-08T10:58:57,61725,Locale-Maketext-Simple-0.21| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level/.meta/Locale-Maketext-Simple-0.21/install.json
2019-08-08T10:58:57,61725,Locale-Maketext-Simple-0.21| Successfully installed distribution
2019-08-08T10:58:57,61725,Module-Load-Conditional-0.68| Found dependencies: Module::CoreList (2.22), Module::Load (0.28), Module::Metadata (1.000005), version (0.69)
2019-08-08T10:58:57,61725,Module::Metadata| Resolved Module::Metadata (1.000005) -> https://cpan.metacpan.org/authors/id/E/ET/ETHER/Module-Metadata-1.000036.tar.gz from MetaDB
2019-08-08T10:58:57,61725,version| Resolved version (0.69) -> https://cpan.metacpan.org/authors/id/J/JP/JPEACOCK/version-0.9924.tar.gz from MetaDB
2019-08-08T10:58:57,61725,Module::Load| Resolved Module::Load (0.28) -> https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-Load-0.34.tar.gz from MetaDB
2019-08-08T10:58:57,61725,Module::CoreList| Resolved Module::CoreList (2.22) -> https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-CoreList-5.20190720.tar.gz from MetaDB
2019-08-08T10:58:57,61725,version-0.9924| Using cache /Users/skaji/.perl-cpm/cache/authors/id/J/JP/JPEACOCK/version-0.9924.tar.gz
2019-08-08T10:58:57,61725,version-0.9924| Unpacking version-0.9924.tar.gz
2019-08-08T10:58:57,61725,Module-Load-0.34| Using cache /Users/skaji/.perl-cpm/cache/authors/id/B/BI/BINGOS/Module-Load-0.34.tar.gz
2019-08-08T10:58:57,61725,Module-Load-0.34| Unpacking Module-Load-0.34.tar.gz
2019-08-08T10:58:57,61725,Module-Metadata-1.000036| Using cache /Users/skaji/.perl-cpm/cache/authors/id/E/ET/ETHER/Module-Metadata-1.000036.tar.gz
2019-08-08T10:58:57,61725,Module-Metadata-1.000036| Unpacking Module-Metadata-1.000036.tar.gz
2019-08-08T10:58:57,61725,version-0.9924| Configuring distribution
2019-08-08T10:58:57,61725,version-0.9924| Executing perl Makefile.PL
2019-08-08T10:58:57,61725,version-0.9924| Warning: prerequisite parent 0.221 not found.
2019-08-08T10:58:57,61725,version-0.9924| Checking if your kit is complete...
2019-08-08T10:58:57,61725,version-0.9924| Looks good
2019-08-08T10:58:57,61725,version-0.9924| Generating a Unix-style Makefile
2019-08-08T10:58:57,61725,version-0.9924| Writing Makefile for version
2019-08-08T10:58:57,61725,version-0.9924| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:57,61725,version-0.9924| Distribution provides: version (0.9924), version::regex (0.9924), version::vpp (0.9924), version::vxs (0.9924)
2019-08-08T10:58:57,61725,Module-Load-0.34| Configuring distribution
2019-08-08T10:58:57,61725,Module-Load-0.34| Executing perl Makefile.PL
2019-08-08T10:58:58,61725,Module-Load-0.34| Warning: prerequisite Test::More 0.94 not found. We have 0.47.
2019-08-08T10:58:58,61725,Module-Load-0.34| Checking if your kit is complete...
2019-08-08T10:58:58,61725,Module-Load-0.34| Looks good
2019-08-08T10:58:58,61725,Module-Load-0.34| Generating a Unix-style Makefile
2019-08-08T10:58:58,61725,Module-Load-0.34| Writing Makefile for Module::Load
2019-08-08T10:58:58,61725,Module-Load-0.34| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:58,61725,Module-Load-0.34| Distribution provides: Module::Load (0.34)
2019-08-08T10:58:58,61725,Module-CoreList-5.20190720| Using cache /Users/skaji/.perl-cpm/cache/authors/id/B/BI/BINGOS/Module-CoreList-5.20190720.tar.gz
2019-08-08T10:58:58,61725,Module-CoreList-5.20190720| Unpacking Module-CoreList-5.20190720.tar.gz
2019-08-08T10:58:58,61725,Module-Metadata-1.000036| Configuring distribution
2019-08-08T10:58:58,61725,Module-Metadata-1.000036| Distribution opts in x_use_unsafe_inc: 0
2019-08-08T10:58:58,61725,Module-Metadata-1.000036| Executing perl Makefile.PL
2019-08-08T10:58:58,61725,Module-Metadata-1.000036| Warning: prerequisite Test::More 0.88 not found. We have 0.47.
2019-08-08T10:58:58,61725,Module-Metadata-1.000036| Checking if your kit is complete...
2019-08-08T10:58:58,61725,Module-Metadata-1.000036| Looks good
2019-08-08T10:58:58,61725,Module-Metadata-1.000036| Generating a Unix-style Makefile
2019-08-08T10:58:58,61725,Module-Metadata-1.000036| Writing Makefile for Module::Metadata
2019-08-08T10:58:58,61725,Module-Metadata-1.000036| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:58,61725,Module-Metadata-1.000036| Distribution provides: Module::Metadata (1.000036)
2019-08-08T10:58:58,61725,version-0.9924| Building distribution
2019-08-08T10:58:58,61725,version-0.9924| Executing /usr/bin/make
2019-08-08T10:58:59,61725,version-0.9924| cp lib/version/Internals.pod blib/lib/version/Internals.pod
2019-08-08T10:58:59,61725,version-0.9924| cp lib/version.pm blib/lib/version.pm
2019-08-08T10:58:59,61725,version-0.9924| cp lib/version/regex.pm blib/lib/version/regex.pm
2019-08-08T10:58:59,61725,version-0.9924| cp lib/version.pod blib/lib/version.pod
2019-08-08T10:58:59,61725,version-0.9924| cp vperl/vpp.pm blib/lib/version/vpp.pm
2019-08-08T10:58:59,61725,version-0.9924| Executing /usr/bin/make install
2019-08-08T10:58:59,61725,version-0.9924| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/version.pm
2019-08-08T10:58:59,61725,version-0.9924| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/version.pod
2019-08-08T10:58:59,61725,version-0.9924| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/version/vpp.pm
2019-08-08T10:58:59,61725,version-0.9924| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/version/Internals.pod
2019-08-08T10:58:59,61725,version-0.9924| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/version/regex.pm
2019-08-08T10:58:59,61725,version-0.9924| Appending installation info to /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level/perllocal.pod
2019-08-08T10:58:59,61725,version-0.9924| Executing perl -MExtUtils::Install=install -e install({ 'blib/meta' => '/Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level/.meta/version-0.9924' })
2019-08-08T10:58:59,61725,version-0.9924| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level/.meta/version-0.9924/MYMETA.json
2019-08-08T10:58:59,61725,version-0.9924| Installing /Users/skaji/src/github.com/skaji/cpm/local/lib/perl5/darwin-2level/.meta/version-0.9924/install.json
2019-08-08T10:58:59,61725,version-0.9924| Successfully installed distribution
2019-08-08T10:58:59,61725,Module-CoreList-5.20190720| Configuring distribution
2019-08-08T10:58:59,61725,Module-CoreList-5.20190720| Executing perl Makefile.PL
2019-08-08T10:58:59,61725,Module-CoreList-5.20190720| Checking if your kit is complete...
2019-08-08T10:58:59,61725,Module-CoreList-5.20190720| Looks good
2019-08-08T10:58:59,61725,Module-CoreList-5.20190720| Generating a Unix-style Makefile
2019-08-08T10:58:59,61725,Module-CoreList-5.20190720| Writing Makefile for Module::CoreList
2019-08-08T10:58:59,61725,Module-CoreList-5.20190720| Writing MYMETA.yml and MYMETA.json
2019-08-08T10:58:59,61725,Module-CoreList-5.20190720| Distribution provides: Module::CoreList (5.20190720), Module::CoreList::Utils (5.20190720)
2019-08-08T10:58:59,61725,ExtUtils-CBuilder-0.280231| Detected circular dependencies ExtUtils-CBuilder-0.280231 -> PathTools-3.75 -> Test-Simple-1.302164 -> PathTools-3.75
2019-08-08T10:58:59,61725,ExtUtils-CBuilder-0.280231| Failed to install distribution
2019-08-08T10:58:59,61725,IPC-Cmd-1.04| Detected circular dependencies IPC-Cmd-1.04 -> PathTools-3.75 -> Test-Simple-1.302164 -> PathTools-3.75
2019-08-08T10:58:59,61725,IPC-Cmd-1.04| Failed to install distribution
2019-08-08T10:58:59,61725,Module-CoreList-5.20190720| Detected circular dependencies Module-CoreList-5.20190720 -> Test-Simple-1.302164 -> PathTools-3.75 -> Test-Simple-1.302164
2019-08-08T10:58:59,61725,Module-CoreList-5.20190720| Failed to install distribution
2019-08-08T10:58:59,61725,Module-Load-0.34| Detected circular dependencies Module-Load-0.34 -> Test-Simple-1.302164 -> PathTools-3.75 -> Test-Simple-1.302164
2019-08-08T10:58:59,61725,Module-Load-0.34| Failed to install distribution
2019-08-08T10:58:59,61725,Module-Load-Conditional-0.68| Detected circular dependencies Module-Load-Conditional-0.68 -> Test-Simple-1.302164 -> PathTools-3.75 -> Test-Simple-1.302164
2019-08-08T10:58:59,61725,Module-Load-Conditional-0.68| Failed to install distribution
2019-08-08T10:58:59,61725,Params-Check-0.38| Detected circular dependencies Params-Check-0.38 -> Test-Simple-1.302164 -> PathTools-3.75 -> Test-Simple-1.302164
2019-08-08T10:58:59,61725,Params-Check-0.38| Failed to install distribution
2019-08-08T10:58:59,61725,Module-Metadata-1.000036| Detected circular dependencies Module-Metadata-1.000036 -> PathTools-3.75 -> Test-Simple-1.302164 -> PathTools-3.75
2019-08-08T10:58:59,61725,Module-Metadata-1.000036| Failed to install distribution
2019-08-08T10:58:59,61725,Test-Simple-1.302164| Detected circular dependencies Test-Simple-1.302164 -> PathTools-3.75 -> Test-Simple-1.302164
2019-08-08T10:58:59,61725,Test-Simple-1.302164| Failed to install distribution
2019-08-08T10:58:59,61725,ExtUtils-ParseXS-3.35| Detected circular dependencies ExtUtils-ParseXS-3.35 -> PathTools-3.75 -> Test-Simple-1.302164 -> PathTools-3.75
2019-08-08T10:58:59,61725,ExtUtils-ParseXS-3.35| Failed to install distribution
2019-08-08T10:58:59,61725,PathTools-3.75| Detected circular dependencies PathTools-3.75 -> Test-Simple-1.302164 -> PathTools-3.75
2019-08-08T10:58:59,61725,PathTools-3.75| Failed to install distribution

@skaji
Copy link
Author

skaji commented Aug 8, 2019

commit b68cd14bc5d46fe8e2d7ee77df18e18d71a74105
Author: Shoichi Kaji <skaji@cpan.org>
Date:   Sun Jul 16 22:14:06 2017 +0900

    adjust how to check modules are installed or not

diff --git a/lib/App/cpm/Master.pm b/lib/App/cpm/Master.pm
index 92e040b..352f052 100644
--- a/lib/App/cpm/Master.pm
+++ b/lib/App/cpm/Master.pm
@@ -316,14 +316,15 @@ sub is_satisfied {
             next;
         }
         next if $self->{target_perl} and $self->is_core($package, $version_range);
-        next if $self->is_installed($package, $version_range);
-        my ($resolved) = grep { $_->providing($package, $version_range) } @distributions;
-        next if $resolved && $resolved->installed;

-        $is_satisfied = 0 if defined $is_satisfied;
-        if (!$resolved) {
+        my ($resolved) = grep { $_->providing($package, $version_range) } @distributions;
+        if ($resolved) {
+            next if $resolved->installed;
+        } else {
+            next if $self->is_installed($package, $version_range);
             push @need_resolve, $req;
         }
+        $is_satisfied = 0 if defined $is_satisfied;
     }
     return ($is_satisfied, @need_resolve);
 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment