Running release -t against a distribution fails with this error:
Command [/usr/bin/perl5.8.8 -MTest::Prereq -eprereq_ok] didn't close
cleanly: 512 at
/usr/lib64/perl5/site_perl/5.8.8/Module/Release/Prereq.pm line 44
Complete output attached in error.txt.
Running the command /usr/bin/perl5.8.8 -MTest::Prereq -eprereq_ok
produces the same information with the addition of:
Not a CODE reference at /usr/lib64/perl5/5.8.8/File/Find.pm line 822.
Stepping through the execution of this command shows that
Module::Install v 0.87 &autoload is being called for &Test::Prereq::find
and is generating a broken call to or wrapper around &find resulting in
calls to &find being invoked against a Module::Install object instead of
a hash ref or subroutine ref as &File::Find::find requires.
Changing the calls to &find in Test::Prereq to fully-qualified calls to
&File::Find::find is a workaround.
Subject: | error.txt |
release -t
============Testing with /usr/bin/perl5.8.8
Cleaning directory... done
Recreating make file... done
Running make... done
Checking make test... all tests pass
Checking prereqs... Prototype mismatch: sub Test::Prereq::prompt ($;$) vs none at inc/Module/Install.pm line 209.
Not a CODE reference at /usr/lib64/perl5/5.8.8/File/Find.pm line 822.
# Looks like your test exited with 2 before it could output anything.
Command [/usr/bin/perl5.8.8 -MTest::Prereq -eprereq_ok] didn't close cleanly: 512 at /usr/lib64/perl5/site_perl/5.8.8/Module/Release/Prereq.pm line 44
Prereqs had a problem:
1..1
include /home/boss/src/perl/Catalyst-View-Component-jQuery/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/AutoInstall.pm
include inc/Module/Install/Include.pm
include inc/Module/AutoInstall.pm
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
*** Since we're running under CPAN, I'll just let it take care
of the dependency's installation later.
[Core Features]
- Test::More ...loaded. (0.86)
- Catalyst::View::TT ...loaded. (0.29 >= 0.29)
- Moose ...loaded. (0.79 >= 0.79)
- JavaScript::Framework::jQuery ...loaded. (0.05 >= 0.01)
- Catalyst::Plugin::ConfigLoader ...loaded. (0.23 >= 0.23)
- Catalyst::Test ...loaded. (0)
*** Module::AutoInstall configuration finished.
include inc/Module/Install/Makefile.pm
include inc/Module/Install/WriteAll.pm
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Writing META.yml
include inc/Module/Install/Catalyst.pm
at /usr/lib64/perl5/site_perl/5.8.8/Module/Release/Prereq.pm line 46