Re: CPAN - failed install: t/spamc_optC & t/spamc_optL errors

2007-06-20 Thread Peter Farrell

My apologies - saw the same issue appended to the announce email for 3.2
The fix was to run a manual build -
...
As non-root user:
perl Makefile.PL
make
make test

As root:
make install
...

And it compiled successfully.

-Peter


On 20/06/07, Daniel J McDonald <[EMAIL PROTECTED]> wrote:

On Wed, 2007-06-20 at 12:04 +0100, Peter Farrell wrote:
> Having problems re-installing SA.
> Blew away my previous installation cat'ing the .packlist to xargs rm.
> As root, start perl -MCPAN -e shell and 'install SpamAssassin'
> All of the errors in t/logs/* relate to either one of three things:
>

bugid 5510




Re: CPAN - failed install: t/spamc_optC & t/spamc_optL errors

2007-06-20 Thread Daniel J McDonald
On Wed, 2007-06-20 at 12:04 +0100, Peter Farrell wrote:
> Having problems re-installing SA.
> Blew away my previous installation cat'ing the .packlist to xargs rm.
> As root, start perl -MCPAN -e shell and 'install SpamAssassin'
> All of the errors in t/logs/* relate to either one of three things:
> 

bugid 5510



CPAN - failed install: t/spamc_optC & t/spamc_optL errors

2007-06-20 Thread Peter Farrell

Having problems re-installing SA.
Blew away my previous installation cat'ing the .packlist to xargs rm.
As root, start perl -MCPAN -e shell and 'install SpamAssassin'
All of the errors in t/logs/* relate to either one of three things:

# cannot run
1. error: spamd: cannot run as nonexistent user or root with -u option

2. warn: spamd: still running as root: user not specified with -u, not
found, or set to root, falling back to nobody

# permission issues
3. warn: spamd: bayes: locker: safe_lock: cannot create tmp lockfile
./log/user_state/bayes.lock.sabik.scarceskills.com.2725 for
./log/user_state/bayes.lock: Permission denied

Below I've included some output of where it all goes pear shaped.
Any ideas to get me back on track? I've done this type of install many
times and have never had this issue...

-Peter Farrell


t/spamc_headers.ok
t/spamc_l...ok
t/spamc_optCNot 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_optCNOK 2/9 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_optCNOK 4/9 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_optCok 7/9  Not found: failed to revoke
ham = Unable to report/revoke message
t/spamc_optCNOK 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_optCFAILED 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_optLNOK 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_optLNOK 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_optLNOK 6/16# Failed test 7 in t/spamc_optL.t at line 32
   Not found: forget spam = Message successfully un/learned
t/spamc_optLNOK 7/16# Failed test 8 in t/SATest.pm at
line 635 fail #4
Output can be examined in:
t/spamc_optLNOK 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_optLNOK 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
t/spamc_optLNOK 11/16Output can be examined in:
t/spamc_optLNOK 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_optLNOK 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 635 fail #8
t/spamc_optLNOK 15/16Output can be examined in:
t/spamc_optLFAILED tests 1-16
   Failed 16/16 tests, 0.00% okay
t/spamc_y...ok
t/spamc_z...ok
t/spamd.ok
t/spamd_allow_user_rulesok 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_rulesFAILED test 4
   Failed 1/5 tests, 80.00% okay
t/spamd_hup.ok
t/spamd_kill_restartok
t/spamd_kill_restart_rr.ok
t/spamd_ldapskipped
   all skipped: no reason given
t/spamd_maxchildren.ok
t/spamd_maxsize.ok
t/spamd_parallelok
t/spamd_plugin..ok 1/6  Not found: called1 =  test:
called myTestPlugin, round 1
# Failed test 2 in t/SATest.pm at line 635
Output can be examined in: log/d.spamd_plugin/out.1
log/d.spamd_plugin/spamd.err.1
t/spamd_plugin..