duckduckgo / p5-app-duckpan

DuckDuckHack OpenSource Development Application
http://metacpan.org/module/App::DuckPAN
Other
53 stars 47 forks source link

Dist::Zilla::Plugin::PromptIfStale 0.27 and installdeps fails #129

Closed tommytommytommy closed 10 years ago

tommytommytommy commented 10 years ago

I just downloaded the latest VMWare image to set up a testing environment on a different machine and ran into a problem running duckpan installdeps inside both Goodie and Spice repositories. I included the build log below, but the main problem seems to be that the current version of PromptIfStale (0.27) does not complete its tests properly and stops duckpan installdeps from installing anything else. I was able to use cpanm Dist::Zilla::Plugin::PromptifStale --force to force the install of PromptIfStale and then run duckpan installdeps successfully. Oddly, when I initially tried to fix this by running duckpan installdeps --force, the failed PromptIfStale module just caused the install script to immediately quit.

Here's the build log from my failed attempt before manually forcing the install of PromptIfStale:

cpanm (App::cpanminus) 1.6937 on perl 5.016003 built for x86_64-linux
Work directory is /home/dax/.cpanm/work/1413002470.7956
You have make /usr/bin/make
You have LWP 6.05
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
Searching Dist::Zilla::Plugin::PromptIfStale on cpanmetadb ...
--> Working on Dist::Zilla::Plugin::PromptIfStale
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Dist-Zilla-Plugin-PromptIfStale-0.027.tar.gz
-> OK
Unpacking Dist-Zilla-Plugin-PromptIfStale-0.027.tar.gz
Entering Dist-Zilla-Plugin-PromptIfStale-0.027
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.72)
Configuring Dist-Zilla-Plugin-PromptIfStale-0.027
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Dist::Zilla::Plugin::PromptIfStale
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have if 0 ... Yes (0.0602)
Checking if you have List::Util 1.33 ... Yes (1.41)
Checking if you have HTTP::Tiny 0 ... Yes (0.034)
Checking if you have List::MoreUtils 0 ... Yes (0.33)
Checking if you have Dist::Zilla::Plugin::MetaResources 4.300039 ... Yes (5.020)
Checking if you have Test::Deep 0 ... Yes (0.110)
Checking if you have JSON::MaybeXS 0 ... Yes (1.002003)
Checking if you have Try::Tiny 0 ... Yes (0.18)
Checking if you have warnings 0 ... Yes (1.13)
Checking if you have Dist::Zilla::App 0 ... Yes (5.020)
Checking if you have File::pushd 0 ... Yes (1.005)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.72)
Checking if you have Dist::Zilla::Role::BeforeBuild 0 ... Yes (5.020)
Checking if you have strict 0 ... Yes (1.07)
Checking if you have Moose::Util 0 ... Yes (2.1005)
Checking if you have Test::More 0 ... Yes (1.001006)
Checking if you have Test::DZil 0 ... Yes (5.020)
Checking if you have Dist::Zilla::Role::BeforeRelease 0 ... Yes (5.020)
Checking if you have Path::Class 0 ... Yes (0.32)
Checking if you have Module::CoreList 3.10 ... Yes (5.20141002)
Checking if you have Module::Metadata 0 ... Yes (1.000014)
Checking if you have MooseX::Types::Moose 0 ... Yes (0.36)
Checking if you have File::Spec 0 ... Yes (3.40)
Checking if you have Test::Fatal 0 ... Yes (0.010)
Checking if you have Module::Path 0 ... Yes (0.09)
Checking if you have Moose::Util::TypeConstraints 0 ... Yes (2.1005)
Checking if you have Module::Runtime 0 ... Yes (0.013)
Checking if you have Dist::Zilla::Role::AfterBuild 0 ... Yes (5.020)
Checking if you have lib 0 ... Yes (0.63)
Checking if you have Parse::CPAN::Packages::Fast 0 ... Yes (0.06)
Checking if you have Moose 0 ... Yes (2.1005)
Checking if you have Path::Tiny 0 ... Yes (0.029)
Checking if you have namespace::autoclean 0 ... Yes (0.13)
Checking if you have version 0 ... Yes (0.99)
Checking if you have Dist::Zilla::App::Tester 0 ... Yes (5.020)
Checking if you have IO::Pty 0 ... Yes (1.10)
Checking if you have Cwd 0 ... Yes (3.40)
Checking if you have Dist::Zilla::Util::AuthorDeps 0 ... Yes (5.020)
Building and testing Dist-Zilla-Plugin-PromptIfStale-0.027
cp lib/Dist/Zilla/Plugin/PromptIfStale.pm blib/lib/Dist/Zilla/Plugin/PromptIfStale.pm
cp lib/Dist/Zilla/App/Command/stale.pm blib/lib/Dist/Zilla/App/Command/stale.pm
cp lib/Dist/Zilla/Plugin/EnsureNotStale.pm blib/lib/Dist/Zilla/Plugin/EnsureNotStale.pm
Manifying blib/man3/Dist::Zilla::Plugin::PromptIfStale.3
Manifying blib/man3/Dist::Zilla::App::Command::stale.3
Manifying blib/man3/Dist::Zilla::Plugin::EnsureNotStale.3
PERL_DL_NONLAZY=1 /home/dax/perl5/perlbrew/perls/perl-5.16.3/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# 
# Versions for all modules listed in MYMETA.json (including optional ones):
# 
# === Configure Requires ===
# 
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 6.72
# 
# === Build Requires ===
# 
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 6.72
# 
# === Test Requires ===
# 
#     Module                   Want     Have
#     ------------------------ ---- --------
#     Dist::Zilla::App::Tester  any    5.020
#     ExtUtils::MakeMaker       any     6.72
#     File::Spec                any     3.40
#     File::pushd               any    1.005
#     IO::Pty                   any     1.10
#     Module::Runtime           any    0.013
#     Moose::Util               any   2.1005
#     Test::DZil                any    5.020
#     Test::Deep                any    0.110
#     Test::Fatal               any    0.010
#     Test::More                any 1.001006
#     if                        any   0.0602
#     lib                       any     0.63
# 
# === Test Recommends ===
# 
#     Module         Want     Have
#     ---------- -------- --------
#     CPAN::Meta 2.120900 2.142690
# 
# === Runtime Requires ===
# 
#     Module                                 Want       Have
#     ---------------------------------- -------- ----------
#     Cwd                                     any       3.40
#     Dist::Zilla::App                        any      5.020
#     Dist::Zilla::Plugin::MetaResources 4.300039      5.020
#     Dist::Zilla::Role::AfterBuild           any      5.020
#     Dist::Zilla::Role::BeforeBuild          any      5.020
#     Dist::Zilla::Role::BeforeRelease        any      5.020
#     Dist::Zilla::Util::AuthorDeps           any      5.020
#     HTTP::Tiny                              any      0.034
#     JSON::MaybeXS                           any   1.002003
#     List::MoreUtils                         any       0.33
#     List::Util                             1.33       1.41
#     Module::CoreList                       3.10 5.20141002
#     Module::Metadata                        any   1.000014
#     Module::Path                            any       0.09
#     Moose                                   any     2.1005
#     Moose::Util::TypeConstraints            any     2.1005
#     MooseX::Types::Moose                    any       0.36
#     Parse::CPAN::Packages::Fast             any       0.06
#     Path::Class                             any       0.32
#     Path::Tiny                              any      0.029
#     Try::Tiny                               any       0.18
#     namespace::autoclean                    any       0.13
#     strict                                  any       1.07
#     version                                 any       0.99
#     warnings                                any       1.13
# 
# === Other Modules ===
# 
#     Module                Want     Have
#     --------------------- ---- --------
#     CPAN::Meta::Validator  any 2.142690
# 
t/00-report-prereqs.t ........... ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/01-basic.t .................... ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/02-not-installed.t ............ ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/03-bunk-module.t .............. ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/04-two-configs.t .............. ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49,  line 37.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49,  line 37.
t/05-check-all-prereqs.t ........ ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49,  line 10.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49,  line 10.
t/06-duplicates.t ............... ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/07-two-stale.t ................ ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/08-many-modules.t ............. ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49,  line 37.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49,  line 37.
t/10-release-prompt.t ........... ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49,  line 10.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49,  line 10.
t/11-local-module.t ............. ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/12-skip.t ..................... ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/13-fatal.t .................... ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/14-index-base-url.t ........... ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/15-command.t .................. ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/16-command-all.t .............. ok
t/17-command-missing-plugins.t .. ok
t/18-command-old-plugins.t ...... ok

#   Failed test 'dzil authordeps ran to get prereq that causes a full build to explode'
#   at t/19-build-failure.t line 50.
#          got: 'Not::Installed
# Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
# Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
# '
#     expected: 'Not::Installed
# '
# got resultbless( {
#   'app' => bless( {
#     'Dist::Zilla::App' => {
#       'zilla' => bless( {
#         '_copyright_holder' => 'E. Xavier Ample',
#         '_global_stashes' => {},
#         '_license_class' => 'Perl_5',
#         '_version_override' => '0.001',
#         'abstract' => 'Sample DZ Dist',
#         'authors' => [
#           'E. Xavier Ample '
#         ],
#         'chrome' => bless( {
#           'logger' => bless( {
#             'config_id' => 'Dist::Zilla',
#             'debug' => 0,
#             'dispatcher' => bless( {
#               'callbacks' => [
#                 sub { "DUMMY" }
#               ],
#               'outputs' => {
#                 'self' => bless( {
#                   'array' => [
#                     {
#                       'level' => 'info',
#                       'message' => 'Not::Installed',
#                       'name' => 'self'
#                     }
#                   ],
#                   'level_names' => [
#                     'debug',
#                     'info',
#                     'notice',
#                     'warning',
#                     'error',
#                     'critical',
#                     'alert',
#                     'emergency'
#                   ],
#                   'level_numbers' => {
#                     'alert' => 6,
#                     'crit' => 5,
#                     'critical' => 5,
#                     'debug' => 0,
#                     'emerg' => 7,
#                     'emergency' => 7,
#                     'err' => 4,
#                     'error' => 4,
#                     'info' => 1,
#                     'notice' => 2,
#                     'warn' => 3,
#                     'warning' => 3
#                   },
#                   'max_level' => 7,
#                   'min_level' => 0,
#                   'name' => 'self'
#                 }, 'Log::Dispatch::Array' ),
#                 'stdout' => bless( {
#                   'callbacks' => [
#                     sub { "DUMMY" }
#                   ],
#                   'level_names' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}{'chrome'}{'logger'}{'dispatcher'}{'outputs'}{'self'}{'level_names'},
#                   'level_numbers' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}{'chrome'}{'logger'}{'dispatcher'}{'outputs'}{'self'}{'level_numbers'},
#                   'max_level' => 1,
#                   'min_level' => 0,
#                   'name' => 'stdout',
#                   'stderr' => 0
#                 }, 'Log::Dispatch::Screen' )
#               }
#             }, 'Log::Dispatch' ),
#             'events' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}{'chrome'}{'logger'}{'dispatcher'}{'outputs'}{'self'}{'array'},
#             'fail_fatal' => 1,
#             'ident' => 'Dist::Zilla',
#             'muted' => 0,
#             'prefix' => undef
#           }, 'Log::Dispatchouli' ),
#           'term_enc' => 'utf-8'
#         }, 'Dist::Zilla::Chrome::Term' ),
#         'is_trial' => 0,
#         'logger' => bless( {
#           'debug' => 0,
#           'logger' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}{'chrome'}{'logger'},
#           'parent' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}{'chrome'}{'logger'},
#           'proxy_prefix' => '[DZ] '
#         }, 'Log::Dispatchouli::Proxy' ),
#         'name' => 'DZT-Sample',
#         'plugins' => [
#           bless( {
#             'exclude_filename' => [],
#             'exclude_match' => [],
#             'follow_symlinks' => 0,
#             'include_dotfiles' => 0,
#             'logger' => bless( {
#               'debug' => undef,
#               'logger' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}{'chrome'}{'logger'},
#               'parent' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}{'chrome'}{'logger'},
#               'proxy_prefix' => '[GatherDir] '
#             }, 'Log::Dispatchouli::Proxy' ),
#             'plugin_name' => 'GatherDir',
#             'prefix' => '',
#             'zilla' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}
#           }, 'Dist::Zilla::Plugin::GatherDir' ),
#           bless( {
#             'logger' => bless( {
#               'debug' => undef,
#               'logger' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}{'chrome'}{'logger'},
#               'parent' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}{'chrome'}{'logger'},
#               'proxy_prefix' => '[=inc::Funky] '
#             }, 'Log::Dispatchouli::Proxy' ),
#             'plugin_name' => '=inc::Funky',
#             'zilla' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}
#           }, 'inc::Funky' ),
#           bless( {
#             'code' => sub { "DUMMY" },
#             'plugin_name' => ':InstallModules',
#             'style' => 'grep',
#             'zilla' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}
#           }, 'Dist::Zilla::Plugin::FinderCode' ),
#           bless( {
#             'code' => sub { "DUMMY" },
#             'plugin_name' => ':IncModules',
#             'style' => 'grep',
#             'zilla' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}
#           }, 'Dist::Zilla::Plugin::FinderCode' ),
#           bless( {
#             'code' => sub { "DUMMY" },
#             'plugin_name' => ':TestFiles',
#             'style' => 'grep',
#             'zilla' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}
#           }, 'Dist::Zilla::Plugin::FinderCode' ),
#           bless( {
#             'code' => sub { "DUMMY" },
#             'plugin_name' => ':ExecFiles',
#             'style' => 'list',
#             'zilla' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}
#           }, 'Dist::Zilla::Plugin::FinderCode' ),
#           bless( {
#             'code' => sub { "DUMMY" },
#             'plugin_name' => ':ShareFiles',
#             'style' => 'list',
#             'zilla' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}
#           }, 'Dist::Zilla::Plugin::FinderCode' ),
#           bless( {
#             'code' => sub { "DUMMY" },
#             'plugin_name' => ':MainModule',
#             'style' => 'grep',
#             'zilla' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}
#           }, 'Dist::Zilla::Plugin::FinderCode' ),
#           bless( {
#             'code' => sub { "DUMMY" },
#             'plugin_name' => ':AllFiles',
#             'style' => 'grep',
#             'zilla' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}
#           }, 'Dist::Zilla::Plugin::FinderCode' ),
#           bless( {
#             'code' => sub { "DUMMY" },
#             'plugin_name' => ':NoFiles',
#             'style' => 'list',
#             'zilla' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}
#           }, 'Dist::Zilla::Plugin::FinderCode' )
#         ],
#         'prereqs' => bless( {
#           'cpan_meta_prereqs' => bless( {}, 'CPAN::Meta::Prereqs' ),
#           'merged_requires' => bless( {
#             'bad_version_hook' => undef
#           }, 'CPAN::Meta::Requirements' )
#         }, 'Dist::Zilla::Prereqs' ),
#         'root' => bless( {
#           'dirs' => [
#             '.'
#           ],
#           'file_spec_class' => undef,
#           'volume' => ''
#         }, 'Path::Class::Dir' )
#       }, 'Dist::Zilla::Dist::Builder' )
#     },
#     '__chrome__' => $VAR1->{'app'}{'Dist::Zilla::App'}{'zilla'}{'chrome'},
#     'arg0' => '19-build-failure.t',
#     'command' => {
#       '--help' => 'App::Cmd::Command::help',
#       '--version' => 'Dist::Zilla::App::Command::version',
#       '-?' => 'App::Cmd::Command::help',
#       '-h' => 'App::Cmd::Command::help',
#       'add' => 'Dist::Zilla::App::Command::add',
#       'authordeps' => 'Dist::Zilla::App::Command::authordeps',
#       'build' => 'Dist::Zilla::App::Command::build',
#       'clean' => 'Dist::Zilla::App::Command::clean',
#       'commands' => 'App::Cmd::Command::commands',
#       'help' => 'App::Cmd::Command::help',
#       'install' => 'Dist::Zilla::App::Command::install',
#       'listdeps' => 'Dist::Zilla::App::Command::listdeps',
#       'new' => 'Dist::Zilla::App::Command::new',
#       'nop' => 'Dist::Zilla::App::Command::nop',
#       'release' => 'Dist::Zilla::App::Command::release',
#       'run' => 'Dist::Zilla::App::Command::run',
#       'setup' => 'Dist::Zilla::App::Command::setup',
#       'smoke' => 'Dist::Zilla::App::Command::smoke',
#       'stale' => 'Dist::Zilla::App::Command::stale',
#       'test' => 'Dist::Zilla::App::Command::test',
#       'version' => 'Dist::Zilla::App::Command::version'
#     },
#     'full_arg0' => 't/19-build-failure.t',
#     'global_options' => bless( {}, 'Getopt::Long::Descriptive::Opts::__OPT__::1' ),
#     'usage' => bless( {
#       'leader_text' => '19-build-failure.t  [-Iv] [long options...]',
#       'options' => [
#         {
#           'constraint' => {},
#           'desc' => 'log additional output',
#           'name' => 'verbose',
#           'spec' => 'verbose|v:s@'
#         },
#         {
#           'constraint' => {
#             'callbacks' => {
#               'always fine' => sub { "DUMMY" }
#             }
#           },
#           'desc' => 'additional @INC dirs',
#           'name' => 'lib_inc',
#           'spec' => 'lib-inc|I=s@'
#         }
#       ]
#     }, 'Getopt::Long::Descriptive::Usage' )
#   }, 'Dist::Zilla::App' ),
#   'error' => undef,
#   'exit_code' => 0,
#   'output' => 'Not::Installed
# Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
# Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
# ',
#   'run_rv' => undef,
#   'stderr' => 'Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
# Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
# ',
#   'stdout' => 'Not::Installed
# ',
#   'tempdir' => '/tmp/9CMdhK9fMa'
# }, 'Dist::Zilla::App::Tester::Result' )
# Looks like you failed 1 test of 3.
t/19-build-failure.t ............ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/20-ensure-not-stale.t ......... ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/21-authordeps.t ............... ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/22-perl.t ..................... ok
Subroutine JSON::XS::Boolean::("" redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
Subroutine JSON::XS::Boolean::(eq redefined at /home/dax/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 49.
t/23-noninteractive.t ........... ok

Test Summary Report
-------------------
t/19-build-failure.t          (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=23, Tests=92, 29 wallclock secs ( 0.09 usr  0.20 sys + 25.57 cusr  2.76 csys = 28.62 CPU)
Result: FAIL
Failed 1/23 test programs. 1/92 subtests failed.
make: *** [test_dynamic] Error 255
-> FAIL Installing Dist::Zilla::Plugin::PromptIfStale failed. See /home/dax/.cpanm/work/1413002470.7956/build.log for details. Retry with --force to force install it.
moollaza commented 10 years ago

@tommytommytommy I believe the problem is related to the new handling of JSON::XS::Boolean as mention in https://metacpan.org/pod/JSON#DESCRIPTION

Installing JSON 2.9 (from 2.59) allowed the install to work for me, also installing the newest JSON::XS fixed it. For now I'm going to bump the JSON version in the dist.ini -- this should make Duckpan upgradeable.

karenetheridge commented 9 years ago

Hi there, in future when you're encountering issues with Dist::Zilla::Plugin::PromptIfStale (or any cpan module really), it would be great if you cc'd the author so they're aware of the issue, even if the culprit is something else. thanks!

moollaza commented 9 years ago

@karenetheridge apologies, I'll be sure to let you know (and any others) in the future!