You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Joerg Reisslein <j....@schmitt-aufzuege.de> on 2007/06/21 10:33:02 UTC

SA Upgrade from 3.1.8 -> 3.2.1 via CPAN fails

Hi List.

 

I’d like to upgrade our running SA to the latest version 3.2.1, using cpan
Mail::SpamAssassin.

 

Install fails, see the output below:

 

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/9     Not found: revoked ham = Message
successfully reported/revoked

t/spamc_optC................NOK 4/9# 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

        Not found: failed to report spam = Unable to report/revoke message

t/spamc_optC................NOK 6/9# 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

        Not found: failed to revoke ham = Unable to report/revoke message

t/spamc_optC................NOK 8/9# 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/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 635 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 635 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 635 fail #4

t/spamc_optL................NOK 7/16Output 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 635 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 635 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 635 fail #7

Output can be examined in:

t/spamc_optL................NOK 14/16# Failed test 15 in t/spamc_optL.t at
line 48

t/spamc_optL................NOK 15/16   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

 

 

 

It also hangs for minutes on test

t/spamd_allow_user_rules....ok 1/5

 

 

Any ideas what is going wrong?

 

Regards

Joerg

 

 


Re: SA Upgrade from 3.1.8 -> 3.2.1 via CPAN fails

Posted by Matt Kettler <mk...@verizon.net>.
Theo Van Dinter wrote:
> On Fri, Jun 22, 2007 at 09:02:23PM +0100, Anthony Edwards wrote:
>   
>>> http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5510
>>>       
>> This should have been fixed though if you read the bug history, shown
>> now as Status: RESOLVED, Resolution: FIXED.
>>     
>
> That means that the patch has been committed to SVN.
>   

And more obviously, one can look at the "Target Milestone" which is set
to 3.2.2..



Re: SA Upgrade from 3.1.8 -> 3.2.1 via CPAN fails

Posted by Theo Van Dinter <fe...@apache.org>.
On Fri, Jun 22, 2007 at 09:02:23PM +0100, Anthony Edwards wrote:
> > http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5510
> 
> This should have been fixed though if you read the bug history, shown
> now as Status: RESOLVED, Resolution: FIXED.

That means that the patch has been committed to SVN.

> However, a CPAN installation attempted a few moments ago failed as
> per the original bug report.
>
> Presumably, Justin's committed patch of 18 Jun 2007 hasn't yet made
> its way to the CPAN servers?

Of course not, there hasn't been a new release which includes the fix yet.
Just because something is committed in SVN doesn't mean it's available
from anywhere but SVN.

-- 
Randomly Selected Tagline:
"Politics is supposed to be the second oldest profession. I have come
 to understand that it bears a very close resemblance to the first."
                 - Ronald Reagan

Re: SA Upgrade from 3.1.8 -> 3.2.1 via CPAN fails

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Anthony Edwards wrote:
> On Thu, Jun 21, 2007 at 04:45:56AM -0400, Matt Kettler wrote:
> 
>> This looks to be a known bug in 3.2.1, make test fails when run as root,
>> which inherently breaks all CPAN installs.
>>
>> http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5510
> 
> This should have been fixed though if you read the bug history, shown
> now as Status: RESOLVED, Resolution: FIXED.
> 
> However, a CPAN installation attempted a few moments ago failed as
> per the original bug report.
> 
> Presumably, Justin's committed patch of 18 Jun 2007 hasn't yet made
> its way to the CPAN servers?

There have been no releases since the week of June 11th.

Daryl

Re: SA Upgrade from 3.1.8 -> 3.2.1 via CPAN fails

Posted by Anthony Edwards <an...@uk.easynet.net>.
On Thu, Jun 21, 2007 at 04:45:56AM -0400, Matt Kettler wrote:

> This looks to be a known bug in 3.2.1, make test fails when run as root,
> which inherently breaks all CPAN installs.
> 
> http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5510

This should have been fixed though if you read the bug history, shown
now as Status: RESOLVED, Resolution: FIXED.

However, a CPAN installation attempted a few moments ago failed as
per the original bug report.

Presumably, Justin's committed patch of 18 Jun 2007 hasn't yet made
its way to the CPAN servers?

-- 
Anthony Edwards
anthony.edwards@uk.easynet.net

AW: SA Upgrade from 3.1.8 -> 3.2.1 via CPAN fails

Posted by Joerg Reisslein <j....@schmitt-aufzuege.de>.
> This looks to be a known bug in 3.2.1, make test fails when run as root,
> which inherently breaks all CPAN installs.
> 
> http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5510
> 
> As a workaround, you can either:
> 
> 1) download the tarball, and do your build and make test as a non-root
> user, then su to do the final make install as root.
> 
> 2) do a force install in cpan (less desirable, as it overlooks any other
> possible problems, but easier)
> 
> 
> 


Thanks, it worked!

Regards,
Joerg


Re: SA Upgrade from 3.1.8 -> 3.2.1 via CPAN fails

Posted by Matt Kettler <mk...@verizon.net>.
Joerg Reisslein wrote:
>
> Hi List.
>
>  
>
> I’d like to upgrade our running SA to the latest version 3.2.1, using
> cpan Mail::SpamAssassin.
>
>  
>
> Install fails, see the output below:
>
>
<snip>
>
>  
>
>  
>
> Any ideas what is going wrong?
>
This looks to be a known bug in 3.2.1, make test fails when run as root,
which inherently breaks all CPAN installs.

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5510

As a workaround, you can either:

1) download the tarball, and do your build and make test as a non-root
user, then su to do the final make install as root.

2) do a force install in cpan (less desirable, as it overlooks any other
possible problems, but easier)