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)
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Charset: utf8
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1227021969-5580-140"
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain
Content-Transfer-Encoding: binary
Content-Length: 1049
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
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1227021969-5580-139"
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: text/plain; charset="utf-8"; name="nagios-plugin.txt"
Content-Disposition: inline; filename="nagios-plugin.txt"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: ascii
Content-Length: 21423
Download nagios-plugin.txt
text/plain 20.9k

Message body is not shown because it is too large.

MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Charset: utf8
Message-Id: <rt-3.6.HEAD-3816-1227226602-1293.41029-0-0 [...] rt.cpan.org>
Content-Type: multipart/mixed; boundary="----------=_1227226602-3816-3"
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 277
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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Type: multipart/mixed; boundary="----------=_1227226602-3816-2"
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: application/x-gzip; name="Nagios-Plugin-0.27.tar.gz"
Content-Disposition: inline; filename="Nagios-Plugin-0.27.tar.gz"
Content-Transfer-Encoding: base64
Content-Length: 41601
Download Nagios-Plugin-0.27.tar.gz
application/x-gzip 40.6k

Message body not shown because it is not plain text.

MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-3816-1227232390-918.41029-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 246
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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-3816-1227232413-84.41029-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 8
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.