NetBSD-Bugs archive

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

bin/57640: makemandb is too verbose



>Number:         57640
>Category:       bin
>Synopsis:       makemandb is too verbose
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 03 01:40:01 +0000 2023
>Originator:     Valery Ushakov
>Release:        NetBSD 10
>Organization:
>Environment:
NetBSD snips 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Sun Oct  1 21:25:41 MSK 2023  uwe@majava:/home/uwe/work/netbsd/cvs/src-release-10/sys/arch/macppc/compile/GENERIC macppc

>Description:
Daily run invokes makemandb -Q, but despite -Q it still reports all
updated man pages:

  Updating man page index:
  makemandb: Trying to update index for /usr/pkg/man/man5/hgrc.5
  makemandb: Trying to update index for /usr/pkg/man/man5/hgignore.5
  makemandb: Trying to update index for /usr/pkg/man/man5/pkgconf-personality.5
  ...

That can run up to a few thousands man pages after a large pkgsrc update.

>How-To-Repeat:
You can trivially change some man page and run makemandb -Q.  Observe
it reporting the update.

The messages comes from

  warnx("Trying to update index for %s", rec->file_path);

in usr.sbin/makemandb/makemandb.c:1703 in insert_into_db

I don't know enough about makemandb to tell why this is a warning.  Indexing updated man pages is its raison d'être.
>Fix:



Home | Main Index | Thread Index | Old Index