[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Problems with pod2man
From: |
Darshit Shah |
Subject: |
[Bug-wget] Problems with pod2man |
Date: |
Wed, 5 Jun 2013 11:07:02 +0530 |
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
--
Thanking You,
Darshit Shah
- [Bug-wget] Problems with pod2man,
Darshit Shah <=
- Re: [Bug-wget] Problems with pod2man, Tim Ruehsen, 2013/06/05
- Re: [Bug-wget] Problems with pod2man, Darshit Shah, 2013/06/05
- Re: [Bug-wget] Problems with pod2man, Tim Ruehsen, 2013/06/05
- Re: [Bug-wget] Problems with pod2man, Darshit Shah, 2013/06/17
- Re: [Bug-wget] Problems with pod2man, Darshit Shah, 2013/06/19
- Re: [Bug-wget] Problems with pod2man, Giuseppe Scrivano, 2013/06/22
- Re: [Bug-wget] Problems with pod2man, Darshit Shah, 2013/06/22