On 02/27/2014 11:41 AM, Nuno Fernandes wrote:
On Thursday 27 February 2014 11:09:06 Axb wrote:
On 02/27/2014 10:49 AM, Nuno Fernandes wrote:
Hello,

I'm having the following error after upgrading to 3.4.0

# spamassassin --lint
Feb 27 09:38:27.905 [26166] warn: Use of uninitialized value
$header_field_name in pattern match (m//) at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message/Node.pm line 648.
Feb 27 09:38:27.905 [26166] warn: Use of uninitialized value
$header_field_name in pattern match (m//) at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message/Node.pm line 648.
Feb 27 09:38:27.905 [26166] warn: Use of uninitialized value
$header_field_name in pattern match (m//) at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message/Node.pm line 648.


# spamassassin -V
SpamAssassin version 3.4.0

    running on Perl version 5.10.1

I'm using centos 6.5. The rpm was home made but i already tried from
source
and the results are the same. I think that it's related to the following
commit:

http://www.gossamer-threads.com/lists/spamassassin/commits/179811

Also tried

# LANG=C spamassassin --lint

with the same results.

FTR:

I've installed from source, also on Centos 6.5 and not seeing these
warnings.

If you install form source ONLY then

Node.pm is in
/usr/local/share/perl5/Mail/SpamAssassin/Message/

Have you located and removed old/stray versions of Spamassassin files?
(previous rpm installs)

h2h
Axb


I've already rm -rf /usr/share/perl5/vendor_perl/Mail/SpamAssassin* and then
installed it again from rpm to make sure that no stale files remains but the
problem also remains.

I will try in a centos box that never had spamassassin installed...

Try installing from source ONLY - on a pristine Centos box you shouldn't see the problem.

Reply via email to