You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Balzi Andrea <an...@arthis.it> on 2007/07/23 14:58:04 UTC

Upgrade problem from 3.1.7 to 3.2.1

Hi

In to my smtp-relay (debian dabsed) I've installed spamassassin from
debian-package and after upgrade it by the follow command:

/usr/bin/cpan Mail::SpamAssassin

Now when I trying to upgrade spamassassin v3.1.7 to v3.2.1 with the same
command I saw the following messages:

t/spamc_optC................    Not found: reported spam = Message
successfully reported/revoked
# Failed test 2 in t/SATest.pm at line 635
Output can be examined in: log/d.spamc_optC/out.1
t/spamc_optC................NOK 2       Not found: revoked ham = Message
successfully reported/revoked
# Failed test 4 in t/SATest.pm at line 635 fail #2
Output can be examined in: log/d.spamc_optC/out.1 log/d.spamc_optC/out.3
t/spamc_optC................NOK 4       Not found: failed to report spam
= Unable to report/revoke message
# Failed test 6 in t/SATest.pm at line 635 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       Not found: failed to revoke ham
= Unable to report/revoke message
# Failed test 8 in t/SATest.pm at line 635 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 635
Output can be examined in:
t/spamc_optL................NOK 2# 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 635 fail #2
t/spamc_optL................NOK 3Output can be examined in:
t/spamc_optL................NOK 4ERROR: 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
t/spamc_optL................NOK 5# Failed test 6 in t/SATest.pm at line
635 fail #3
Output can be examined in:
t/spamc_optL................NOK 6# 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 635 fail #4
Output can be examined in:
t/spamc_optL................NOK 8# 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 635 fail #5
t/spamc_optL................NOK 9Output can be examined in:
t/spamc_optL................NOK 10# 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 635 fail #6
Output can be examined in:
t/spamc_optL................NOK 12ERROR: 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 635 fail #7
Output can be examined in:
t/spamc_optL................NOK 14# 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 635 fail #8
Output can be examined in:
t/spamc_optL................FAILED tests 1-16
        Failed 16/16 tests, 0.00% okay
t/spamd_allow_user_rules....ok 3/5      Not found: myfoo =  1.0 MYFOO
# Failed test 4 in t/SATest.pm at line 635
Output can be examined in: log/d.spamd_allow_user_rules/out.2
log/d.spamd_allow_user_rules/spamd.err.1
t/spamd_allow_user_rules....FAILED test 4
        Failed 1/5 tests, 80.00% okay

At the follow error I've stop all.
Which is it the problem? Lack some library? Can You suggest how can
solve it?

Andrea Balzi

Re: Upgrade problem from 3.1.7 to 3.2.1

Posted by Daniel J McDonald <da...@austinenergy.com>.
On Mon, 2007-07-23 at 14:58 +0200, Balzi Andrea wrote:
> Hi
> 
> In to my smtp-relay (debian dabsed) I've installed spamassassin from
> debian-package and after upgrade it by the follow command:
> 
> /usr/bin/cpan Mail::SpamAssassin
> 
> Now when I trying to upgrade spamassassin v3.1.7 to v3.2.1 with the same
> command I saw the following messages:
> 
> t/spamc_optC................    Not found: reported spam = Message

Bug 5510
> 
> At the follow error I've stop all.
> Which is it the problem? Lack some library? Can You suggest how can
> solve it?

Don't compile it as root.

-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
Austin Energy
http://www.austinenergy.com

Re: Upgrade problem from 3.1.7 to 3.2.1

Posted by Matt Kettler <mk...@verizon.net>.
Balzi Andrea wrote:
> Hi
>
> In to my smtp-relay (debian dabsed) I've installed spamassassin from
> debian-package and after upgrade it by the follow command:
>
> /usr/bin/cpan Mail::SpamAssassin
>
> Now when I trying to upgrade spamassassin v3.1.7 to v3.2.1 with the same
> command I saw the following messages:
<snip>

> At the follow error I've stop all.
> Which is it the problem? Lack some library? Can You suggest how can
> solve it?
>   

Known bug in SA 3.2.1 and 3.1.8. Due to a bug in the test scripts, it
will always fail if make test is run as root.

There's a trick to get CPAN to do a make-test as non-root (which I
forget what is)..

The other alternatives would be:
     use a source-tarball and manually build/test it as a non-root user
then su to root for the make install stage
    tell CPAN to force install
    wait for 3.2.2 to be released, which fixes this issue.