SA Bugzilla – Bug 5713
Failed New Install as root with CPAN Shell 1.9203 at t/spamc_optC.t and t/spamc_optL.t
Last modified: 2019-06-24 15:23:22 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.
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?
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?
Closing old stale bugs. Probably not relevant anymore.