Bug#652851: perl-doc: errors from man: macro `AE' not defined / can't break line

Russ Allbery rra at debian.org
Wed Dec 21 01:04:30 UTC 2011


Dominic Hargreaves <dom at earth.li> writes:

> This lintian warning appears many times:

> W: perl-doc: manpage-has-errors-from-man usr/share/man/man1/perl5100delta.1.gz 1024: warning: macro `AE' not defined

This is a bug in podlators that I'm surprised has gone unnoticed for so
long.  Here's the relevant patch to Pod::Man:

--- a/lib/Pod/Man.pm
+++ b/lib/Pod/Man.pm
@@ -1321,7 +1321,7 @@ sub parse_from_filehandle {
     undef, undef, undef, undef,            undef, undef, undef, undef,
     undef, undef, undef, undef,            undef, undef, undef, undef,
 
-    "A\\*`",  "A\\*'", "A\\*^", "A\\*~",   "A\\*:", "A\\*o", "\\*(AE", "C\\*,",
+    "A\\*`",  "A\\*'", "A\\*^", "A\\*~",   "A\\*:", "A\\*o", "\\*(Ae", "C\\*,",
     "E\\*`",  "E\\*'", "E\\*^", "E\\*:",   "I\\*`", "I\\*'", "I\\*^",  "I\\*:",
 
     "\\*(D-", "N\\*~", "O\\*`", "O\\*'",   "O\\*^", "O\\*~", "O\\*:",  undef,

(Although you won't see this if you build with Unicode man pages; it's
part of the fallback code to -- poorly -- attempt to simulate Unicode
characters.)

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>






More information about the Perl-maintainers mailing list