hi,

bldg SA 32x-branch manually, from src in a freebsd jail.

SA builds/installs/runs without noticeable issue.

but, 'make test' has scads of failures ... similar to those mentioned here:

  http://www.nabble.com/Re:-Problem-with-3.2.2-p14236931.html

picking one, "t/spamc_optL.t", fails as:

% sudo -u spamd make test TEST_VERBOSE=1 TEST_FILES=t/spamc_optL.t
make -f spamc/Makefile spamc/spamc
`spamc/spamc' is up to date.
/usr/local/bin/perl build/mkrules --exit_on_no_src --src rulesrc --out
rules --manifest MANIFEST --manifestskip MANIFEST.SKIP
mkrules: no rules updated
/usr/local/bin/perl build/preprocessor  -Mvars  -DVERSION="3.002004"
-DPREFIX="/usr/local"  -DDEF_RULES_DIR="/usr/local/etc/SA/Dist"
-DLOCAL_RULES_DIR="/usr/local/etc/SA/Local"
-DLOCAL_STATE_DIR="/usr/local/etc/SA/Updates"
-DINSTALLSITELIB="/usr/local/lib/perl5/site_perl/5.8.8"
-DCONTACT_ADDRESS="" -Msharpbang  -Mconditional
-DPERL_BIN="/usr/local/bin/perl"  -DPERL_WARN=""  -DPERL_TAINT=""
-m755 -isa-update.raw -osa-update
cp sa-update blib/script/sa-update
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-update
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/spamc_optL.t
t/spamc_optL......
1..16
# Running under perl version 5.008008 for freebsd
# Current time local: Sun Dec 30 00:13:31 2007
# Current time GMT:   Sun Dec 30 08:13:31 2007
# Using Test.pm version 1.25
        /usr/local/bin/perl SATest.pl -Mredirect
-Olog/d.spamc_optL/spamd.err.1 -olog/d.spamc_optL/spamd.out.1 --
/usr/local/bin/perl -T -w ../spamd/spamd.raw -D -x -s stderr -C
log/test_rules_copy  --siteconfigpath log/localrules.tmp -p 62704 -A
127.0.0.1 -L --allow-tell -s log/d.spamc_optL/spamd.err.1.timestamped
&
        ../spamc/spamc -F data/spamc_blank.cf -d 127.0.0.1 -p 62704 -L spam <
data/spam/001
Killed 1 spamd instances
Waiting for spamd at pid 95478 to exit...
not ok 1
        Checking learned spam
not ok 2
        ../spamc/spamc -F data/spamc_blank.cf -d 127.0.0.1 -p 62704 -L spam <
data/spam/001
# 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:
not ok 3
        Checking already learned spam
not ok 4
        /usr/local/bin/perl -T -w ../sa-learn.raw -C log/test_rules_copy
--siteconfigpath log/localrules.tmp -p log/test_default.cf  --dump
magic
# 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:
ERROR: Bayes dump returned an error, please re-run with -D for more information
not ok 5
        Checking spam in database
not ok 6
        ../spamc/spamc -F data/spamc_blank.cf -d 127.0.0.1 -p 62704 -L forget
< data/spam/001
# 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:
not ok 7
        Checking forget spam
not ok 8
        ../spamc/spamc -F data/spamc_blank.cf -d 127.0.0.1 -p 62704 -L ham <
data/nice/001
# 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:
not ok 9
        Checking learned ham
not ok 10
        ../spamc/spamc -F data/spamc_blank.cf -d 127.0.0.1 -p 62704 -L ham <
data/nice/001
# 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:
not ok 11
        Checking already learned ham
not ok 12
        /usr/local/bin/perl -T -w ../sa-learn.raw -C log/test_rules_copy
--siteconfigpath log/localrules.tmp -p log/test_default.cf  --dump
magic
# 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:
ERROR: Bayes dump returned an error, please re-run with -D for more information
not ok 13
        Checking ham in database
not ok 14
        ../spamc/spamc -F data/spamc_blank.cf -d 127.0.0.1 -p 62704 -L forget
< data/nice/001
# 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:
not ok 15
        Checking learned ham
not ok 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:
 Failed 16/16 subtests

Test Summary Report
-------------------
t/spamc_optL.t (Wstat: 0 Tests: 16 Failed: 16)
  Failed test number(s):  1-16
Files=1, Tests=16, 23 wallclock secs ( 0.01 usr  0.02 sys +  3.02 cusr
 1.05 csys =  4.10 CPU)
Result: FAIL
Failed 1/1 test programs. 16/16 subtests failed.
*** Error code 255

Stop in /s/usr-local/build/spamassassin.




hints?

Reply via email to