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

Owner: TONVOON [...]
Requestors: riccardo.murri [...]
Cc: grid [...]

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

CC: grid [...]
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 for more details. Nagios::Plugins has been updated to 0.86 and is being indexed by CPAN now. Ton

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

Please report any issues with to