bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Problems with pod2man


From: Tim Ruehsen
Subject: Re: [Bug-wget] Problems with pod2man
Date: Wed, 5 Jun 2013 09:00:16 +0200
User-agent: KMail/1.13.7 (Linux/3.9-1-amd64; KDE/4.8.4; x86_64; ; )

Hi Darshit,

did you try to edit wget.texi ? Just search for '@item 0', change und try to 
make it.

(I am not able to install perl 5.18 on Debian due to some dependancy 
problems...)

Am Wednesday 05 June 2013 schrieb Darshit Shah:
> With the latest version of Perl, the pod2man script was edited. This now
> causes make to fail with the following errors:
> 
> ./texi2pod.pl -D VERSION="1.14.52-5ce93" ./wget.texi wget.pod
> /usr/bin/core_perl/pod2man --center="GNU Wget" --release="GNU Wget
> 1.14.52-5ce93" wget.pod > wget.1
> wget.pod around line 2151: Expected text after =item, not a number
> wget.pod around line 2156: Expected text after =item, not a number
> wget.pod around line 2162: Expected text after =item, not a number
> wget.pod around line 2167: Expected text after =item, not a number
> wget.pod around line 2172: Expected text after =item, not a number
> wget.pod around line 2177: Expected text after =item, not a number
> wget.pod around line 2182: Expected text after =item, not a number
> wget.pod around line 2187: Expected text after =item, not a number
> POD document had syntax errors at /usr/bin/core_perl/pod2man line 71.
> make[2]: *** [wget.1] Error 255
> 
> As it turns out, this is actually only a warning, and not a fatal error.
> So, running make a second time will terminate correctly.
> 
> This issue is caused due to the fact that our list starts with a 0, whereas
> Perl expects all lists to start with 1.
> A way to solve this is to edit wget.pod:2146
> =item 0
> to
> =item 0Z<>
> 
> This will explicitly tell Perl that we have a numeric list.
> 
> Since, our pod file is being autogenerated through texi2pod, and my Perl is
> terrible, I am unable to write a patch for the same.
> If anyone would be so kind as to fix this?
> 
> Further Reading:
> [1]
> http://www.nntp.perl.org/group/perl.perl5.porters/2013/02/msg199266.html
> [2] http://www.gossamer-threads.com/lists/perl/porters/290951



reply via email to

[Prev in Thread] Current Thread [Next in Thread]