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

Bug#417912: lintian: tells about missing manpage on incorrect _binary_ location



Eduard Bloch <blade@debian.org> writes:

> Package: lintian
> Version: 1.23.28
> Severity: normal

> Hello,

> due to a packaging bug we got the binaries installed into the wrong
> location:

> /usr/bin/bin
> /usr/bin/bin/svn-inject
> /usr/bin/bin/svn-buildpackage
> /usr/bin/bin/svn-upgrade

> However, instead of identifying that and saying something like "inproper
> subdirectory /usr/bin/bin" lintian keeps telling:

> W: svn-buildpackage: manpage-has-errors-from-man usr/share/man/man1/svn-inject.1.gz 53: warning: can't find numbered character 195
> W: svn-buildpackage: manpage-has-errors-from-man usr/share/man/man1/uclean.1.gz 22: warning: can't find numbered character 195
> W: svn-buildpackage: manpage-has-errors-from-man usr/share/man/man1/svn-buildpackage.1.gz 211: warning: can't find numbered character 195
> W: svn-buildpackage: manpage-has-errors-from-man usr/share/man/man1/svn-upgrade.1.gz 43: warning: can't find numbered character 195
> W: svn-buildpackage: binary-without-manpage SDCommon.pm
> W: svn-buildpackage: binary-without-manpage svn-buildpackage.1
> W: svn-buildpackage: binary-without-manpage svn-inject.1
> W: svn-buildpackage: binary-without-manpage svn-upgrade.1
> W: svn-buildpackage: binary-without-manpage uclean.1
> W: svn-buildpackage: executable-not-elf-or-script ./usr/bin/share/man/man1/uclean.1
> W: svn-buildpackage: executable-not-elf-or-script ./usr/bin/share/man/man1/svn-inject.1
> W: svn-buildpackage: executable-not-elf-or-script ./usr/bin/share/man/man1/svn-upgrade.1
> W: svn-buildpackage: executable-not-elf-or-script ./usr/bin/share/svn-buildpackage/SDCommon.pm
> W: svn-buildpackage: executable-not-elf-or-script ./usr/bin/share/man/man1/svn-buildpackage.1

> At least on the last files one can guess that something is wrong, but it
> is not obvious. It should better display the whole path after
> binary-without-manpage or the last path of the part after /usr/bin.

Yeah, most of those warnings are correct, but lintian was missing several
other problems that should have been diagnosed.  (The errors you got for
the man pages were probably from debhelper making things in usr/bin
executable for you.)

The manpage check should ignore files in subdirectories of usr/bin other
than the legacy X11 and the FHS-blessed mh directories, and creation of
such directories should be diagnosed with an error.  I also agree on
putting the full path in the binary-without-manpage tag.

These changes will be in the next release.

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



Reply to: