You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Matt Kettler <mk...@evi-inc.com> on 2004/08/11 19:43:17 UTC

SA 3.0 pre4 and pre4 make test failures at prefs_include (QP and/or UTF bug?)

I've done a bit of digging in the archives, google, dev-list archives, and 
wiki and haven't seen anyone mention this.

In the process of making sure my system is ready for the SA 3.0 upgrade 
when a final version comes out, I decided to build and "make test" SA 3.0-pre4.

The result is this:

t/plugin....................ok
t/prefs_include.............    Not found: qp-encoded-desc =  Invalid Date: 
header =ae =af =b0 foo
# Failed test 1 in t/SATest.pm at line 530
t/prefs_include.............FAILED test 1
         Failed 1/2 tests, 50.00% okay

I then tried pre3 and it did the same thing, although the line number 
changed. I tried the make test as both root and non-root users.

My system is a Redhat with the UTF-makefile bug, thus I had to use LANG=C 
perl Makefile.PL to build the makefile.

Other than that my setup is largely unremarkable.

Perl v5.8.0
Required modules:
         Storable 2.06
         Digest::SHA1 2.01        Sys::Syslog 0.03
         HTML::Parser 3.26  (note: this is not at the "preferred" version, 
but is beyond the required)

Looking into t/log, I see that prefs_include.1 has an Invalid Date: string, 
but the line isn't quite the same:

         *  0.0 INVALID_DATE Invalid Date: header =c2=ae =c2=af =c2=b0 foo

         it's got c2's before each character.



Re: SA 3.0 pre4 and pre4 make test failures at prefs_include (QP and/or UTF bug?)

Posted by Matt Kettler <mk...@evi-inc.com>.
At 01:43 PM 8/11/2004, Matt Kettler wrote:
>My system is a Redhat with the UTF-makefile bug, thus I had to use LANG=C 
>perl Makefile.PL to build the makefile.

Self-answer.. Yes, this is directly related to the UTF bug in redhat.

Apparently in SA 3.0 the effects of the bug spread further than just the 
"perl Makefile.PL" step. I'm going to fix the i18n file as per the 
alternative solution in the wiki

http://wiki.apache.org/spamassassin/Pod2ManRedHat