Subject: | Build failed on missing dependency |
I tried to install Catalyst::Devel from CPAN, and got it to fail tests with:
# *** Module::AutoInstall configuration finished.
# 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 Makefile for TestApp
# STDERR:
# Can't locate YAML/Tiny.pm in @INC (@INC contains: inc
/root/.cpan/build/Catalyst-Devel-1.26-GKou6G/inc
/root/.cpan/build/Catalyst-Devel-1.26-GKou6G/blib/lib
/root/.cpan/build/Catalyst-Devel-1.26-GKou6G/blib/arch
/usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1
/usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl
/usr/share/perl5/core_perl /usr/lib/perl5/current
/usr/lib/perl5/site_perl/current .) at
/usr/share/perl5/site_perl/5.10.1/Module/Install/Admin/Metadata.pm line
4.
# BEGIN failed--compilation aborted at
/usr/share/perl5/site_perl/5.10.1/Module/Install/Admin/Metadata.pm line
4.
# Compilation failed in require at inc/Module/Install.pm line 283.
# Cannot determine perl version info from lib/TestApp.pm
# Cannot find an extension with method 'write_meta' at
/usr/share/perl5/site_perl/5.10.1/Module/Install/Admin.pm line 186.
t/generated_app.t ................. 46/? # Looks like you failed 1 test
of 55.
t/generated_app.t ................. Dubious, test returned 1 (wstat 256,
0x100)
Failed 1/55 subtests
t/get_sharedir_file.t ............. ok
t/optional_http-server-restart.t .. skipped: set TEST_HTTP to enable
this test
t/render_file_contents.t .......... ok
t/render_share_dir_file.t ......... ok
Test Summary Report
-------------------
t/generated_app.t (Wstat: 256 Tests: 55 Failed: 1)
Failed test: 44
Non-zero exit status: 1
Files=9, Tests=69, 8 wallclock secs ( 0.05 usr 0.00 sys + 6.94 cusr
0.29 csys = 7.28 CPU)
Result: FAIL
Failed 1/9 test programs. 1/69 subtests failed.
make: *** [test_dynamic] Error 255
Installed YAML::Tiny, and everything worked fine, so I guess it's just
missing dependency information.