https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6649
Bug #: 6649
Summary: sa-compile fails with re2c: error: line 207, column 2:
unterminated string constant (missing ")
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Rules
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 4953
--> https://issues.apache.org/SpamAssassin/attachment.cgi?id=4953
Problematic scanner2.re
This is being discussed on the users list today with the subject: Subject:
Latest sa-update crashing sa-compile?
# sa-compile
Aug 15 11:47:46.221 [21218] info: generic: base extraction starting. this can
take a while...
Aug 15 11:47:46.221 [21218] info: generic: extracting from rules of type body_0
100%
[================================================================================================]
568.89 rules/sec 00m02s DONE
100%
[================================================================================================]
235.82 bases/sec 00m13s DONE
Aug 15 11:48:02.864 [21218] info: body_0: 1817 base strings extracted in 16
seconds
cd /tmp/.spamassassin21218ELu9TJtmp
cd Mail-SpamAssassin-CompiledRegexps-body_0
re2c -i -b -o scanner1.c scanner1.re
re2c -i -b -o scanner2.c scanner2.re
re2c: error: line 207, column 2: unterminated string constant (missing ")
command failed: exit 1
I'm guessing the problem is that the string in column 1 contains a newline
(carriage return, linefeed, or both). Quite possibly from SOUGHT. So maybe a
bug in SOUGHT's rule generation. Or maybe it would be nice to handle this in
re2c?
scanner2.re attached.
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.