NetBSD Problem Report #57640
From www@netbsd.org Tue Oct 3 01:38:23 2023
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 6CEC91A9238
for <gnats-bugs@gnats.NetBSD.org>; Tue, 3 Oct 2023 01:38:23 +0000 (UTC)
Message-Id: <20231003013821.DC5BD1A923A@mollari.NetBSD.org>
Date: Tue, 3 Oct 2023 01:38:21 +0000 (UTC)
From: uwe@stderr.spb.ru
Reply-To: uwe@stderr.spb.ru
To: gnats-bugs@NetBSD.org
Subject: makemandb is too verbose
X-Send-Pr-Version: www-1.0
>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:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.