This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, doc]: Fix "POD document had syntax errors at /usr/bin/pod2man line 69." error
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Gerald Pfeifer <gerald at pfeifer dot com>
- Date: Sat, 24 May 2014 08:39:59 +0200
- Subject: Re: [PATCH, doc]: Fix "POD document had syntax errors at /usr/bin/pod2man line 69." error
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4a6t2SqfRkByT6-Hr4_7q_wEAd-ahxXVNFbpENcBW1BYg at mail dot gmail dot com>
On Sun, May 18, 2014 at 11:10 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
> Attached patch fixes following errors in .pod document sources:
>
> gfdl.pod around line 53: Expected text after =item, not a number
> gfdl.pod around line 147: Expected text after =item, not a number
> gfdl.pod around line 165: Expected text after =item, not a number
> gfdl.pod around line 205: Expected text after =item, not a number
> gfdl.pod around line 357: Expected text after =item, not a number
> gfdl.pod around line 384: Expected text after =item, not a number
> gfdl.pod around line 400: Expected text after =item, not a number
> gfdl.pod around line 422: Expected text after =item, not a number
> gfdl.pod around line 445: Expected text after =item, not a number
> gfdl.pod around line 475: Expected text after =item, not a number
> gfdl.pod around line 499: Expected text after =item, not a number
> POD document had syntax errors at /usr/bin/pod2man line 69.
> gmake[3]: [doc/gfdl.7] Error 1 (ignored)
>
> As suggested in the fix for a similar problem [1], the solution is to
> put "Z<>" in the "=item" argument string.
>
> 2014-05-18 Uros Bizjak <ubizjak@gmail.com>
>
> * texi2pod.pl: Force .pod file to not be a numbered list.
>
> The fix was tested by bootstrapping on Fedora20 x86_64-pc-linux-gnu,
> and also comparing previous .man and .html files with new ones. They
> were bit-exact.
I went ahead and install the patch in the mainline. It is a trivial
one-liner, and can be easily reverted if it makes troubles.
Uros.