#751935 mandb reports a test failure for a whatis conformance in a cat-directory

Package:
man-db
Source:
man-db
Description:
tools for reading manual pages
Submitter:
Bjarni Ingi Gislason
Date:
2014-06-20 01:45:13 UTC
Severity:
normal
#751935#5
Date:
2014-06-18 00:08:09 UTC
From:
To:
Dear maintainers,

   * What led up to the situation?

  Output from /usr/bin/mandb:

/usr/bin/mandb: warning: /var/cache/man/cat1/mupdf.1.gz: whatis parse for mupdf(1) failed

   * What outcome did you expect instead?

  No output, as all files in my cat-directories (should) fail the
whatis test.  They are formatted files and contain therefore an escape
sequnece in the "NAME"-line.

#751935#14
Date:
2014-06-18 10:17:24 UTC
From:
To:
mandb already seems to do the right things to handle the format of cat
pages, and I can't seem to provoke this error here.  Could you please
attach /var/cache/man/cat1/mupdf.1.gz so that I can investigate further?

Thanks,

#751935#19
Date:
2014-06-19 18:59:36 UTC
From:
To:
  I have here another file (attachment), test.1.gz (from my
cat1-directory), that could be on your computer or (unformatted) in
your man1-directory.

#751935#24
Date:
2014-06-20 01:42:55 UTC
From:
To:
  The warning is issued, when only a cat-file exists.  When I ran
"/etc/cron.weekly/man-db" (changed, directing error output to a file),
I got for example this

Updating index cache for path `/usr/share/man/man1'. Wait...
done.
Checking for stray cats under /usr/share/man...
Checking for stray cats under /var/cache/man...
/usr/bin/mandb: warning: /var/cache/man/cat1/CACHEDIR.TAG: ignoring bogus filename
col: Invalid or incomplete multibyte or wide character
/usr/bin/mandb: warning: /var/cache/man/cat1/mupdf.1.gz: whatis parse for mupdf(1) failed

  The mupdf.1.gz cat1-file is in the attacment

N.B. To the warning from "col" the name of the offending file should be
added.