Bug 433 - After MAKE, test of spamassassin -t fails
Summary: After MAKE, test of spamassassin -t fails
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamassassin (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-12 08:50 UTC by Michael Huttinger
Modified: 2002-07-24 08:38 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Huttinger 2002-06-12 08:50:11 UTC
Did a cvs update to latest build of SA.
Did:

Makefile.PL
make
<made the files>

when done, tested the results with:

./spamassassin -t < sample-nonspam.txt

and I got the following error messages:
---------------------------------------------------------------
Bareword found where operator expected at (eval 8) line 104, 
near "25FREEMEGS_URL_uri_test"
        (Missing operator before FREEMEGS_URL_uri_test?)
Bareword found where operator expected at (eval 8) line 420, 
near "25FREEMEGS_URL_uri_test"
        (Missing operator before FREEMEGS_URL_uri_test?)
Failed to compile URI SpamAssassin tests, skipping:
        (syntax error at (eval 8) line 104, near "25FREEMEGS_URL_uri_test "
Can't use global $_ in "my" at (eval 8) line 106, near ";
       $_ "
syntax error at (eval 8) line 420, near "25FREEMEGS_URL_uri_test"
syntax error at (eval 8) line 543, near ";
}"
)
Failed to run DATE_IN_FUTURE SpamAssassin test, skipping:
        (Can't locate object method "check_for_forward_date" via 
package "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to 
load "Mail::SpamAssassin::PerMsgStatus"?) at 
lib/Mail/SpamAssassin/PerMsgStatus.pm line 1701.
)
Failed to run DIFFERENT_REPLY_TO SpamAssassin test, skipping:
        (Can't locate object method "check_for_spam_reply_to" via 
package "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to 
load "Mail::SpamAssassin::PerMsgStatus"?) at 
lib/Mail/SpamAssassin/PerMsgStatus.pm line 1701.
)
-----------------------------------------------------------

running with:
./spamassassin -tD < sample-nonspam.txt
--------------------------------------------------------------------
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/root/.spamassassin" for user state dir
debug: using "/root/.spamassassin/user_prefs" for user prefs file
debug: Failed to parse line in SpamAssassin configuration, skipping: 
auto_report_threshold   30
debug: is Net::DNS::Resolver unavailable? 0
debug: looking up MX for 'microsoft.com.'
debug: MX for 'microsoft.com.' exists? 1
debug: is DNS available? 1
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=0
debug: running uri tests; score so far=-0.7
debug: uri tests: Done uriRE
Bareword found where operator expected at (eval 8) line 104, 
near "25FREEMEGS_URL_uri_test"
        (Missing operator before FREEMEGS_URL_uri_test?)
Bareword found where operator expected at (eval 8) line 420, 
near "25FREEMEGS_URL_uri_test"
        (Missing operator before FREEMEGS_URL_uri_test?)
Failed to compile URI SpamAssassin tests, skipping:
        (syntax error at (eval 8) line 104, near "25FREEMEGS_URL_uri_test "
Can't use global $_ in "my" at (eval 8) line 106, near ";
       $_ "
syntax error at (eval 8) line 420, near "25FREEMEGS_URL_uri_test"
syntax error at (eval 8) line 543, near ";
}"
)
debug: running raw-body-text per-line regexp tests; score so far=-0.7
debug: running full-text regexp tests; score so far=-2.8
debug: Razor is not available
Failed to run DATE_IN_FUTURE SpamAssassin test, skipping:
        (Can't locate object method "check_for_forward_date" via 
package "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to 
load "Mail::SpamAssassin::PerMsgStatus"?) at 
lib/Mail/SpamAssassin/PerMsgStatus.pm line 1701.
)
debug: DNS MX records found: 4
Failed to run DIFFERENT_REPLY_TO SpamAssassin test, skipping:
        (Can't locate object method "check_for_spam_reply_to" via 
package "Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to 
load "Mail::SpamAssassin::PerMsgStatus"?) at 
lib/Mail/SpamAssassin/PerMsgStatus.pm line 1701.
)
debug: Ran run_rbl_eval_test rule RCVD_IN_BL_SPAMCOP_NET but did not get hit
debug: Ran run_rbl_eval_test rule RCVD_IN_ORBS but did not get hit
debug: Ran run_rbl_eval_test rule RCVD_IN_OSIRUSOFT_COM but did not get hit
debug: Ran run_rbl_eval_test rule RCVD_IN_RELAYS_ORDB_ORG but did not get hit
debug: Ran run_rbl_eval_test rule RCVD_IN_RFCI but did not get hit
debug: Ran run_rbl_eval_test rule RCVD_IN_VISI but did not get hit
debug: AWL active, pre-score: -2.8, mean: undef
debug: Post AWL score: -2.8
debug: is spam? score=-2.8 required=5
-------------------------------------------------------------

I deleted the Makefile, and re-ran the perl Makefile.PL and make, still same 
error.  On a whim, I deleted the folder and re-loaded the CVS, still the same 
error.
Comment 1 Michael Huttinger 2002-06-12 08:52:19 UTC
I have a currently running CVS (from about April 16 2002) on the system 
currently.  I just haven't updated in a while and was wanting to get fresh ;)
Comment 2 Justin Mason 2002-07-24 16:38:47 UTC
this is a mismatch betewen the instaflled version and the CVS.
remove the installed files and it should work fine...