Bug#555320: checks manpages with -E UTF-8, but does not inform about this
Package: lintian
Version: 2.2.17
Severity: minor
Hi,
I was just checking one of my packages and got the following warning:
W: thinkfan: manpage-has-errors-from-man usr/share/man/man1/thinkfan.1.gz Invalid or incomplete multibyte or wide character
N:
N: This man page provokes warnings or errors from man.
....
N: To test this for yourself you can use the following command:
N: LANG=C MANWIDTH=80 man --warnings -l manpage-file >/dev/null
Running the command showed exactly zero warnings from man.
Looking at /usr/share/lintian/checks/manpages, it reads:
my $cmd;
if ($file =~ m,^(.*)/(man\d/.*)$,) {
$cmd = "cd unpacked/\Q$1\E && man --warnings -E UTF-8 -l \Q$2\E";
} else {
$cmd = "man --warnings -E UTF-8 -l unpacked/\Q$file\E";
}
(and it sets LANG to C some lines later)
so either the description misses -E UTF-8, or the check is wrong :)
You should know better what is meant here, I'm far from a man expert.
Thanks for your work
Evgeni
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.20-2 The GNU assembler, linker and bina
ii diffstat 1.47-1 produces graph of changes introduc
ii dpkg-dev 1.15.4.1 Debian package development tools
ii file 5.03-2 Determines file type using "magic"
ii gettext 0.17-8 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libipc-run-perl 0.84-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.1900-1 Time and date functions for Perl
ii liburi-perl 1.37+dfsg-1 Manipulates and accesses URI strin
ii man-db 2.5.6-3 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-7 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.45-1 Text::Template perl module
ii man-db 2.5.6-3 on-line manual pager
-- no debconf information
Reply to: