You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Péter Szekeres <sz...@gmail.com> on 2010/06/30 01:22:20 UTC

Compile error at spamc_optC.t look like an old bug "bug5510"

Hello SA list,

I try to compile SA on a Debian 5.0.5, via CPAN. (install
Mail::SpamAssassin), but it fails when running the tests. I have done
it earlier a hundred times, but now I got strange error. I have found
a similar in 2007 (bug5510) (maybe it is not the same, but for me it
looks like). Any ideas?
I run try to run it from inside a vserver,but I think, this cant be a
problem. I am using some SA installation in vservers.

I have upgraded older servers to 3.3.1, and I never meet such errors.
This installation is fresh, never seen SA before.


Thanks for the help,

Szekeres Peter

Error from CPAN:

t/spamc_optC.t .................... 1/9         Not found: reported
spam = Message successfully reported/revoked at t/spamc_optC.t line
21.
# Failed test 2 in t/SATest.pm at line 717
Output can be examined in: log/d.spamc_optC/out.1
        Not found: revoked ham = Message successfully reported/revoked
at t/spamc_optC.t line 26.
# Failed test 4 in t/SATest.pm at line 717 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 at t/spamc_optC.t line 35.
# Failed test 6 in t/SATest.pm at line 717 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 at t/spamc_optC.t line 40.
# Failed test 8 in t/SATest.pm at line 717 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.t .................... Failed 4/9 subtests
t/spamc_optL.t .................... 1/16 # Failed test 1 in
t/spamc_optL.t at line 20
        Not found: learned spam = Message successfully un/learned at
t/spamc_optL.t line 21.
# Failed test 2 in t/SATest.pm at line 717
t/spamc_optL.t .................... 3/16 # Failed test 3 in
t/spamc_optL.t at line 24
        Not found: already learned spam = Message was already
un/learned at t/spamc_optL.t line 25.
# Failed test 4 in t/SATest.pm at line 717 fail #2
ERROR: Bayes dump returned an error, please re-run with -D for more information
t/spamc_optL.t .................... 5/16 # Failed test 5 in
t/spamc_optL.t at line 28
        Not found: spam in database = 1 0  non-token data: nspam at
t/spamc_optL.t line 29.
# Failed test 6 in t/SATest.pm at line 717 fail #3
t/spamc_optL.t .................... 7/16 # Failed test 7 in
t/spamc_optL.t at line 32
        Not found: forget spam = Message successfully un/learned at
t/spamc_optL.t line 33.
# Failed test 8 in t/SATest.pm at line 717 fail #4
t/spamc_optL.t .................... 9/16 # Failed test 9 in
t/spamc_optL.t at line 36
        Not found: learned ham = Message successfully un/learned at
t/spamc_optL.t line 37.
# Failed test 10 in t/SATest.pm at line 717 fail #5
t/spamc_optL.t .................... 11/16 # Failed test 11 in
t/spamc_optL.t at line 40
        Not found: already learned ham = Message was already
un/learned at t/spamc_optL.t line 41.
# Failed test 12 in t/SATest.pm at line 717 fail #6
ERROR: 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 at
t/spamc_optL.t line 45.
# Failed test 14 in t/SATest.pm at line 717 fail #7
t/spamc_optL.t .................... 15/16 # Failed test 15 in
t/spamc_optL.t at line 48
        Not found: learned ham = Message successfully un/learned at
t/spamc_optL.t line 49.
# Failed test 16 in t/SATest.pm at line 717 fail #8
t/spamc_optL.t .................... Failed 16/16 subtests



Test Summary Report
-------------------
t/spamc_optC.t                  (Wstat: 0 Tests: 9 Failed: 4)
  Failed tests:  2, 4, 6, 8
t/spamc_optL.t                  (Wstat: 0 Tests: 16 Failed: 16)
  Failed tests:  1-16
Files=163, Tests=1985, 171 wallclock secs ( 0.64 usr  0.21 sys + 33.64
cusr  6.00 csys = 40.49 CPU)
Result: FAIL
Failed 2/163 test programs. 20/1985 subtests failed.
make: *** [test_dynamic] Error 255
  JMASON/Mail-SpamAssassin-3.3.1.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports JMASON/Mail-SpamAssassin-3.3.1.tar.gz
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 JMASON/Mail-SpamAssassin-3.3.1.tar.gz        : make_test NO

Re: Compile error at spamc_optC.t look like an old bug "bug5510"

Posted by Jari Fredriksson <ja...@iki.fi>.
On 30.6.2010 2:22, Péter Szekeres wrote:
> Hello SA list,
> 
> I try to compile SA on a Debian 5.0.5, via CPAN. (install
> Mail::SpamAssassin), but it fails when running the tests. I have done
> it earlier a hundred times, but now I got strange error. I have found
> a similar in 2007 (bug5510) (maybe it is not the same, but for me it
> looks like). Any ideas?
> I run try to run it from inside a vserver,but I think, this cant be a
> problem. I am using some SA installation in vservers.
> 
> I have upgraded older servers to 3.3.1, and I never meet such errors.
> This installation is fresh, never seen SA before.
> 

Maybe off topic, and I too have my SA compiled from CPAN, but I think
3.3.1 is now available from either volatile or backports. Not necessary
to compile by yourself. It also will bring all prerequisites up to date.


-- 
http://www.iki.fi/jarif/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.

Q:	Know what the difference between your latest project
	and putting wings on an elephant is?
A:	Who knows?  The elephant *might* fly, heh, heh...