NetBSD Problem Report #46642

From lloyd@thallid.must-have-coffee.gen.nz  Sat Jun 30 22:11:26 2012
Return-Path: <lloyd@thallid.must-have-coffee.gen.nz>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 9A78863BA27
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 30 Jun 2012 22:11:26 +0000 (UTC)
Message-Id: <20120630221120.E8753349EC7@thallid.must-have-coffee.gen.nz>
Date: Sun,  1 Jul 2012 10:11:20 +1200 (NZST)
From: lloyd@must-have-coffee.gen.nz
Reply-To: lloyd@must-have-coffee.gen.nz
To: gnats-bugs@gnats.NetBSD.org
Subject: insufficient diagnostics from makemandb(8)
X-Send-Pr-Version: 3.95

>Number:         46642
>Category:       bin
>Synopsis:       When makemandb has an error, it doesn't say what the error is.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 30 22:15:00 +0000 2012
>Last-Modified:  Sun Jul 01 05:40:08 +0000 2012
>Originator:     Lloyd Parkes
>Release:        NetBSD 6.0_BETA2
>Organization:
Must Have Coffee
>Environment:
System: NetBSD thallid.must-have-coffee.gen.nz 6.0_BETA2 NetBSD 6.0_BETA2 (XEN3PAE_DOMU) #0: Mon Jun 18 04:48:20 NZST 2012 lloyd@bob:/vol/scratch/build6/obj.i386/sys/arch/i386/compile/XEN3PAE_DOMU i386
Architecture: i386
Machine: i386
>Description:

My daily output email message from cron contains the following text:
	Updating man page index:
	makemandb: Error in indexing /usr/X11R7/man/man3/Xv.3
	makemandb: Error in indexing /usr/X11R7/man/man3/XvSelectVideoNotify.3
	makemandb: Error in indexing /usr/X11R7/man/man3/XvFreeAdaptorInfo.3
	makemandb: Error in indexing /usr/X11R7/man/man3/XvFreeEncodingInfo.3
	...

Unfortunately makemandb won't tell me what is wrong, so it is not possible
to fix the problem.

>How-To-Repeat:

Run makemandb.

>Fix:
Unknown, except that the error reporting in makemandb needs to be improved
so that it is useful.

>Audit-Trail:
From: Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>
To: gnats-bugs@netbsd.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: bin/46642: insufficient diagnostics from makemandb(8)
Date: Sun, 1 Jul 2012 11:09:50 +0530

 On Sun, Jul 1, 2012 at 3:45 AM,  <lloyd@must-have-coffee.gen.nz> wrote:
 >>Number:         46642
 >>Category:       bin
 >>Synopsis:       When makemandb has an error, it doesn't say what the error is.
 >>Confidential:   no
 >>Severity:       serious
 >>Priority:       medium
 >>Responsible:    bin-bug-people
 >>State:          open
 >>Class:          sw-bug
 >>Submitter-Id:   net
 >>Arrival-Date:   Sat Jun 30 22:15:00 +0000 2012
 >>Originator:     Lloyd Parkes
 >>Release:        NetBSD 6.0_BETA2
 >>Organization:
 > Must Have Coffee
 >>Environment:
 > System: NetBSD thallid.must-have-coffee.gen.nz 6.0_BETA2 NetBSD 6.0_BETA2 (XEN3PAE_DOMU) #0: Mon Jun 18 04:48:20 NZST 2012 lloyd@bob:/vol/scratch/build6/obj.i386/sys/arch/i386/compile/XEN3PAE_DOMU i386
 > Architecture: i386
 > Machine: i386
 >>Description:
 >
 > My daily output email message from cron contains the following text:
 >         Updating man page index:
 >         makemandb: Error in indexing /usr/X11R7/man/man3/Xv.3
 >         makemandb: Error in indexing /usr/X11R7/man/man3/XvSelectVideoNotify.3
 >         makemandb: Error in indexing /usr/X11R7/man/man3/XvFreeAdaptorInfo.3
 >         makemandb: Error in indexing /usr/X11R7/man/man3/XvFreeEncodingInfo.3
 >         ...
 >

 I don't see those errors on my system.

 > Unfortunately makemandb won't tell me what is wrong, so it is not possible
 > to fix the problem.

 Sorry, I think you are right, makemandb should give more information
 in case of errors. I will send a patch to fix this. But _generally_
 the problem is with the NAME section of the man page. For example if
 there is an .Nd macro missing, the Name missing or something like
 that.

 Thanks
 Abhinav

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.