[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#474052: [checks/manpages]: cannot adjust line, ... issues are not considered on localized man pages



Package: lintian
Version: 1.23.46
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

We were wondering, why lintian did not complain with a
manpage-has-errors-from-man warning for a localized manpage, that showed a
"cannot adjust line" warning. The problem seems to be, that the
if-statement, that should avoid the "cannot find numbered character"
warning for localized manpages also excludes the other issues, although
they are IMO not a locale problem. Insteda they are a GROFF issue, that
can be fixed indendent from the locale.

I attach the patch to show the problem and the possible fix.

If I'm wrong with my guess, please simply close this report.

Regards, Daniel


- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (110, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
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.18.1~cvs20080103-3 The GNU assembler, linker and bina
ii  diffstat            1.45-2               produces graph of changes introduc
ii  dpkg-dev            1.14.16.6            package building tools for Debian
ii  file                4.23-2               Determines file type using "magic"
ii  gettext             0.17-2               GNU Internationalization utilities
ii  intltool-debian     0.35.0+20060710.1    Help i18n of RFC822 compliant conf
ii  libparse-debianchan 1.1.1-2              parse Debian changelogs and output
ii  liburi-perl         1.35.dfsg.1-1        Manipulates and accesses URI strin
ii  man-db              2.5.1-3              on-line manual pager
ii  perl [libdigest-md5 5.8.8-12             Larry Wall's Practical Extraction 

lintian recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH9B7fm0bx+wiPa4wRAi3vAJ9pH/moJ2RgnW1Qv4LpEXOcxiR7CACgpidI
ivPJFGIzbTVucUGGCZVoxe8=
=Z05O
-----END PGP SIGNATURE-----
Index: checks/manpages
===================================================================
--- checks/manpages	(Revision 1267)
+++ checks/manpages	(Arbeitskopie)
@@ -295,8 +295,6 @@
 	    # ignore 8bit character errors on localized man pages
 	    if ($lang ne "") {
 		next if /warning: can\'t find numbered character/;
-		next if /warning \[.*\]: cannot adjust line/;
-		next if /warning \[.*\]: can\'t break line/;
 	    }
 	    # ignore common undefined macros from pod2man << Perl 5.10
 	    next if /warning: \`(Tr|IX)\' not defined/;

Reply to: