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

Bug#546892: marked as done (lintian: [checks/manpages] manpage-has-errors-from-man no longer skipping IX not defined)



Your message dated Wed, 16 Sep 2009 15:56:48 +0100
with message-id <F31FF516F90C4AADAFA02C4A551238D6@andromeda>
and subject line Re: Bug#546892: lintian: [checks/manpages] manpage-has-errors-from-man no longer skipping IX not defined
has caused the Debian Bug report #546892,
regarding lintian: [checks/manpages] manpage-has-errors-from-man no longer skipping IX not defined
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
546892: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546892
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.2.14
Severity: normal


I've noticed lintian has started warning about non-definition of IX.
Officially the test is supposed to ignore these warning, but it would seem
that groff's warning format has changed, since I get the warning:

W: am-utils: manpage-has-errors-from-man usr/share/man/man8/fixmount.8.gz 58: warning: macro `IX' not defined

The following tiny patch fixes the issue:

--- checks/manpages.orig	2009-09-16 11:08:38.818780091 +0200
+++ checks/manpages	2009-09-16 11:11:30.250796729 +0200
@@ -264,7 +264,7 @@
 	    next if /:(\d+): warning \[.*\]: (can\'t break|cannot adjust) line/
 		and $manfile[$1 - 1] =~ m,(?:http|ftp)://.+,i;
 	    # ignore common undefined macros from pod2man << Perl 5.10
-	    next if /warning: \`(Tr|IX)\' not defined/;
+	    next if /warning: (macro )?\`(Tr|IX)\' not defined/;
 	    chomp;
 	    s/^[^:]+://o;
 	    tag "manpage-has-errors-from-man", "$file", "$_";

Regards,

Tim

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils              2.19.51.20090723-1 The GNU assembler, linker and bina
ii  diffstat              1.47-1             produces graph of changes introduc
ii  dpkg-dev              1.15.3.1           Debian package development tools
ii  file                  5.03-1             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  libipc-run-perl       0.84-1             Perl module for running processes
ii  libparse-debianchange 1.1.1-2            parse Debian changelogs and output
ii  libtimedate-perl      1.1600-9           Time and date functions for Perl
ii  liburi-perl           1.37+dfsg-1        Manipulates and accesses URI strin
ii  man-db                2.5.6-1            on-line manual pager
ii  perl [libdigest-sha-p 5.10.0-25          Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch            <none>     (no description available)
pn  libtext-template-perl         <none>     (no description available)
ii  man-db                        2.5.6-1    on-line manual pager

-- no debconf information


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 



--- End Message ---
--- Begin Message ---
Version: 2.2.15

Hi,

Tim Cutts wrote:
I've noticed lintian has started warning about non-definition of IX.
Officially the test is supposed to ignore these warning, but it would
seem that groff's warning format has changed, since I get the warning:
[...]
-     next if /warning: \`(Tr|IX)\' not defined/;
+     next if /warning: (macro )?\`(Tr|IX)\' not defined/;

This was already fixed in Lintian 2.2.15, which was uploaded on Monday (using a very similar but not quite identical patch :-)

Regards,

Adam
--- End Message ---

Reply to: