FS#21685 - [spamassassin] Error Running 'sa-update'

Attached to Project: Arch Linux
Opened by Techlive Zheng (techlive) - Saturday, 13 November 2010, 09:17 GMT
Last edited by Paul Mattal (paul) - Monday, 01 August 2011, 14:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

Run 'sa-update',Got these errors:

Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.

spamassassin 3.3.1 is not compatible with perl 5.12

See

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

patch is here

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6392#c12

Hope the maintainers can update the PKGBUILD, apply this patch for this version 3.3.1.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Paul Mattal (paul)
Monday, 01 August 2011, 14:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 3.3.2-2.
Comment by Techlive Zheng (techlive) - Saturday, 13 November 2010, 10:59 GMT
I have downloaded the patch and modified the PKGBUILD,then tested it,all worked fine,here are all my files.

The patch that originally downloaded is created in a SVN repo,but in the released archive Mail-SpamAssassin-3.3.1.tar.gz ,there is no entry 'rulesrc',so i commented them in the patch,and then everything works fine.

Comment by Jay Williams (ice9) - Sunday, 16 January 2011, 18:49 GMT
I also was affected by this bug. I'll add that it is not just sa-update, but also spamd that will not run -- '/etc/rc.d/spamd start' fails. This was with the latest version of the package, extra/spamassassin 3.3.1-3. I'm fairly new to Arch, so maybe someone could explain why, if this bug was reported two months ago, and techlive zheng uploaded a fix (which did indeed work for me, thanks!), why is this package still broken?

Am I missing something?

Is no one else using spamassassin on Archlinux with spamd? Or is everyone else just applying the patch themselves?
Comment by Techlive Zheng (techlive) - Thursday, 07 April 2011, 17:55 GMT
This is an upstream bug,the Arch TUs have no responsiblity to fix it.But the spamassassin hasn't yet released a new version which fix this bug,so here i provide a new PKGBUILD which includes the patches.
Comment by Paul Mattal (paul) - Saturday, 02 July 2011, 13:59 GMT
Can you confirm this is resolved in 3.3.2-2?
Comment by Florian Pritz (bluewind) - Monday, 01 August 2011, 14:21 GMT
resolved for me with 3.3.2-2

Loading...