Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the SNMP-Effective CPAN distribution.

Report information
The Basics
Id: 77805
Status: resolved
Priority: 0/
Queue: SNMP-Effective

People
Owner: JHTHORSEN [...] cpan.org
Requestors: animedbz25 [...] gmail.com
Cc:
AdminCc:

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



Subject:
Date: Wed, 13 Jun 2012 16:27:50 -0400
To: bug-SNMP-Effective [...] rt.cpan.org
From: Matt W <animedbz25 [...] gmail.com>
I beleive there is an issue in the source code on line 596. There is a character "t" after a "1;" This appears to be a syntax error. Here is the cpan install log file: Thank you. Show quoted text
cpan> install SNMP::Effective
Running install for module SNMP::Effective Running make for J/JH/JHTHORSEN/SNMP-Effective-1.09.tar.gz Checksum for /root/.cpan/sources/authors/id/J/JH/JHTHORSEN/SNMP-Effective-1.09.tar.gz ok SNMP-Effective-1.09/ SNMP-Effective-1.09/META.yml SNMP-Effective-1.09/Makefile.PL SNMP-Effective-1.09/MANIFEST SNMP-Effective-1.09/README SNMP-Effective-1.09/t/ SNMP-Effective-1.09/t/10-host-hostlist.t SNMP-Effective-1.09/t/10-varlist.t SNMP-Effective-1.09/t/22-execute.t SNMP-Effective-1.09/t/21-add.t SNMP-Effective-1.09/t/15-lock.t SNMP-Effective-1.09/t/00-pod-coverage.t SNMP-Effective-1.09/t/00-pod.t SNMP-Effective-1.09/t/20-snmp-effective.t SNMP-Effective-1.09/t/00-load.t SNMP-Effective-1.09/MANIFEST.skip SNMP-Effective-1.09/inc/ SNMP-Effective-1.09/inc/Module/ SNMP-Effective-1.09/inc/Module/Install/ SNMP-Effective-1.09/inc/Module/Install/Can.pm SNMP-Effective-1.09/inc/Module/Install/Metadata.pm SNMP-Effective-1.09/inc/Module/Install/Base.pm SNMP-Effective-1.09/inc/Module/Install/Makefile.pm SNMP-Effective-1.09/inc/Module/Install/Win32.pm SNMP-Effective-1.09/inc/Module/Install/Fetch.pm SNMP-Effective-1.09/inc/Module/Install/WriteAll.pm SNMP-Effective-1.09/inc/Module/Install.pm SNMP-Effective-1.09/examples/ SNMP-Effective-1.09/examples/snmp_effective_example.pl SNMP-Effective-1.09/lib/ SNMP-Effective-1.09/lib/SNMP/ SNMP-Effective-1.09/lib/SNMP/Effective.pm SNMP-Effective-1.09/lib/SNMP/Effective/ SNMP-Effective-1.09/lib/SNMP/Effective/Host.pm SNMP-Effective-1.09/lib/SNMP/Effective/HostList.pm SNMP-Effective-1.09/lib/SNMP/Effective/Dispatch.pm SNMP-Effective-1.09/lib/SNMP/Effective/VarList.pm SNMP-Effective-1.09/Changes Removing previously used /root/.cpan/build/SNMP-Effective-1.09 CPAN.pm: Going to build J/JH/JHTHORSEN/SNMP-Effective-1.09.tar.gz Cannot determine perl version info from lib/SNMP/Effective.pm Checking if your kit is complete... Looks good Writing Makefile for SNMP::Effective Writing MYMETA.yml and MYMETA.json cp lib/SNMP/Effective/HostList.pm blib/lib/SNMP/Effective/HostList.pm cp lib/SNMP/Effective/Dispatch.pm blib/lib/SNMP/Effective/Dispatch.pm cp lib/SNMP/Effective/VarList.pm blib/lib/SNMP/Effective/VarList.pm cp lib/SNMP/Effective.pm blib/lib/SNMP/Effective.pm cp lib/SNMP/Effective/Host.pm blib/lib/SNMP/Effective/Host.pm Manifying blib/man3/SNMP::Effective::HostList.3pm Manifying blib/man3/SNMP::Effective::Dispatch.3pm Manifying blib/man3/SNMP::Effective::VarList.3pm Manifying blib/man3/SNMP::Effective::Host.3pm Manifying blib/man3/SNMP::Effective.3pm /usr/bin/make -j3 -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00-load..............Number found where operator expected at lib/SNMP/Effective.pm line 596, near "t 1" (Missing semicolon on previous line?) # Failed test 'use SNMP::Effective;' # in t/00-load.t at line 4. # Tried to use 'SNMP::Effective'. # Error: syntax error at lib/SNMP/Effective.pm line 596, near "t # # 1" # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at t/00-load.t line 4. t/00-load..............ok 2/5# Looks like you failed 1 test of 5. t/00-load..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/5 tests, 80.00% okay t/00-pod-coverage......skipped all skipped: Test::Pod::Coverage required t/00-pod...............ok t/10-host-hostlist.....ok 1/19 unexpectedly succeeded t/10-varlist...........ok t/15-lock..............Number found where operator expected at lib/SNMP/Effective.pm line 596, near "t 1" (Missing semicolon on previous line?) syntax error at lib/SNMP/Effective.pm line 596, near "t 1" Compilation failed in require at t/15-lock.t line 5. BEGIN failed--compilation aborted at t/15-lock.t line 5. # Looks like your test died before it could output anything. t/15-lock..............dubious Test returned status 255 (wstat 65280, 0xff00) t/20-snmp-effective....Number found where operator expected at lib/SNMP/Effective.pm line 596, near "t 1" (Missing semicolon on previous line?) syntax error at lib/SNMP/Effective.pm line 596, near "t 1" Compilation failed in require at t/20-snmp-effective.t line 5. BEGIN failed--compilation aborted at t/20-snmp-effective.t line 5. # Looks like your test died before it could output anything. t/20-snmp-effective....dubious Test returned status 255 (wstat 65280, 0xff00) t/21-add...............Number found where operator expected at lib/SNMP/Effective.pm line 596, near "t 1" (Missing semicolon on previous line?) syntax error at lib/SNMP/Effective.pm line 596, near "t 1" Compilation failed in require at t/21-add.t line 5. BEGIN failed--compilation aborted at t/21-add.t line 5. # Looks like your test died before it could output anything. t/21-add...............dubious Test returned status 255 (wstat 65280, 0xff00) t/22-execute...........Number found where operator expected at lib/SNMP/Effective.pm line 596, near "t 1" (Missing semicolon on previous line?) syntax error at lib/SNMP/Effective.pm line 596, near "t 1" Compilation failed in require at t/22-execute.t line 5. BEGIN failed--compilation aborted at t/22-execute.t line 5. # Looks like your test died before it could output anything. t/22-execute...........dubious Test returned status 255 (wstat 65280, 0xff00) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/00-load.t 1 256 5 1 20.00% 1 t/15-lock.t 255 65280 ?? ?? % ?? t/20-snmp-effective.t 255 65280 ?? ?? % ?? t/21-add.t 255 65280 ?? ?? % ?? t/22-execute.t 255 65280 ?? ?? % ?? (1 subtest UNEXPECTEDLY SUCCEEDED), 1 test skipped. Failed 5/9 test scripts, 44.44% okay. 1/40 subtests failed, 97.50% okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force
Fixed in 1.10. Soon available on CPAN: https://metacpan.org/module/SNMP::Effective