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

Bug#423229: lintian: false positive for manpage-for-non-x11-binary-in-wrong-directory



Kevin B McCarty <kmccarty@Princeton.EDU> writes:

> Package: lintian
> Version: 1.23.30
> Tags: patch

> Hi,

> Lintian has a false positive for
> manpage-for-non-x11-binary-in-wrong-directory on my package "paw" as a
> result of a binary having "X11" in its name:

>> benjo2 (sid)[28]:~/Debian/PAW% lintian -i paw_2.14.04.dfsg.2-1_i386.changes 
>> E: paw: manpage-for-non-x11-binary-in-wrong-directory usr/bin/pawX11 usr/share/man/man1/pawX11.1.gz
>> N:
>> N:   Manual pages for binaries that are not located in /usr/X11R6/bin
>> N:   should not be installed below /usr/X11R6/man, but below
>> N:   /usr/share/man.
>> N:   
>> N:   Note that moving a binary into /usr/X11R6/bin is almost never the
>> N:   proper solution for this problem; move the manual page instead.
>> N:

> I'm attaching a trivial patch against lintian-1.23.30/checks/manpages
> which may or may not be right, since my Perl is not so good.  The patch
> does prevent the false positive, and Lintian was still able to pick up
> on a manpage that I deliberately installed to usr/X11R6/man/man1 in a
> test .deb.

Looks reasonable to me.  I fixed the same thing in a few more places.

> Instead of applying my patch, however, it actually might make more sense
> to remove this check completely.  Since installing to /usr/X11R6 is now
> a no-no anyway, this check seems to be superseded by
> "package-installs-file-to-usr-x11r6".

I thought about doing that, but this is testing something slightly
different and maybe it's still useful for people with old backports or
something.  I'm leaving it for now until we work out some more general
policy about old tests like this.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: