NetBSD Problem Report #46631

From www@NetBSD.org  Tue Jun 26 04:46:09 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 62B0A63BA27
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 26 Jun 2012 04:46:09 +0000 (UTC)
Message-Id: <20120626044608.5740663B85F@www.NetBSD.org>
Date: Tue, 26 Jun 2012 04:46:08 +0000 (UTC)
From: nubisci@gmail.com
Reply-To: nubisci@gmail.com
To: gnats-bugs@NetBSD.org
Subject: apropos always returns error
X-Send-Pr-Version: www-1.0

>Number:         46631
>Category:       bin
>Synopsis:       apropos always returns error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 26 04:50:01 +0000 2012
>Closed-Date:    Tue Sep 08 08:55:40 +0000 2015
>Last-Modified:  Tue Sep 08 08:55:40 +0000 2015
>Originator:     I'Khala X
>Release:        6.99.7
>Organization:
LowTech Industries
>Environment:
NetBSD ronin.nubiscilabs.net 6.99.7 NetBSD 6.99.7 (RONIN) #0: Mon Jun  4 11:43:47 EDT 2012  toor@ronin.nubiscilabs.net:/usr/obj/sys/arch/amd64/compile/RONIN amd64
>Description:
I am unable to use apropos.  It always returns the following:

[ronin:derv0]% apropos man
apropos: Unable to query schema version: disk I/O error

I've rebuilt a number of times and have rebuilt the sources for makemandb
to no avail.


>How-To-Repeat:
man "any command"
>Fix:

>Release-Note:

>Audit-Trail:
From: Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>
To: gnats-bugs@netbsd.org
Cc: port-ia64-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Subject: Re: port-ia64/46631: apropos always returns error
Date: Tue, 26 Jun 2012 13:02:23 +0530

 On Tue, Jun 26, 2012 at 10:20 AM,  <nubisci@gmail.com> wrote:
 >>Number: =A0 =A0 =A0 =A0 46631
 >>Category: =A0 =A0 =A0 port-ia64
 >>Synopsis: =A0 =A0 =A0 apropos always returns error
 >>Confidential: =A0 no
 >>Severity: =A0 =A0 =A0 serious
 >>Priority: =A0 =A0 =A0 medium
 >>Responsible: =A0 =A0port-ia64-maintainer
 >>State: =A0 =A0 =A0 =A0 =A0open
 >>Class: =A0 =A0 =A0 =A0 =A0sw-bug
 >>Submitter-Id: =A0 net
 >>Arrival-Date: =A0 Tue Jun 26 04:50:01 +0000 2012
 >>Originator: =A0 =A0 I'Khala X
 >>Release: =A0 =A0 =A0 =A06.99.7
 >>Organization:
 > LowTech Industries
 >>Environment:
 > NetBSD ronin.nubiscilabs.net 6.99.7 NetBSD 6.99.7 (RONIN) #0: Mon Jun =A0=
 4 11:43:47 EDT 2012 =A0toor@ronin.nubiscilabs.net:/usr/obj/sys/arch/amd64/c=
 ompile/RONIN amd64
 >>Description:
 > I am unable to use apropos. =A0It always returns the following:
 >
 > [ronin:derv0]% apropos man
 > apropos: Unable to query schema version: disk I/O error
 >
 > I've rebuilt a number of times and have rebuilt the sources for makemandb
 > to no avail.
 >
 >
 >>How-To-Repeat:
 > man "any command"
 >>Fix:
 >

 Just want to make sure: did you try `makemandb -f` ?

 Thanks
 Abhinav

From: "I'Khala X" <nubisci@gmail.com>
To: gnats-bugs@netbsd.org
Cc: Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>, port-ia64-maintainer@netbsd.org, 
	netbsd-bugs@netbsd.org
Subject: Re: port-ia64/46631: apropos always returns error
Date: Tue, 26 Jun 2012 15:32:50 -0400

 --90e6ba30982606e08a04c3652a97
 Content-Type: text/plain; charset=ISO-8859-1

 Hello.
 Yes I did.  I also ran it after deleting the man db files under /var/db ...

 ./i'khala


 On Tue, Jun 26, 2012 at 3:35 AM, Abhinav Upadhyay <
 er.abhinav.upadhyay@gmail.com> wrote:

 > The following reply was made to PR port-ia64/46631; it has been noted by
 > GNATS.
 >
 > From: Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>
 > To: gnats-bugs@netbsd.org
 > Cc: port-ia64-maintainer@netbsd.org, gnats-admin@netbsd.org,
 >        netbsd-bugs@netbsd.org
 > Subject: Re: port-ia64/46631: apropos always returns error
 > Date: Tue, 26 Jun 2012 13:02:23 +0530
 >
 >  On Tue, Jun 26, 2012 at 10:20 AM,  <nubisci@gmail.com> wrote:
 >  >>Number: =A0 =A0 =A0 =A0 46631
 >  >>Category: =A0 =A0 =A0 port-ia64
 >  >>Synopsis: =A0 =A0 =A0 apropos always returns error
 >  >>Confidential: =A0 no
 >  >>Severity: =A0 =A0 =A0 serious
 >  >>Priority: =A0 =A0 =A0 medium
 >  >>Responsible: =A0 =A0port-ia64-maintainer
 >  >>State: =A0 =A0 =A0 =A0 =A0open
 >  >>Class: =A0 =A0 =A0 =A0 =A0sw-bug
 >  >>Submitter-Id: =A0 net
 >  >>Arrival-Date: =A0 Tue Jun 26 04:50:01 +0000 2012
 >  >>Originator: =A0 =A0 I'Khala X
 >  >>Release: =A0 =A0 =A0 =A06.99.7
 >  >>Organization:
 >  > LowTech Industries
 >  >>Environment:
 >  > NetBSD ronin.nubiscilabs.net 6.99.7 NetBSD 6.99.7 (RONIN) #0: Mon Jun
 > =A0=
 >  4 11:43:47 EDT 2012 =A0toor@ronin.nubiscilabs.net:
 > /usr/obj/sys/arch/amd64/c=
 >  ompile/RONIN amd64
 >  >>Description:
 >  > I am unable to use apropos. =A0It always returns the following:
 >  >
 >  > [ronin:derv0]% apropos man
 >  > apropos: Unable to query schema version: disk I/O error
 >  >
 >  > I've rebuilt a number of times and have rebuilt the sources for
 > makemandb
 >  > to no avail.
 >  >
 >  >
 >  >>How-To-Repeat:
 >  > man "any command"
 >  >>Fix:
 >  >
 >
 >  Just want to make sure: did you try `makemandb -f` ?
 >
 >  Thanks
 >  Abhinav
 >
 >

 --90e6ba30982606e08a04c3652a97
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable

 Hello.<br>Yes I did.=A0 I also ran it after deleting the man db files under=
  /var/db ...<br><br>./i&#39;khala<br><br><br><div class=3D"gmail_quote">On =
 Tue, Jun 26, 2012 at 3:35 AM, Abhinav Upadhyay <span dir=3D"ltr">&lt;<a hre=
 f=3D"mailto:er.abhinav.upadhyay@gmail.com" target=3D"_blank">er.abhinav.upa=
 dhyay@gmail.com</a>&gt;</span> wrote:<br>

 <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
 x #ccc solid;padding-left:1ex">The following reply was made to PR port-ia64=
 /46631; it has been noted by GNATS.<br>
 <br>
 From: Abhinav Upadhyay &lt;<a href=3D"mailto:er.abhinav.upadhyay@gmail.com"=
  target=3D"_blank">er.abhinav.upadhyay@gmail.com</a>&gt;<br>
 To: <a href=3D"mailto:gnats-bugs@netbsd.org" target=3D"_blank">gnats-bugs@n=
 etbsd.org</a><br>
 Cc: <a href=3D"mailto:port-ia64-maintainer@netbsd.org" target=3D"_blank">po=
 rt-ia64-maintainer@netbsd.org</a>, <a href=3D"mailto:gnats-admin@netbsd.org=
 " target=3D"_blank">gnats-admin@netbsd.org</a>,<br>
  =A0 =A0 =A0 =A0<a href=3D"mailto:netbsd-bugs@netbsd.org" target=3D"_blank"=
 >netbsd-bugs@netbsd.org</a><br>
 Subject: Re: port-ia64/46631: apropos always returns error<br>
 Date: Tue, 26 Jun 2012 13:02:23 +0530<br>
 <br>
 =A0On Tue, Jun 26, 2012 at 10:20 AM, =A0&lt;<a href=3D"mailto:nubisci@gmail=
 .com" target=3D"_blank">nubisci@gmail.com</a>&gt; wrote:<br>
 =A0&gt;&gt;Number: =3DA0 =3DA0 =3DA0 =3DA0 46631<br>
 =A0&gt;&gt;Category: =3DA0 =3DA0 =3DA0 port-ia64<br>
 =A0&gt;&gt;Synopsis: =3DA0 =3DA0 =3DA0 apropos always returns error<br>
 =A0&gt;&gt;Confidential: =3DA0 no<br>
 =A0&gt;&gt;Severity: =3DA0 =3DA0 =3DA0 serious<br>
 =A0&gt;&gt;Priority: =3DA0 =3DA0 =3DA0 medium<br>
 =A0&gt;&gt;Responsible: =3DA0 =3DA0port-ia64-maintainer<br>
 =A0&gt;&gt;State: =3DA0 =3DA0 =3DA0 =3DA0 =3DA0open<br>
 =A0&gt;&gt;Class: =3DA0 =3DA0 =3DA0 =3DA0 =3DA0sw-bug<br>
 =A0&gt;&gt;Submitter-Id: =3DA0 net<br>
 =A0&gt;&gt;Arrival-Date: =3DA0 Tue Jun 26 04:50:01 +0000 2012<br>
 =A0&gt;&gt;Originator: =3DA0 =3DA0 I&#39;Khala X<br>
 =A0&gt;&gt;Release: =3DA0 =3DA0 =3DA0 =3DA06.99.7<br>
 =A0&gt;&gt;Organization:<br>
 =A0&gt; LowTech Industries<br>
 =A0&gt;&gt;Environment:<br>
 =A0&gt; NetBSD <a href=3D"http://ronin.nubiscilabs.net" target=3D"_blank">r=
 onin.nubiscilabs.net</a> 6.99.7 NetBSD 6.99.7 (RONIN) #0: Mon Jun =3DA0=3D<=
 br>
 =A04 11:43:47 EDT 2012 =3DA0toor@ronin.nubiscilabs.net:/usr/obj/sys/arch/am=
 d64/c=3D<br>
 =A0ompile/RONIN amd64<br>
 =A0&gt;&gt;Description:<br>
 =A0&gt; I am unable to use apropos. =3DA0It always returns the following:<b=
 r>
 =A0&gt;<br>
 =A0&gt; [ronin:derv0]% apropos man<br>
 =A0&gt; apropos: Unable to query schema version: disk I/O error<br>
 =A0&gt;<br>
 =A0&gt; I&#39;ve rebuilt a number of times and have rebuilt the sources for=
  makemandb<br>
 =A0&gt; to no avail.<br>
 =A0&gt;<br>
 =A0&gt;<br>
 =A0&gt;&gt;How-To-Repeat:<br>
 =A0&gt; man &quot;any command&quot;<br>
 =A0&gt;&gt;Fix:<br>
 =A0&gt;<br>
 <br>
 =A0Just want to make sure: did you try `makemandb -f` ?<br>
 <br>
 =A0Thanks<br>
 <span><font color=3D"#888888">=A0Abhinav<br>
 <br>
 </font></span></blockquote></div><br>

 --90e6ba30982606e08a04c3652a97--

Responsible-Changed-From-To: port-ia64-maintainer->bin-bug-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Tue, 26 Jun 2012 19:42:46 +0000
Responsible-Changed-Why:
Not port-specific. (Also, submitter is using amd64, not ia64)


From: =?ISO-8859-1?Q?Uwe_Kr=FCger?= <uwe_debbug@arcor.de>
To: gnats-bugs@netbsd.org
Cc: dholland@NetBSD.org
Subject: Re: bin/46631: apropos always returns error
Date: Fri, 07 Sep 2012 20:31:19 +0200

 I have the same problem (NetBSD-6.1_RC1 amd64): "apropos <anything>" 
 aborts with the error:
 apropos: Unable to query schema version: disk I/O error

 In my case, the root cause of the problem is makemandb aborting with
 a memory fault at a specific manual page:

 # makemandb -f -v
 Building temporary file cache
 Parsing: /usr/share/man/man1/atari/msconfig.1
 ... lots of other manual pages ...
 Parsing: /usr/pkg/man/man1/ksh93.1
 Memory fault (core dumped)

 The error does not occur if I delete the package ast-ksh which provides
 the ksh93 manual page. Alternatively it is possible to remove the case
 differentiations at the beginning of the ksh93 manual page. (I'm not 
 really familiar with *roff-syntax, so I do not dare to submit a patch...)

 Best Regards,
 Uwe

From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: bin/46631: apropos always returns error
Date: Fri, 20 Mar 2015 15:13:28 -0400

 This appears to be the very same issue that was reported in bin/47448
 and resolved two years ago. The one specific cause given is identical
 (the man page ksh93.1), so this likely can be closed.

 Dave

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 08 Sep 2015 08:55:40 +0000
State-Changed-Why:
Duplicate of 47448, which has been fixed.


>Unformatted:

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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.