You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Gary <sa...@letric.net> on 2009/04/28 18:16:31 UTC
sa-compile problem
Hi guys,
I was just doing an update and compile and ran into this problem which is
new, as I never had troulbe before. Error is token exceeds limit, as
below. Any help would be appreciated.
SA ~ # sa-update --gpgkey 6C6191E3 --channel sought.rules.yerp.org
--channel updates.spamassassin.org
SA ~ # sa-compile
[13915] info: generic: base extraction starting. this can take a while...
[13915] info: generic: extracting from rules of type body_0
100% [======================================================] 662.83
rules/sec 00m04s DONET
100% [======================================================] 26.10
bases/sec 02m31s DONE
[13915] info: body_0: 3450 base strings extracted in 155 seconds
[13915] info: generic: extracting from rules of type body_500
100% [======================================================] 5.35
rules/sec 00m00s DONE
100% [======================================================] 48.23
bases/sec 00m00s DONE
[13915] info: body_500: 3 base strings extracted in 0 seconds
cd /tmp/.spamassassin13915f5BFZ7tmp
cd Mail-SpamAssassin-CompiledRegexps-body_0
Wide character in print at /usr/bin/sa-compile line 385, <$fh> line 5635.
Wide character in print at /usr/bin/sa-compile line 385, <$fh> line 5684.
re2c -i -b -o scanner1.c scanner1.re
re2c -i -b -o scanner2.c scanner2.re
re2c -i -b -o scanner3.c scanner3.re
re2c -i -b -o scanner4.c scanner4.re
re2c -i -b -o scanner5.c scanner5.re
re2c -i -b -o scanner6.c scanner6.re
re2c -i -b -o scanner7.c scanner7.re
re2c -i -b -o scanner8.c scanner8.re
re2c -i -b -o scanner9.c scanner9.re
re2c -i -b -o scanner10.c scanner10.re
re2c -i -b -o scanner11.c scanner11.re
re2c -i -b -o scanner12.c scanner12.re
re2c -i -b -o scanner13.c scanner13.re
re2c -i -b -o scanner14.c scanner14.re
re2c -i -b -o scanner15.c scanner15.re
re2c: error: line 159, column 2: Token exceeds limit
command failed! at /usr/bin/sa-compile line 288, <$fh> line 6173.
--
Gary
Re: sa-compile problem
Posted by Karsten Bräckelmann <gu...@rudersport.de>.
> > > I was just doing an update and compile and ran into this problem which is
> > > new, as I never had troulbe before. Error is token exceeds limit, as
> > > below. Any help would be appreciated.
>
> > What's your re2c version?
>
> as below, you are correct, re2c.0.13.3
> > > re2c: error: line 159, column 2: Token exceeds limit
^^^^^^^^^^^^^^^^^^^
> > > command failed! at /usr/bin/sa-compile line 288, <$fh> line 6173.
> >
> > May I take a guess? re2c 0.13.3 -- if so, update to 0.13.5 or newer.
>
> many thanks for your input and quick reply..
No problem, glad it helped...
Always happy to do someone else's googling. ;) Pretty clear picture, if
you ask for sa-compile and the error message.
guenther
--
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
Re: sa-compile problem
Posted by Gary <sa...@letric.net>.
On Tue, Apr 28, 2009 at 07:44:08PM +0200 or thereabouts, Karsten Bräckelmann wrote:
> On Tue, 2009-04-28 at 11:16 -0500, Gary wrote:
> > I was just doing an update and compile and ran into this problem which is
> > new, as I never had troulbe before. Error is token exceeds limit, as
> > below. Any help would be appreciated.
> What's your re2c version?
as below, you are correct, re2c.0.13.3
> > SA ~ # sa-update --gpgkey 6C6191E3 --channel sought.rules.yerp.org
> > --channel updates.spamassassin.org
> > SA ~ # sa-compile
> ...
> > re2c -i -b -o scanner15.c scanner15.re
> > re2c: error: line 159, column 2: Token exceeds limit
> > command failed! at /usr/bin/sa-compile line 288, <$fh> line 6173.
>
> May I take a guess? re2c 0.13.3 -- if so, update to 0.13.5 or newer.
many thanks for your input and quick reply..
--
Gary
Re: sa-compile problem
Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Tue, 2009-04-28 at 11:16 -0500, Gary wrote:
> I was just doing an update and compile and ran into this problem which is
> new, as I never had troulbe before. Error is token exceeds limit, as
> below. Any help would be appreciated.
What's your re2c version?
> SA ~ # sa-update --gpgkey 6C6191E3 --channel sought.rules.yerp.org
> --channel updates.spamassassin.org
> SA ~ # sa-compile
...
> re2c -i -b -o scanner15.c scanner15.re
> re2c: error: line 159, column 2: Token exceeds limit
> command failed! at /usr/bin/sa-compile line 288, <$fh> line 6173.
May I take a guess? re2c 0.13.3 -- if so, update to 0.13.5 or newer.
--
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}