Package: man-db
Version: 2.5.0-4
Severity: normal

The whatis utility fails to detect the subject for some commands.
For instance:

vin:~> whatis xtermcontrol
xtermcontrol (1)     - (unknown subject)

I've attached what I obtain with the --debug option.

The beginning of the xtermcontrol.1 file:

.\" troff
.ds x xtermcontrol
.TH XTERMCONTROL 1 "September 03, 2007" "xtermcontrol 2.9" "User Commands"
.SH NAME
.\" the x macro is the package name
\*x \- dynamic control of XFree86 xterm properties.

Perhaps because of the string variable?

Same problem for rxvt-xterm, whose man page starts with:

.TH "RXVT" "1" "02 NOVEMBER 2001" "X Version 11" "X Tools" 
.SH "NAME" 
rxvt (ouR XVT) \- a VT102 emulator for the X window system

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

Kernel: Linux 2.6.23-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages man-db depends on:
ii  bsdmainutils           6.1.10            collection of more utilities from 
ii  debconf [debconf-2.0]  1.5.18            Debian configuration management sy
ii  dpkg                   1.14.16.6         package maintenance system for Deb
ii  groff-base             1.18.1.1-16       GNU troff text-formatting system (
ii  libc6                  2.7-6             GNU C Library: Shared libraries
ii  libgdbm3               1.8.3-3           GNU dbm database routines (runtime
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

man-db recommends no packages.

-- debconf information:
  man-db/build-database: true
  man-db/rebuild-database: true
  man-db/install-setuid: false
>From the config file /etc/manpath.config:

Mandatory mandir `/usr/man'.
Mandatory mandir `/usr/share/man'.
Mandatory mandir `/usr/local/man'.
Path `/bin' mapped to mandir `/usr/share/man'.
Path `/usr/bin' mapped to mandir `/usr/share/man'.
Path `/sbin' mapped to mandir `/usr/share/man'.
Path `/usr/sbin' mapped to mandir `/usr/share/man'.
Path `/usr/local/bin' mapped to mandir `/usr/local/man'.
Path `/usr/local/bin' mapped to mandir `/usr/local/share/man'.
Path `/usr/local/sbin' mapped to mandir `/usr/local/man'.
Path `/usr/local/sbin' mapped to mandir `/usr/local/share/man'.
Path `/usr/X11R6/bin' mapped to mandir `/usr/X11R6/man'.
Path `/usr/bin/X11' mapped to mandir `/usr/X11R6/man'.
Path `/usr/games' mapped to mandir `/usr/share/man'.
Path `/opt/bin' mapped to mandir `/opt/man'.
Path `/opt/sbin' mapped to mandir `/opt/man'.
Global mandir `/usr/man', catdir `/var/cache/man/fsstnd'.
Global mandir `/usr/share/man', catdir `/var/cache/man'.
Global mandir `/usr/local/man', catdir `/var/cache/man/oldlocal'.
Global mandir `/usr/local/share/man', catdir `/var/cache/man/local'.
Global mandir `/usr/X11R6/man', catdir `/var/cache/man/X11R6'.
Global mandir `/opt/man', catdir `/var/cache/man/opt'.
Added section `1'.
Added section `n'.
Added section `l'.
Added section `8'.
Added section `3'.
Added section `2'.
Added section `3posix'.
Added section `3pm'.
Added section `3perl'.
Added section `5'.
Added section `4'.
Added section `9'.
Added section `6'.
Added section `7'.
`/usr/man'      `'      `1'
`/usr/share/man'        `'      `1'
`/usr/local/man'        `'      `1'
`/bin'  `/usr/share/man'        `0'
`/usr/bin'      `/usr/share/man'        `0'
`/sbin' `/usr/share/man'        `0'
`/usr/sbin'     `/usr/share/man'        `0'
`/usr/local/bin'        `/usr/local/man'        `0'
`/usr/local/bin'        `/usr/local/share/man'  `0'
`/usr/local/sbin'       `/usr/local/man'        `0'
`/usr/local/sbin'       `/usr/local/share/man'  `0'
`/usr/X11R6/bin'        `/usr/X11R6/man'        `0'
`/usr/bin/X11'  `/usr/X11R6/man'        `0'
`/usr/games'    `/usr/share/man'        `0'
`/opt/bin'      `/opt/man'      `0'
`/opt/sbin'     `/opt/man'      `0'
`/usr/man'      `/var/cache/man/fsstnd' `-1'
`/usr/share/man'        `/var/cache/man'        `-1'
`/usr/local/man'        `/var/cache/man/oldlocal'       `-1'
`/usr/local/share/man'  `/var/cache/man/local'  `-1'
`/usr/X11R6/man'        `/var/cache/man/X11R6'  `-1'
`/opt/man'      `/var/cache/man/opt'    `-1'
`1'     `'      `-5'
`n'     `'      `-5'
`l'     `'      `-5'
`8'     `'      `-5'
`3'     `'      `-5'
`2'     `'      `-5'
`3posix'        `'      `-5'
`3pm'   `'      `-5'
`3perl' `'      `-5'
`5'     `'      `-5'
`4'     `'      `-5'
`9'     `'      `-5'
`6'     `'      `-5'
`7'     `'      `-5'

path directory /home/vlefevre/bin is not in the config file
but does have a ../man or man subdirectory
adding /home/vlefevre/man to manpath

path directory /home/vlefevre/i686/bin is not in the config file
and doesn't have ../man or man subdirectories

path directory /usr/local/bin is in the config file
warning: /usr/local/man: No such file or directory
warning: /usr/local/share/man: No such file or directory

path directory /usr/bin is in the config file
adding /usr/share/man to manpath

path directory /bin is in the config file
/usr/share/man is already in the manpath

path directory /usr/local/sbin is in the config file
warning: /usr/local/man: No such file or directory
warning: /usr/local/share/man: No such file or directory

path directory /usr/sbin is in the config file
/usr/share/man is already in the manpath

path directory /sbin is in the config file
/usr/share/man is already in the manpath

path directory /usr/games is in the config file
/usr/share/man is already in the manpath

path directory /usr/milip-local/stow/maple-10/maple/bin is not in the config 
file
but does have a ../man or man subdirectory
adding /usr/milip-local/stow/maple-10/maple/man to manpath

adding mandatory man directories

warning: /usr/man: No such file or directory
/usr/share/man is already in the manpath
warning: /usr/local/man: No such file or directory
add_nls_manpath(): processing 
/home/vlefevre/man:/usr/share/man:/usr/milip-local/stow/maple-10/maple/man
adding /home/vlefevre/man to manpathlist
adding /usr/share/man to manpathlist
adding /usr/milip-local/stow/maple-10/maple/man to manpathlist
lower(xtermcontrol) = "xtermcontrol"
path=/home/vlefevre/man
warning: can't read the fallback whatis text database 
/home/vlefevre/man/whatispath=/usr/share/man
name:      xtermcontrol
sec. ext:  1
section:   1
comp. ext: gz
id:        A
st_mtime   1196975728
pointer:   -
filter:    -
whatis:    

path=/usr/milip-local/stow/maple-10/maple/man
warning: can't read the fallback whatis text database 
/usr/milip-local/stow/maple-10/maple/man/whatishash_free: 0 entries, 0 (0%) 
unique
xtermcontrol (1)     - (unknown subject)

Reply via email to