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

Bug#495713: lintian: false positive for incorrect pic macro usage in manual pages



Package: lintian
Version: 1.24.2.1
Severity: normal

If a man page contains

'\" p

on the first line, it tells man that it needs preprocessing with pic(1).
pic(1) requires the use of .PS and .PE (PIC start and PIC end) macros,
between which the pic drawing is specified.

wanna-build.1 (wanna-build, source sbuild) is flagged by lintian:

% lintian -i sbuild_0.57.4-1_i386.changes
W: wanna-build: manpage-has-errors-from-man usr/share/man/man1/wanna-build.1.gz 55: warning: `PS' not defined

However, man(1) when invoked by a user does not issue any warnings,
because the manual page is correct.

Please could you teach lintian to allow .PS/.PE macros if pic is
enabled.  The same also applies to tbl (.TS etc.), eqn and other
packages also supported by man.  If man is being invoked to do the
check, perhaps some option is missing?


Regards,
Roger

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

Kernel: Linux 2.6.20.3-bytemark-uml-2
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  diffstat            1.45-2               produces graph of changes introduc
ii  dpkg-dev            1.14.20              Debian package development tools
ii  file                4.25-1               Determines file type using "magic"
ii  gettext             0.17-3               GNU Internationalization utilities
ii  intltool-debian     0.35.0+20060710.1    Help i18n of RFC822 compliant conf
ii  libdigest-sha-perl  5.47-1               Perl extension for SHA-1/224/256/3
ii  libparse-debianchan 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.35.dfsg.1-1        Manipulates and accesses URI strin
ii  man-db              2.5.2-2              on-line manual pager
ii  perl [libdigest-sha 5.10.0-11.1          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.2-2    on-line manual pager

-- no debconf information



Reply to: