Re: Bug#720499: spamassassin: FTBFS with perl 5.18: POD failure
Control: tags -1 patch
-=| Dominic Hargreaves, 22.08.2013 17:35:19 +0100 |=-
> Source: spamassassin
> Version: 3.3.2-6
> Severity: serious
> Justification: transition imminent
> User: debian-perl@lists.debian.org
> Usertags: perl-5.18-transition
> Tags: sid jessie
>
> This package FTBFS with perl 5.18:
>
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> d2man sa-check_spamd.raw sa-check_spamd.1p
> sa-check_spamd.raw around line 431: Expected text after =item, not a number
> sa-check_spamd.raw around line 436: Expected text after =item, not a number
> sa-check_spamd.raw around line 441: Expected text after =item, not a number
> POD document had syntax errors at /usr/bin/pod2man line 71.
> make: *** [build-indep-stamp] Error 255
Please find attached a patch that fixes the issue. It needs to be
added to the quilt series.
Cheers,
dam
Description: fix POD errors with perl 5.18
Wrap number-like items in C<>, to avoid parser complains
Author: Damyan Ivanov <dmn@debian.org>
Bug-Debian: http://bugs.debian.org/720499
--- a/sa-check_spamd.raw
+++ b/sa-check_spamd.raw
@@ -424,21 +424,21 @@ exiting with one of these values:
=over 4
-=item 0
+=item C<0>
OK: A spamd ping response was received within all threshold times.
-=item 1
+=item C<1>
WARNING: A spamd ping response exceeded the warning threshold but not the
critical threshold.
-=item 2
+=item C<2>
CRITICAL: A spamd ping response exceeded either the critical threshold or the
timeout value.
-=item 3
+=item C<3>
UNKNOWN: An error, probably caused by a missing dependency or an invalid
configuration parameter being supplied, occurred in the sa-check_spamd program.
Reply to: