Skip Menu |
 

This queue is for tickets about the Monitoring-Plugin CPAN distribution.

Report information
The Basics
Id: 100708
Status: resolved
Priority: 0/
Queue: Monitoring-Plugin

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.38



Subject: Installation Monitoring::Plugin failed - Monitoring-Plugin-Getopt-03.t test
Download (untitled) / with headers
text/plain 8.8k
Dear, I am using StrawberryPerl 5.20 and installation of Monitoring::Plugin failed. Can you help me : I am using Window 8.1, windows Seven ==================================== Show quoted text
cpan> install Monitoring::Plugin
Running install for module 'Monitoring::Plugin' Fetching with LWP: http://cpan.strawberryperl.com/authors/id/N/NI/NIERLEIN/Monitoring-Plugin-0.37.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/N/NI/NIERLEIN/CHECKSUMS Checksum for E:\Strawberry\cpan\sources\authors\id\N\NI\NIERLEIN\Monitoring-Plugin-0.37.tar.gz ok Configuring N/NI/NIERLEIN/Monitoring-Plugin-0.37.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Warning: prerequisite Config::Tiny 0 not found. Warning: prerequisite Math::Calc::Units 0 not found. Generating a dmake-style Makefile Writing Makefile for Monitoring::Plugin Writing MYMETA.yml and MYMETA.json NIERLEIN/Monitoring-Plugin-0.37.tar.gz E:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for N/NI/NIERLEIN/Monitoring-Plugin-0.37.tar.gz Show quoted text
---- Unsatisfied dependencies detected during ---- ---- NIERLEIN/Monitoring-Plugin-0.37.tar.gz ---- Config::Tiny [requires] Math::Calc::Units [requires] Running install for module 'Config::Tiny' Fetching with LWP: http://cpan.strawberryperl.com/authors/id/R/RS/RSAVAGE/Config-Tiny-2.20.tgz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/R/RS/RSAVAGE/CHECKSUMS Checksum for E:\Strawberry\cpan\sources\authors\id\R\RS\RSAVAGE\Config-Tiny-2.20.tgz ok Configuring R/RS/RSAVAGE/Config-Tiny-2.20.tgz with Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Config-Tiny' version '2.20' RSAVAGE/Config-Tiny-2.20.tgz E:\Strawberry\perl\bin\perl.exe Build.PL -- OK Running Build for R/RS/RSAVAGE/Config-Tiny-2.20.tgz Building Config-Tiny RSAVAGE/Config-Tiny-2.20.tgz E:\Strawberry\perl\bin\perl.exe ./Build -- OK Running Build test t\01.compile.t ...... ok t\02.main.t ......... ok t\03.read.string.t .. ok t\04.utf8.t ......... ok All tests successful. Files=4, Tests=43, 0 wallclock secs ( 0.02 usr + 0.03 sys = 0.05 CPU) Result: PASS RSAVAGE/Config-Tiny-2.20.tgz E:\Strawberry\perl\bin\perl.exe ./Build test -- OK Running Build install Building Config-Tiny Installing E:\Strawberry\perl\site\lib\Config\Tiny.pm RSAVAGE/Config-Tiny-2.20.tgz E:\Strawberry\perl\bin\perl.exe ./Build install --uninst 1 -- OK Running install for module 'Math::Calc::Units' Fetching with LWP: http://cpan.strawberryperl.com/authors/id/S/SF/SFINK/Math-Calc-Units-1.07.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/S/SF/SFINK/CHECKSUMS Checksum for E:\Strawberry\cpan\sources\authors\id\S\SF\SFINK\Math-Calc-Units-1.07.tar.gz ok Configuring S/SF/SFINK/Math-Calc-Units-1.07.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Math::Calc::Units Writing MYMETA.yml and MYMETA.json SFINK/Math-Calc-Units-1.07.tar.gz E:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for S/SF/SFINK/Math-Calc-Units-1.07.tar.gz cp Units/Convert/Byte.pm blib\lib\Math\Calc\Units\Convert\Byte.pm cp Units/Convert/Combo.pm blib\lib\Math\Calc\Units\Convert\Combo.pm cp Units/Convert/Base2Metric.pm blib\lib\Math\Calc\Units\Convert\Base2Metric.pm cp Units/Rank.pm blib\lib\Math\Calc\Units\Rank.pm cp Units/Convert/Base.pm blib\lib\Math\Calc\Units\Convert\Base.pm cp Units.pm blib\lib\Math\Calc\Units.pm cp Units/Grammar.y blib\lib\Math\Calc\Units\Grammar.y cp Units/Convert/Metric.pm blib\lib\Math\Calc\Units\Convert\Metric.pm cp Units/Convert/Time.pm blib\lib\Math\Calc\Units\Convert\Time.pm cp Units/Convert/Distance.pm blib\lib\Math\Calc\Units\Convert\Distance.pm cp Units/Convert.pm blib\lib\Math\Calc\Units\Convert.pm cp Units/Compute.pm blib\lib\Math\Calc\Units\Compute.pm cp Units/Grammar.pm blib\lib\Math\Calc\Units\Grammar.pm cp Units/Convert/Multi.pm blib\lib\Math\Calc\Units\Convert\Multi.pm cp Units/Convert/Date.pm blib\lib\Math\Calc\Units\Convert\Date.pm E:\Strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- script/ucalc blib\script\ucalc pl2bat.bat blib\script\ucalc SFINK/Math-Calc-Units-1.07.tar.gz E:\Strawberry\c\bin\dmake.exe -- OK Running make test E:\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\ar ch')" t/*.t t/main.t .. ok t/pod.t ... ok All tests successful. Files=2, Tests=80, 0 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU) Result: PASS SFINK/Math-Calc-Units-1.07.tar.gz E:\Strawberry\c\bin\dmake.exe test -- OK Running make install Installing E:\Strawberry\perl\site\lib\Math\Calc\Units.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Compute.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Convert.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Grammar.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Grammar.y Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Rank.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Convert\Base.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Convert\Base2Metric.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Convert\Byte.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Convert\Combo.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Convert\Date.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Convert\Distance.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Convert\Metric.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Convert\Multi.pm Installing E:\Strawberry\perl\site\lib\Math\Calc\Units\Convert\Time.pm Installing E:\Strawberry\perl\site\bin\ucalc Installing E:\Strawberry\perl\site\bin\ucalc.bat Appending installation info to E:\Strawberry\perl\lib/perllocal.pod SFINK/Math-Calc-Units-1.07.tar.gz E:\Strawberry\c\bin\dmake.exe install UNINST=1 -- OK NIERLEIN/Monitoring-Plugin-0.37.tar.gz Has already been unwrapped into directory E:\Strawberry\cpan\build\Monitoring-Plugin-0.37-QLmQKU NIERLEIN/Monitoring-Plugin-0.37.tar.gz Has already been prepared Running make for N/NI/NIERLEIN/Monitoring-Plugin-0.37.tar.gz cp lib/Monitoring/Plugin/Range.pm blib\lib\Monitoring\Plugin\Range.pm cp lib/Monitoring/Plugin/Functions.pm blib\lib\Monitoring\Plugin\Functions.pm cp lib/Monitoring/Plugin/Threshold.pm blib\lib\Monitoring\Plugin\Threshold.pm cp lib/Monitoring/Plugin/Performance.pm blib\lib\Monitoring\Plugin\Performance.pm cp lib/Monitoring/Plugin/Getopt.pm blib\lib\Monitoring\Plugin\Getopt.pm cp lib/Monitoring/Plugin/Config.pm blib\lib\Monitoring\Plugin\Config.pm cp lib/Monitoring/Plugin.pm blib\lib\Monitoring\Plugin.pm cp lib/Monitoring/Plugin/ExitResult.pm blib\lib\Monitoring\Plugin\ExitResult.pm NIERLEIN/Monitoring-Plugin-0.37.tar.gz E:\Strawberry\c\bin\dmake.exe -- OK Running make test E:\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib\lib', ' blib\arch')" t/*.t t/check_stuff.t ....................... ok t/Monitoring-Plugin-01.t .............. ok t/Monitoring-Plugin-02.t .............. ok t/Monitoring-Plugin-03.t .............. ok t/Monitoring-Plugin-04.t .............. ok t/Monitoring-Plugin-05.t .............. ok t/Monitoring-Plugin-Functions-01.t .... ok t/Monitoring-Plugin-Functions-02.t .... ok t/Monitoring-Plugin-Functions-03.t .... ok t/Monitoring-Plugin-Functions-04.t .... ok t/Monitoring-Plugin-Getopt-01.t ....... ok t/Monitoring-Plugin-Getopt-02.t ....... ok t/Monitoring-Plugin-Getopt-03.t ....... 1/? # Failed test '15_badsection_catch' # at t/Monitoring-Plugin-Getopt-03.t line 100. # got: 'Invalid section 'bad_section' in config file 't\npg03\plugins.ini'' # expected: 'Invalid section 'bad_section' in config file 't/npg03/plugins.ini'' # Looks like you failed 1 test of 18. t/Monitoring-Plugin-Getopt-03.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/18 subtests t/Monitoring-Plugin-Getopt-04.t ....... ok t/Monitoring-Plugin-Performance-02.t .. ok t/Monitoring-Plugin-Performance.t ..... ok t/Monitoring-Plugin-Range.t ........... ok t/Monitoring-Plugin-Threshold.t ....... ok Test Summary Report ------------------- t/Monitoring-Plugin-Getopt-03.t (Wstat: 256 Tests: 18 Failed: 1) Failed test: 18 Non-zero exit status: 1 Files=18, Tests=990, 4 wallclock secs ( 0.14 usr + 0.00 sys = 0.14 CPU) Result: FAIL Failed 1/18 test programs. 1/990 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' NIERLEIN/Monitoring-Plugin-0.37.tar.gz E:\Strawberry\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports NIERLEIN/Monitoring-Plugin-0.37.tar.gz Stopping: 'install' failed for 'N/NI/NIERLEIN/Monitoring-Plugin-0.37.tar.gz'. Failed during this command: NIERLEIN/Monitoring-Plugin-0.37.tar.gz : make_test NO
cpan>
============================================================ Best Regards, Djibel
No idea ?
Le Ven 19 Déc 2014 13:12:54, DJIBEL a écrit : Show quoted text
> No idea ?
Download (untitled) / with headers
text/plain 167b
For now you could install the plugin without tests. Seems like the test doesn't handle windows paths correctly. I had a short look, but there is no quick fix for this.
should be fixed now. thanks


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.