Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: devel

[Bug 5899] sa-compile /var/lib dir should contain perl version in path

 

 

SpamAssassin devel RSS feed   Index | Next | Previous | View Threaded


bugzilla-daemon at bugzilla

May 15, 2008, 1:41 PM

Post #1 of 5 (109 views)
Permalink
[Bug 5899] sa-compile /var/lib dir should contain perl version in path

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5899


Justin Mason <jm[at]jmason.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |major
Priority|P5 |P1




--- Comment #1 from Justin Mason <jm[at]jmason.org> 2008-05-15 13:41:38 PST ---
bumping up pri, this is turning out to be quite troublesome; spamassassin
becomes entirely unusable once an upgrade to perl 5.10 takes place :(


--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


bugzilla-daemon at bugzilla

May 16, 2008, 8:56 AM

Post #2 of 5 (101 views)
Permalink
[Bug 5899] sa-compile /var/lib dir should contain perl version in path [In reply to]

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5899


Justin Mason <jm[at]jmason.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.3.0 |3.2.5




--- Comment #2 from Justin Mason <jm[at]jmason.org> 2008-05-16 08:56:40 PST ---
this needs to be fixed in 3.2.x and 3.3.0 IMO (thanks for pointing it out
Warren)


--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


bugzilla-daemon at bugzilla

May 18, 2008, 7:02 AM

Post #3 of 5 (96 views)
Permalink
[Bug 5899] sa-compile /var/lib dir should contain perl version in path [In reply to]

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5899





--- Comment #3 from Justin Mason <jm[at]jmason.org> 2008-05-18 07:02:41 PST ---
here we go. this changes the sa-compile compiled-ruleset storage dir to
include the perl major version ("5.008" for 5.8.x, "5.010" for 5.10.x, "5.006"
for 5.6 etc). This is because perl minor version changes are ABI-compatible,
but major version changes are not.

Note that it does not attempt to load rulesets from the old location -- so
"sa-compile" will need to be re-run after applying this patch. this is because,
due to this bug, the old rulesets may cause SA to exit anyway! so better safe
than sorry.


--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


bugzilla-daemon at bugzilla

May 18, 2008, 7:04 AM

Post #4 of 5 (95 views)
Permalink
[Bug 5899] sa-compile /var/lib dir should contain perl version in path [In reply to]

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5899





--- Comment #4 from Justin Mason <jm[at]jmason.org> 2008-05-18 07:04:16 PST ---
Created an attachment (id=4318)
--> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4318)
fix

please review for 3.2.x; applied to 3.3.0:

: jm 106...; svn commit -m "bug 5899: add perl version string to the storage
area for compiled rulesets, to avoid crashes when perl is upgraded between
major versions and the ABI breaks"
Sending build/preprocessor
Sending lib/Mail/SpamAssassin/Plugin/Rule2XSBody.pm
Sending lib/Mail/SpamAssassin.pm
Sending sa-compile.raw
Transmitting file data ....
Committed revision 657564.


--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


bugzilla-daemon at bugzilla

May 18, 2008, 7:07 AM

Post #5 of 5 (96 views)
Permalink
[Bug 5899] sa-compile /var/lib dir should contain perl version in path [In reply to]

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5899


Justin Mason <jm[at]jmason.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #4318 is|0 |1
obsolete| |




--- Comment #5 from Justin Mason <jm[at]jmason.org> 2008-05-18 07:07:03 PST ---
Created an attachment (id=4319)
--> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4319)
fix for 3.2.x

actually, that patch was against trunk. it didn't apply cleanly to 3.2.x.
this one does...


--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

SpamAssassin devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.