> Hello Jari, > > I am trying to install SpamAssassin on my FreeBSD > machine, and get the same error messages. Have you found > any solution? > > Any information will be very helpful. > > Thanks! > Job
That was a problem in 3.2.2, and the problem was that you could not run tests as root. Either get 3.2.3 or compile and test SA as non root user. jarif > > > > > Jari Fredriksson wrote: >> >> >> I already had a working cpan-compiled 3.2.2 in two of my >> machines. >> >> Then I lost hard drive from the another, and installed a >> fresh Debian Etch on a new disk. >> >> Tests fail now. >> >> It says: >> >> Failed Test Stat Wstat Total Fail List of Failed >> ------------------------------------------------------------------------------- >> t/spamc_optC.t 9 4 2 4 6 8 >> t/spamc_optL.t 16 16 1-16 >> >> >> Is this some known issue or do I need something for my >> Debian? >> >> Details from the tests: >> >> t/spamc_optC.................... Not found: >> reported spam = Message successfully reported/revoked >> # Failed test 2 in t/SATest.pm at line 662 >> Output can be examined in: log/d.spamc_optC/out.1 >> t/spamc_optC....................NOK 2/9 Not found: >> revoked ham = Message successfully reported/revoked >> # Failed test 4 in t/SATest.pm at line 662 fail #2 >> Output can be examined in: log/d.spamc_optC/out.1 >> log/d.spamc_optC/out.3 >> t/spamc_optC....................NOK 4/9 Not found: >> failed to report spam = Unable to report/revoke message >> # Failed test 6 in t/SATest.pm at line 662 fail #3 >> Output can be examined in: log/d.spamc_optC/out.1 >> log/d.spamc_optC/out.3 log/d.spamc_optC/out.5 >> t/spamc_optC....................NOK 6/9 Not found: >> failed to revoke ham = Unable to report/revoke message >> # Failed test 8 in t/SATest.pm at line 662 fail #4 >> Output can be examined in: log/d.spamc_optC/out.1 >> log/d.spamc_optC/out.3 log/d.spamc_optC/out.5 >> log/d.spamc_optC/out.7 >> t/spamc_optC....................FAILED tests 2, >> 4, 6, 8 Failed 4/9 tests, 55.56% okay >> t/spamc_optL....................# Failed test 1 in >> t/spamc_optL.t at line 20 >> Not found: learned spam = Message successfully >> un/learned # Failed test 2 in t/SATest.pm at line 662 >> Output can be examined in: >> t/spamc_optL....................NOK 2/16# Failed test 3 >> in t/spamc_optL.t at line 24 >> Not found: already learned spam = Message was >> already un/learned # Failed test 4 in t/SATest.pm at >> line 662 fail #2 >> Output can be examined in: >> t/spamc_optL....................NOK 4/16ERROR: Bayes >> dump returned an error, please re-run with -D for more >> information # Failed test 5 in t/spamc_optL.t at line 28 >> Not found: spam in database = 1 0 non-token >> data: nspam # Failed test 6 in t/SATest.pm at line 662 >> fail #3 >> Output can be examined in: >> t/spamc_optL....................NOK 6/16# Failed test 7 >> in t/spamc_optL.t at line 32 >> Not found: forget spam = Message successfully >> un/learned # Failed test 8 in t/SATest.pm at line 662 >> fail #4 >> Output can be examined in: >> t/spamc_optL....................NOK 8/16# Failed test 9 >> in t/spamc_optL.t at line 36 >> Not found: learned ham = Message successfully >> un/learned # Failed test 10 in t/SATest.pm at line 662 >> fail #5 >> Output can be examined in: >> t/spamc_optL....................NOK 10/16# Failed test >> 11 in t/spamc_optL.t at line 40 >> Not found: already learned ham = Message was >> already un/learned # Failed test 12 in t/SATest.pm at >> line 662 fail #6 >> Output can be examined in: >> t/spamc_optL....................NOK 12/16ERROR: Bayes >> dump returned an error, please re-run with -D for more >> information # Failed test 13 in t/spamc_optL.t at line 44 >> Not found: ham in database = 1 0 non-token >> data: nham # Failed test 14 in t/SATest.pm at line 662 >> fail #7 >> Output can be examined in: >> t/spamc_optL....................NOK 14/16# Failed test >> 15 in t/spamc_optL.t at line 48 >> Not found: learned ham = Message successfully >> un/learned # Failed test 16 in t/SATest.pm at line 662 >> fail #8 >> Output can be examined in: >> t/spamc_optL....................FAILED tests 1-16 >> Failed 16/16 tests, 0.00% okay