Skip Menu |
 

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

Report information
The Basics
Id: 41029
Status: resolved
Priority: 0/
Queue: Nagios-Plugin

People
Owner: TONVOON [...] cpan.org
Requestors: riccardo.murri [...] cscs.ch
Cc: grid [...] cscs.ch
AdminCc:

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



CC: grid [...] cscs.ch
Subject: Cannot install Nagios::Plugin 0.27 (PERL 5.8.5 on Scientific Linux 4.7)
Hello, installation of Nagios::Plugin 0.27 fails at our site during the test phase; we get some errors like this one:: # ------------------------------------ # got: '@657.8210567' # expected: '@657.8210567' t/Nagios-Plugin-Range.............ok 140/151 t/Nagios-Plugin-Range.............NOK 141# Failed test 'Stringification to simplified version' # at t/Nagios-Plugin-Range.t line 225. # An error occurred while using eq: # ------------------------------------ # Operation `eq': no method found, # left argument in overloaded package Nagios::Plugin::Range, # right argument has no overloaded magic at cmp_ok [from t/Nagios-Plugin-Range.t line 225] line 1. # # ------------------------------------ Please see the full log of the failed CPAN install in the attached file. The hosts are running Scientific Linux 4.7 (basically, the same thing as CentOS4.7) and the stock PERL 5.8.5 that came with the OS. Any hint how to fix this? Thank you very much in advance. Best regards, Riccardo Murri
Subject: nagios-plugin.txt
Download nagios-plugin.txt
text/plain 20.9k

Message body is not shown because it is too large.

Download (untitled) / with headers
text/plain 277b
Hi Riccardo, I think this is probably a problem introduced by Test::More with their cmp_ok routine. I've updated the test scripts to use is() instead of cmp_ok(). Can you try a make test with the attached tarball. If it works for you, then I'll push an update on CPAN. Ton
Download Nagios-Plugin-0.27.tar.gz
application/x-gzip 40.6k

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 246b
Riccardo, I've managed to recreate this now, and it is has happened since Test::Simple was upgraded to 0.86. See http://nagiosplugins.org/node/98 for more details. Nagios::Plugins has been updated to 0.86 and is being indexed by CPAN now. Ton
Closing.


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.