Subject: | Dist::Zilla::Plugin::RPM v0.008 fails to install with cpanm |
$ cpanm Dist::Zilla::Plugin::RPM
--> Working on Dist::Zilla::Plugin::RPM
Fetching http://www.cpan.org/authors/id/S/SK/SKYSYMBOL/Dist-Zilla-Plugin-RPM-0.008.tar.gz ... OK
Configuring Dist-Zilla-Plugin-RPM-0.008 ... OK
Building and testing Dist-Zilla-Plugin-RPM-0.008 ... FAIL
! Installing Dist::Zilla::Plugin::RPM failed. See ~/.cpanm/work/1434556069.15723/build.log for details. Retry with --force to force install it.
$ cat ~/.cpanm/work/1434556069.15723/build.log
...
t/01mkspec.t ... ok
cp: cannot stat ‘DZT-Sample-0.001.tar.gz’: No such file or directory
[RPM] cp failed at ~/.usr/lib/perl5/x86_64-linux-thread-multi/Moose/Meta/Method/Delegation.pm line 110.
t/02release.t ..
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
Test Summary Report
-------------------
t/02release.t (Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: No plan found in TAP output
Files=2, Tests=1, 2 wallclock secs ( 0.04 usr 0.01 sys + 2.11 cusr 0.13 csys = 2.29 CPU)
Result: FAIL
Failed 1/2 test programs. 0/1 subtests failed.
Makefile:869: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 1
...
t/02release.t requires DZT-Sample-0.001.tar.gz to work, but this file is not included into distribution.
DZT-Sample-0.001.tar.gz should be included into distribution OR t/02release.t should be excluded from regular tests (for example, by moving it to author or release tests).