Bug 5713 - Failed New Install as root with CPAN Shell 1.9203 at t/spamc_optC.t and t/spamc_optL.t
Failed New Install as root with CPAN Shell 1.9203 at t/spamc_optC.t and t/spa...
Status: NEW
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd
3.2.3
PC Linux
: P3 major
: Undefined
Assigned To: SpamAssassin Developer Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-11-05 20:16 UTC by imacat
Modified: 2008-03-23 12:36 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status
The contents of t/log/d.spamc_optC/* and t/log/d.spamc_optL/* application/x-bzip2 None imacat [NoCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description imacat 2007-11-05 20:16:01 UTC
Dear all,

    Hi.  This is imacat from Taiwan.  I found that Mail::SpamAssassin 3.2.3
fails new install as root with the CPAN 1.9203 at t/spamc_optC.t and t/spamc_optL.t.

    I was installing a new Perl, and installing modules with the CPAN 1.9203.  I
failed installing Mail::SpamAssassin 3.2.3.  The test suite failed at
t/spamc_optC.t and t/spamc_optL.t.  I have made some experiments:

      1. It seems that this issue applies to 3.2.3, 3.2.2, 3.2.1.  But it runs
smoothly for 3.2.0.
      2. If I try to install Mail::SpamAssassin 3.2.0 first then upgrade to
3.2.3, it success.
      3. If I skip CPAN 1.9203 and try to run "perl Makefile.PL; make; make
test" manually, it success.  If I install with CPANPLUS shell, it success, too.
      4. If I install with CPAN 1.7602 (the one comes with Perl 5.8.8), it success.
      5. If I test as a non-root account, it success.

    I tried to compare the two copies of build directory, one created by CPAN
1.9203 installation, one by running run "perl Makefile.PL; make; make test"
manually.  They only differ in the spamc binary.  However, the failing build
fails to create the t/log/user_state/bayes_toks and t/log/user_state/bayes_seen
files when running t/spamc_optC.t and t/spamc_optL.t.

    My systems are: Debian GNU/Linux 4.0 r1, kernel 2.6.22.10, gcc 4.1.2, glibc
2.3.6, perl 5.8.8.  One is x86_64 and the other is i386.  The failed test log
(and my Perl build configuration) can be viewed at:

http://www.nntp.perl.org/group/perl.cpan.testers/2007/11/msg740184.html
http://www.nntp.perl.org/group/perl.cpan.testers/2007/11/msg741278.html

    Hope that this helps.  Please tell me if you need any more information, or
if I could be of any help.  Thank you.
Comment 1 Justin Mason 2008-03-19 05:23:15 UTC
hi.  the contents of t/log/d.spamc_optC/* and t/log/d.spamc_optL/*
would be very helpful, also, if possible.

Also, could you run the failing test and look in the syslog files for error messages, and/or run the test with strace -f?
Comment 2 imacat 2008-03-23 12:36:43 UTC
Created attachment 4278 [details]
The contents of t/log/d.spamc_optC/* and t/log/d.spamc_optL/*

Dear Justin Mason,

    Hi.  This is imacat from Taiwan.  Here is the contents of t/log/d.spamc_optC/* and t/log/d.spamc_optL/*, and the related maillog records, as requested.  Sorry that I cannot submit the strace report.  I cannot repeat this bug if I run the failing tests alone, and the strace report is huge when I run a full "make test".

    Please tell me if you have any question, or if I can be of any help.  Thank you.  

    By the way, out of curiosity, can't you repeat this bug yourself?