Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-RPM CPAN distribution.

Report information
The Basics
Id: 105307
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-RPM

People
Owner: Nobody in particular
Requestors: VDB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.008
Fixed in: (no value)



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).
Le Mer 17 Juin 2015 15:51:58, VDB a écrit : Show quoted text
> $ 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).
Okay, i added the DZT-Sample-0.001.tar.gz file as a temporary workaround, until I find a way to generate it dynamicly. See https://github.com/SkySymbol/perl-dist-zilla-plugin-rpm/commit/504a3923e3516256794adf9be211dabc02b00268. Thank you for reporting the issue
Le Mer 17 Juin 2015 15:51:58, VDB a écrit : Show quoted text
> $ 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).
Okay, i added the DZT-Sample-0.001.tar.gz file as a temporary workaround, until I find another solution. See https://github.com/SkySymbol/perl-dist-zilla-plugin-rpm/commit/504a3923e3516256794adf9be211dabc02b00268. Thank you for reporting the issue