Bug#555330: lintian: manpage-has-errors-from-man does not work correctly
Package: lintian
Version: 2.2.17
Severity: normal
When running under locale C the test does not work correctly:
michael@feivel:~$ LANG=C man --warnings -E UTF-8 -l /usr/share/man/man8/acpid.8.gz >/dev/null
col: Invalid or incomplete multibyte or wide character
michael@feivel:~$ LANG=de_DE.UTF-8 man --warnings -E UTF-8 -l /usr/share/man/man8/acpid.8.gz >/dev/null
michael@feivel:~$
The reason seems to be that man pipes its output through col when not
displaying on a terminal and col setting the local to C which apparently does
not mean UTF-8. Therefore the unicode hyphen (e2 80 90) triggers the above
mentioned error message in col's file io.
Miichael
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
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: