You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Larry Rosenman <le...@lerctr.org> on 2019/08/20 11:31:05 UTC

Lint Failed on auto download?

plugin: failed to parse plugin (from @INC): Bareword 
"GEOIP_MEMORY_CACHE" not allowed while "strict subs" in use at 
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm 
line 465.
Compilation failed in require at (eval 158) line 1.

plugin: failed to parse plugin (from @INC): Attempt to reload 
Mail/SpamAssassin/Plugin/URILocalBL.pm aborted.
Compilation failed in require at (eval 394) line 1.

plugin: failed to parse plugin (from @INC): Bareword 
"GEOIP_MEMORY_CACHE" not allowed while "strict subs" in use at 
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm 
line 465.
Compilation failed in require at (eval 131) line 1.

Aug 20 06:22:10.194 [71305] info: config: failed to parse line, 
skipping, in "/usr/local/etc/mail/spamassassin/local.cf": 
uri_country_db_path /usr/local/share/GeoIP/GeoLite2-Country.mmdb
Aug 20 06:22:11.580 [71305] info: generic: base extraction starting. 
this can take a while...
Aug 20 06:22:11.580 [71305] info: generic: extracting from rules of type 
body_0
.
100% Completed 2382.78 rules/sec in 00m00s
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
100% Completed  45.13 bases/sec in 02m28s
Aug 20 06:24:40.984 [71305] info: body_0: 4852 base strings extracted in 
149 seconds
Aug 20 06:24:42.288 [71305] info: rules: meta test KAM_FAKE_DELIVER has 
dependency 'KAM_RAPTOR_ALTERED' with a zero score
Aug 20 06:24:42.289 [71305] info: rules: meta test KAM_BADPDF2 has 
dependency 'KAM_RPTR_SUSPECT' with a zero score
Aug 20 06:24:42.291 [71305] info: rules: meta test JMQ_CONGRAT has 
dependency 'KAM_RAPTOR_ALTERED' with a zero score
Aug 20 06:24:42.325 [71305] info: rules: meta test KAM_NOTIFY2 has 
dependency 'KAM_IFRAME' with a zero score
Aug 20 06:24:42.374 [71305] info: rules: meta test 
KAM_REALLY_FAKE_DELIVER has dependency 'KAM_RPTR_PASSED' with a zero 
score
Aug 20 06:24:42.381 [71305] info: rules: meta test KAM_CARD has 
dependency 'KAM_RPTR_SUSPECT' with a zero score
Aug 20 06:24:42.385 [71305] info: rules: meta test KAM_JURY has 
dependency 'KAM_RAPTOR_ALTERED' with a zero score
sa-compile: not compiling; 'spamassassin --lint' check failed!

Can someone look at it?

Thanks!

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106

Re: Lint Failed on auto download?

Posted by "Kevin A. McGrail" <km...@apache.org>.
Can we get that issue resolved in the rule publishing?  Is it just a pint
warning?

On Tue, Aug 20, 2019, 08:24 Henrik K <he...@hege.li> wrote:

> On Tue, Aug 20, 2019 at 07:16:49AM -0500, Larry Rosenman wrote:
> > On 08/20/2019 7:05 am, Henrik K wrote:
> > >Install Geo::IP or wait for 3.4.3.
> > >
> > >
> >
> > When is 3.4.3 due?  FreeBSD ports no longer contains Geo::IP.
>
> "Very soon.."
>
> Anyway, this patch should help:
>
>
> https://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/URILocalBL.pm?r1=1844811&r2=1852885&view=patch
>
> Or just download the latest 3.4 plugin as is..
>
>
> https://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/URILocalBL.pm?revision=1864886&view=co
>
>

Re: Lint Failed on auto download?

Posted by Henrik K <he...@hege.li>.
On Tue, Aug 20, 2019 at 07:16:49AM -0500, Larry Rosenman wrote:
> On 08/20/2019 7:05 am, Henrik K wrote:
> >Install Geo::IP or wait for 3.4.3.
> >
> >
> 
> When is 3.4.3 due?  FreeBSD ports no longer contains Geo::IP.

"Very soon.."

Anyway, this patch should help:

https://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/URILocalBL.pm?r1=1844811&r2=1852885&view=patch

Or just download the latest 3.4 plugin as is..

https://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/URILocalBL.pm?revision=1864886&view=co


Re: Lint Failed on auto download?

Posted by Larry Rosenman <le...@lerctr.org>.
On 08/20/2019 7:05 am, Henrik K wrote:
> Install Geo::IP or wait for 3.4.3.
> 
> 

When is 3.4.3 due?  FreeBSD ports no longer contains Geo::IP.


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106

Re: Lint Failed on auto download?

Posted by Henrik K <he...@hege.li>.
Install Geo::IP or wait for 3.4.3.


On Tue, Aug 20, 2019 at 06:31:05AM -0500, Larry Rosenman wrote:
> plugin: failed to parse plugin (from @INC): Bareword "GEOIP_MEMORY_CACHE"
> not allowed while "strict subs" in use at
> /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm line
> 465.
> Compilation failed in require at (eval 158) line 1.
> 
> plugin: failed to parse plugin (from @INC): Attempt to reload
> Mail/SpamAssassin/Plugin/URILocalBL.pm aborted.
> Compilation failed in require at (eval 394) line 1.
> 
> plugin: failed to parse plugin (from @INC): Bareword "GEOIP_MEMORY_CACHE"
> not allowed while "strict subs" in use at
> /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Plugin/URILocalBL.pm line
> 465.
> Compilation failed in require at (eval 131) line 1.
> 
> Aug 20 06:22:10.194 [71305] info: config: failed to parse line, skipping, in
> "/usr/local/etc/mail/spamassassin/local.cf": uri_country_db_path
> /usr/local/share/GeoIP/GeoLite2-Country.mmdb
> Aug 20 06:22:11.580 [71305] info: generic: base extraction starting. this
> can take a while...
> Aug 20 06:22:11.580 [71305] info: generic: extracting from rules of type
> body_0
> .
> 100% Completed 2382.78 rules/sec in 00m00s
> ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> 100% Completed  45.13 bases/sec in 02m28s
> Aug 20 06:24:40.984 [71305] info: body_0: 4852 base strings extracted in 149
> seconds
> Aug 20 06:24:42.288 [71305] info: rules: meta test KAM_FAKE_DELIVER has
> dependency 'KAM_RAPTOR_ALTERED' with a zero score
> Aug 20 06:24:42.289 [71305] info: rules: meta test KAM_BADPDF2 has
> dependency 'KAM_RPTR_SUSPECT' with a zero score
> Aug 20 06:24:42.291 [71305] info: rules: meta test JMQ_CONGRAT has
> dependency 'KAM_RAPTOR_ALTERED' with a zero score
> Aug 20 06:24:42.325 [71305] info: rules: meta test KAM_NOTIFY2 has
> dependency 'KAM_IFRAME' with a zero score
> Aug 20 06:24:42.374 [71305] info: rules: meta test KAM_REALLY_FAKE_DELIVER
> has dependency 'KAM_RPTR_PASSED' with a zero score
> Aug 20 06:24:42.381 [71305] info: rules: meta test KAM_CARD has dependency
> 'KAM_RPTR_SUSPECT' with a zero score
> Aug 20 06:24:42.385 [71305] info: rules: meta test KAM_JURY has dependency
> 'KAM_RAPTOR_ALTERED' with a zero score
> sa-compile: not compiling; 'spamassassin --lint' check failed!
> 
> Can someone look at it?
> 
> Thanks!
> 
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
> US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106