Thread: Lint test error
View Single Post
  #1  
Old 27th May 2008, 23:21
raulb raulb is offline
Junior Member
 
Join Date: May 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Lint test error

Hi all

I have been noticing weird errors while watching my maillog, im running centos 5, and when I did a lint test on spamassassin I got this

Code:
# spamassassin --lint
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/Scalar/Util.pm line 30.
[21296] warn: plugin: failed to parse plugin (from @INC): Bareword "Mail::SpamAssassin::Constants::CHARSETS_LIKELY_TO_FP_AS_CAPS" not allowed while "strict subs" in use at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/HeaderEval.pm line 967.
[21296] warn: Compilation failed in require at (eval 88) line 1.
[21296] warn: plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::HeaderEval: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::HeaderEval" at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/HeaderEval.pm line 39.
[21296] warn: plugin: failed to parse plugin (from @INC): "CHARSETS_LIKELY_TO_FP_AS_CAPS" is not exported by the Mail::SpamAssassin::Constants module
[21296] warn: Can't continue after import errors at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22
[21296] warn: BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22.
[21296] warn: Compilation failed in require at (eval 90) line 1.
[21296] warn: plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::MIMEEval: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::MIMEEval" at (eval 91) line 1.
[21296] warn: config: configuration file "/usr/share/spamassassin/20_dynrdns.cf" requires version 3.002003 of SpamAssassin, but this is code version 3.001009. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 345.
[21296] warn: config: configuration file "/usr/share/spamassassin/72_active.cf" requires version 3.002003 of SpamAssassin, but this is code version 3.001009. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Conf/Parser.pm line 345.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Number found where operator expected at (eval 426) line 10, near "}
[21296] warn:
[21296] warn:  1"
[21296] warn:  (Missing operator before
[21296] warn:
[21296] warn:  1?)
[21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 426) line 6, at EOF
[21296] warn: Global symbol "$plugin" requires explicit package name at (eval 426) line 7.
[21296] warn: syntax error at (eval 426) line 11, near ";
[21296] warn: }"
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Number found where operator expected at (eval 427) line 10, near "}
[21296] warn:
[21296] warn:  1"
[21296] warn:  (Missing operator before
[21296] warn:
[21296] warn:  1?)
[21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 427) line 6, at EOF
[21296] warn: Global symbol "$plugin" requires explicit package name at (eval 427) line 7.
[21296] warn: syntax error at (eval 427) line 11, near ";
[21296] warn: }"
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Number found where operator expected at (eval 428) line 10, near "}
[21296] warn:
[21296] warn:  1"
[21296] warn:  (Missing operator before
[21296] warn:
[21296] warn:  1?)
[21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 428) line 6, at EOF
[21296] warn: Global symbol "$plugin" requires explicit package name at (eval 428) line 7.
[21296] warn: syntax error at (eval 428) line 11, near ";
[21296] warn: }"
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Number found where operator expected at (eval 429) line 10, near "}
[21296] warn:
[21296] warn:  1"
[21296] warn:  (Missing operator before
[21296] warn:
[21296] warn:  1?)
[21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 429) line 6, at EOF
[21296] warn: Global symbol "$plugin" requires explicit package name at (eval 429) line 7.
[21296] warn: syntax error at (eval 429) line 11, near ";
[21296] warn: }"
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Number found where operator expected at (eval 430) line 10, near "}
[21296] warn:
[21296] warn:  1"
[21296] warn:  (Missing operator before
[21296] warn:
[21296] warn:  1?)
[21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 430) line 6, at EOF
[21296] warn: Global symbol "$plugin" requires explicit package name at (eval 430) line 7.
[21296] warn: syntax error at (eval 430) line 11, near ";
[21296] warn: }"
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Number found where operator expected at (eval 431) line 10, near "}
[21296] warn:
[21296] warn:  1"
[21296] warn:  (Missing operator before
[21296] warn:
[21296] warn:  1?)
[21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 431) line 6, at EOF
[21296] warn: Global symbol "$plugin" requires explicit package name at (eval 431) line 7.
[21296] warn: syntax error at (eval 431) line 11, near ";
[21296] warn: }"
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Number found where operator expected at (eval 432) line 10, near "}
[21296] warn:
[21296] warn:  1"
[21296] warn:  (Missing operator before
[21296] warn:
[21296] warn:  1?)
[21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 432) line 6, at EOF
[21296] warn: Global symbol "$plugin" requires explicit package name at (eval 432) line 7.
[21296] warn: syntax error at (eval 432) line 11, near ";
[21296] warn: }"
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[21296] warn: Number found where operator expected at (eval 433) line 10, near "}
[21296] warn:
[21296] warn:  1"
[21296] warn:  (Missing operator before
[21296] warn:
[21296] warn:  1?)
[21296] warn: rules: failed to run header tests, skipping some: syntax error at (eval 433) line 6, at EOF
[21296] warn: Global symbol "$plugin" requires explicit package name at (eval 433) line 7.
[21296] warn: syntax error at (eval 433) line 11, near ";
[21296] warn: }"
[21296] warn: lint: 10 issues detected, please rerun with debug enabled for more information
any clues as to what may be causing this?

Thanks!
Reply With Quote
Sponsored Links