Package: lintian
Version: 2.5.6
Severity: normal
Tags: patch
If --warnings is used, only warnings of type mac are
issued. The full potential of groff should be used, using
--warnings=w.
Lines, that remove warnings because of the use of old
pod2man (or other programme), should be removed when it has been fixed.
THE PATCH HAS NOT BEEN TESTED:
--- manpages2012-03-12 14:40:11.0 +
+++ manpages.new2012-05-02 02:08:29.0 +
@@ -240,9 +240,9 @@
# pages with .so but aren't simple links; rbash, for instance.)
my $cmd;
if ($path =~ m,^(.*)/(man\d/.*)$,) {
-$cmd = cd \Q$1\E man --warnings -E UTF-8 -l \Q$2\E;
+$cmd = cd \Q$1\E man --warnings=w -E UTF-8 -l \Q$2\E;
} else {
-$cmd = man --warnings -E UTF-8 -l \Q$path\E;
+$cmd = man --warnings=w -E UTF-8 -l \Q$path\E;
}
my $pid = open MANERRS, '-|';
if (not defined $pid) {
@@ -270,7 +270,10 @@
and ( $manfile[$1 - 1] =~ m,(?:https?|ftp)://.+,i
or $manfile[$1 - 1] =~ m,^\s*\.\s*UE\b,);
# ignore common undefined macros from pod2man Perl 5.10
+# This and next line should be removed for wheezy
next if /warning: (?:macro )?\`(Tr|IX)\' not defined/;
+# This and next line should be removed for wheezy or its successor
+next if /warning: (?:number register )?['`]F\' not defined/;
chomp;
s/^[^:]+://o;
tag 'manpage-has-errors-from-man', $file, $_;
System Information are for the 2.4.3+squeeze1 version (squeeze).
-- System Information:
Debian Release: 6.0.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
'stable')
Architecture: i386 (i586)
Kernel: Linux 2.6.32-41
Locale: LANG=is_IS, LC_CTYPE=is_IS (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.20.1-16 The GNU assembler, linker and bina
ii diffstat 1.53-1produces graph of changes introduc
ii dpkg-dev 1.15.8.12 Debian package development tools
ii file 5.04-5+squeeze1 Determines file type using magic
ii gettext0.18.1.1-3GNU Internationalization utilities
ii intltool-debian0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl0.1.24+b1 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1Perl module that automatically gen
ii libipc-run-perl0.89-1Perl module for running processes
ii libparse-debianchangel 1.1.1-2.1 parse Debian changelogs and output
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl1.54-2module to manipulate and access UR
ii locales2.11.3-3 Embedded GNU C Library: National L
ii man-db 2.5.7-8 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-17squeeze3 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarchnone (no description available)
pn libtext-template-perl none (no description available)
ii man-db2.5.7-8on-line manual pager
-- no debconf information
--
Bjarni I. Gislason
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org