NetBSD Problem Report #18273

Received: (qmail 15691 invoked by uid 605); 12 Sep 2002 08:00:07 -0000
Message-Id: <200209120800.g8C802Z00431@nelly.aprisoft.de>
Date: Thu, 12 Sep 2002 10:00:02 +0200 (CEST)
From: Martin Husemann <martin@aprisoft.de>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: martin@aprisoft.de
To: gnats-bugs@gnats.netbsd.org
Subject: man(1) does not find sparc(4) files on sparc64
X-Send-Pr-Version: 3.95

>Number:         18273
>Category:       bin
>Synopsis:       man(1) does not find sparc(4) files on sparc64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    christos
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 12 08:01:01 +0000 2002
>Closed-Date:    Sat Jul 10 23:05:27 +0000 2010
>Last-Modified:  Sat Jul 10 23:05:27 +0000 2010
>Originator:     Martin Husemann
>Release:        NetBSD 1.6H
>Organization:
>Environment:
System: NetBSD nelly.aprisoft.de 1.6H NetBSD 1.6H (NELLY) #1: Wed Sep 11 20:27:24 CEST 2002 martin@nelly:/usr/src/sys/arch/sparc64/compile/NELLY sparc64
Architecture: sparc64
Machine: sparc64
>Description:

The sparc(4) man pages (i.e. for most sbus drivers) are installed on sparc64
systems in /usr/share/man/cat4/sparc - but invoking man(1) for them does
not work.

>How-To-Repeat:

on a sparc64 system:  man nell

>Fix:
n/a
>Release-Note:
>Audit-Trail:

From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
To: Martin Husemann <martin@aprisoft.de>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: bin/18273: man(1) does not find sparc(4) files on sparc64
Date: Thu, 12 Sep 2002 11:22:28 +0200

 On Thu, Sep 12, 2002 at 10:00:02AM +0200, Martin Husemann wrote:
 > The sparc(4) man pages (i.e. for most sbus drivers) are installed on sparc64
 > systems in /usr/share/man/cat4/sparc - but invoking man(1) for them does
 > not work.

 man only finds the files in the current arch's subdir, the rest it
 doesn't find, sparc vs. sparc64 is in no way particular.

 Should we change it to search all subdirs? But then, why have subdirs
 at all?

 Or should we just install the sparc files in the sparc64 dir too? Or
 just particular files? Which ones?

 Bye,
  Thomas

 -- 
 Thomas Klausner - wiz@danbala.ifoer.tuwien.ac.at
 Main Rule of Usenet:  Never argue with idiots.  They drag you down to
 their level, then beat you with experience.

From: "Erik E. Fair" <fair@NetBSD.org>
To: NetBSD GNATS Bug Tracking System <gnats-bugs@NetBSD.org>
Cc: wiz@NetBSD.org
Subject: Re: bin/18273
Date: Tue, 3 Jun 2003 15:56:36 -0700

 Our answer to this problem has always been to move man pages for 
 hardware common to more than one architecture up into the MI man4 
 directory. As befits NetBSD, a highly hardware independent OS, we 
 have a more man pages in the MI directory than in the MD ones. To see 
 what one such man page looks like, see le(4).

 The other possibility would be to link the man page over to the other 
 appropriate directories, as part of the build/install process. we'd 
 have to decide where the canonical location for the master files will 
 be.

 A quick investigation shows:

 1. we have no man4.sparc64 subdirectory.

 2. there are many duplicate man pages between sun3 and sparc (e.g. 
 the graphics devices) for what are MI drivers (see src/sys/dev/sun) 
 in that they are common to many different Sun systems (and who knows? 
 Some of these might even work for the Sun 386i box that some people 
 are working on again).

 We should clean this up before the next release.

 	Erik <fair@netbsd.org>
Responsible-Changed-From-To: bin-bug-people->christos
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Fri, 09 Jul 2010 10:02:55 +0000
Responsible-Changed-Why:
Christos, while dealing with the x86 stuff, could you please handle this
as well? Thanks!


From: Christos Zoulas <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/18273 CVS commit: src/etc
Date: Fri, 9 Jul 2010 11:08:09 -0400

 Module Name:	src
 Committed By:	christos
 Date:		Fri Jul  9 15:08:09 UTC 2010

 Modified Files:
 	src/etc: man.conf

 Log Message:
 make sparc64 search for sparc man pages for now. It might be better in
 the long run to choose a different name for shared drivers though. Fixes
 PR/18273.


 To generate a diff of this commit:
 cvs rdiff -u -r1.24 -r1.25 src/etc/man.conf

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 10 Jul 2010 23:05:27 +0000
State-Changed-Why:
Fixed (or do we want this in -5?)


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