Your message dated Mon, 17 Nov 2008 14:17:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#477305: fixed in man-db 2.5.3-1
has caused the Debian Bug report #477305,
regarding man-db: -f option destroys process return code of whatis
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
477305: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477305
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: man-db
Version: 2.5.1-3
Severity: minor

>From the man page for man:

   -f, --whatis
          Equivalent to whatis.  Display a short description from
          the manual page, if available.  See whatis(1) for
          details.

>From the man page for whatis:

    EXIT STATUS
        0    Successful program execution.
 
        1    Usage, syntax or configuration file error.
 
        2    Operational error.
 
        16   No manual pages were found that matched the criteria
             specified.

However, man -f does not use the exit status of whatis; instead, it
always returns a zero exit status:

    $ whatis man; echo $?
    man (7)              - macros to format man pages
    man (1)              - an interface to the on-line reference manuals
    0
    $ man -f man; echo $?
    man (7)              - macros to format man pages
    man (1)              - an interface to the on-line reference manuals
    0
    $ whatis foobar; echo $?
    foobar: nothing appropriate.
    16
    $ man -f foobar; echo $?
    foobar: nothing appropriate.
    0

The output of [man -f --debug foobar] is attached per the
bug-reporting note (but I expect this is a simple case of not
propagating the return code).

   ---> Drake Wilson

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.2 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
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.20            Debian configuration management sy
ii  dpkg                   1.14.18           package maintenance system for Deb
ii  groff-base             1.18.1.1-20       GNU troff text-formatting system (
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libgdbm3               1.8.3-3           GNU dbm database routines (runtime
ii  zlib1g                 1:1.2.3.3.dfsg-12 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
ruid=1000, euid=1000
++priv_drop_count = 1
>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'
Starting pipeline: /usr/bin/whatis -d foobar [input: {0, NULL}, output: {0, 
NULL}]
>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 /usr/local/bin is in the config file
adding /usr/local/man to manpath
adding /usr/local/share/man to manpath

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/games is in the config file
/usr/share/man is already in the manpath

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

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

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

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

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

adding mandatory man directories

warning: /usr/man: No such file or directory
/usr/share/man is already in the manpath
/usr/local/man is already in the manpath
add_nls_manpath(): processing /usr/local/man:/usr/local/share/man:/usr/share/man
adding /usr/share/man/en to manpathlist
adding /usr/local/man to manpathlist
adding /usr/local/share/man to manpathlist
adding /usr/share/man to manpathlist
lower(foobar) = "foobar"
path=/usr/share/man/en
path=/usr/local/man
path=/usr/local/share/man
path=/usr/share/man
foobar: nothing appropriate.
hash_free: 0 entries, 0 (0%) unique
Started "/usr/bin/whatis", pid 31308
Waiting for pipeline: /usr/bin/whatis -d foobar [input: {0, NULL}, output: {0, 
NULL}]
Active processes (1):
  "/usr/bin/whatis" (31308) -> 4096

--- End Message ---
--- Begin Message ---
Source: man-db
Source-Version: 2.5.3-1

We believe that the bug you reported is fixed in the latest version of
man-db, which is due to be installed in the Debian FTP archive:

man-db_2.5.3-1.diff.gz
  to pool/main/m/man-db/man-db_2.5.3-1.diff.gz
man-db_2.5.3-1.dsc
  to pool/main/m/man-db/man-db_2.5.3-1.dsc
man-db_2.5.3-1_i386.deb
  to pool/main/m/man-db/man-db_2.5.3-1_i386.deb
man-db_2.5.3.orig.tar.gz
  to pool/main/m/man-db/man-db_2.5.3.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[EMAIL PROTECTED]> (supplier of updated man-db package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 17 Nov 2008 13:20:59 +0000
Source: man-db
Binary: man-db
Architecture: source i386
Version: 2.5.3-1
Distribution: experimental
Urgency: low
Maintainer: Colin Watson <[EMAIL PROTECTED]>
Changed-By: Colin Watson <[EMAIL PROTECTED]>
Description: 
 man-db     - on-line manual pager
Closes: 477305 480678 481226 482424 482791 482792 482810 483589 483862 483951 
494989
Changes: 
 man-db (2.5.3-1) experimental; urgency=low
 .
   * New upstream release.
     - Cleaned up a number of possible crashes, memory leaks, and missing
       error checks found by the Coverity Scan project.
     - The LANGUAGE environment variable is now tokenised properly, rather
       than only taking the first two characters of each element.
     - man now correctly propagates the exit code of whatis or apropos when
       called with the -f or -k option respectively (closes: #477305).
     - Fix several manual page synopsis problems (thanks, Yuri Kozlov;
       closes: #480678, #481226, #482424, #482791, #482792, #482810, #483589,
       #483862, #483951).
     - Reduce the number of warnings emitted when using an unrecognised
       locale (closes: #494989).
     - manconv and zsoelim are now called internally rather than by executing
       external programs, to improve performance.
     - Manual pages may now be compressed with LZMA (although this is
       probably only worth it for very large pages).
     - Duplicate manual page hierarchies due to symlinks (e.g. /usr/man ->
       /usr/share/man) are detected and removed from the search order.
     - A locale modifier (e.g. @latin) in a directory name must now match the
       locale if the former is set, in addition to the language and
       territory.
     - Bare .so includes (e.g. ".so foo.1" rather than ".so man1/foo.1") now
       work, although only within the same manual page hierarchy for now
       (partially fixes #503472).
   * Add Homepage field.
   * Policy version 3.8.0: no changes required.
   * Pass CFLAGS and LDFLAGS to configure rather than make so that we don't
     have to keep up with the set of warnings that configure decides to
     enable.
Checksums-Sha1: 
 2b11fef3e851fe093e02ae4a81ccebd01337023c 1084 man-db_2.5.3-1.dsc
 d3fc901c23b5ecb88afe12733ae93c60c5d2e874 1851833 man-db_2.5.3.orig.tar.gz
 2505ae779da94a6e3c3baea1f23ae2952b618622 63234 man-db_2.5.3-1.diff.gz
 0ec8831b1537ffa75525a7f304ac411652d6219d 1126040 man-db_2.5.3-1_i386.deb
Checksums-Sha256: 
 e368c5d3b5ba2357b2383cd1f515d659026b1d7888f4b904bc2dca083383b05f 1084 
man-db_2.5.3-1.dsc
 c09beb094d2b35f99abed5a6b385863f2d03164416f899b01c8ef97fd1ebf3ef 1851833 
man-db_2.5.3.orig.tar.gz
 9ebeed796a0847f56ea1fde4f85865128cc7b8223825f73d1a949c4cdd217580 63234 
man-db_2.5.3-1.diff.gz
 1eefd62b81d10e171b142d54f458798151346bd0fb50ef1aae7fc3c5f1424d2d 1126040 
man-db_2.5.3-1_i386.deb
Files: 
 4de2daa6b85ff123e8e0a22dfac7d3b3 1084 doc important man-db_2.5.3-1.dsc
 656507b8ff6abd1b7a9af9692ba22edc 1851833 doc important man-db_2.5.3.orig.tar.gz
 2c4ec77b9dbaf8165091eee967f47bdc 63234 doc important man-db_2.5.3-1.diff.gz
 68609fb26956f107f236b72948859c4a 1126040 doc important man-db_2.5.3-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Colin Watson <[EMAIL PROTECTED]> -- Debian developer

iD8DBQFJIXev9t0zAhD6TNERAsrvAJ9dtxMPKzn5g1N0pMhb5spp67BUJQCghevR
0Nz6GANIbebQCjajRh3QUaE=
=bS1s
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to