NetBSD Problem Report #34881

From www@NetBSD.org  Sun Oct 22 19:34:27 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 71EE963B8B9; Sun, 22 Oct 2006 19:34:27 +0000 (UTC)
Message-Id: <20061022193427.71EE963B8B9@narn.NetBSD.org>
Date: Sun, 22 Oct 2006 19:34:27 +0000 (UTC)
From: dhgutteridge@sympatico.ca
Reply-To: dhgutteridge@sympatico.ca
To: gnats-bugs@NetBSD.org
Subject: misc/yelp needs a MESSAGE file added to inform users it needs MANPATH defined if they want to use it to view man pages
X-Send-Pr-Version: www-1.0

>Number:         34881
>Category:       pkg
>Synopsis:       misc/yelp needs a MESSAGE file added to inform users it needs MANPATH defined if they want to use it to view man pages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 22 19:35:00 +0000 2006
>Closed-Date:    
>Last-Modified:  Sun Jan 07 01:39:27 +0000 2007
>Originator:     David H. Gutteridge
>Release:        
>Organization:
>Environment:
>Description:
The Gnome yelp program is written with the assumption that either it is
on a system that has manpath(1) available (in other words, the GNU-
associated version of man(1)), or else the MANPATH environment variable
is defined.  If neither of these are available, it segfaults when users
try to view man pages through it.  I have reported this upstream to
Gnome (http://bugzilla.gnome.org/show_bug.cgi?id=358080).

I'd suggest adding a MESSAGE file for this package that warns users
about this problem, something like:

"If you wish to view man pages through yelp, you will need to have the
MANPATH environment variable defined on any operating system that does
not have manpath(1) available (e.g. NetBSD, OpenBSD, Solaris, HP-UX,
et. al.)."

(This affects NetBSD, but isn't a problem for DragonFly, since the
latter does have manpath(1) available.  In my comment above, I'm
pretty sure Solaris and HP-UX are valid examples too, but I'm not able
to confirm right now.)


>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/34881 CVS commit: pkgsrc/misc/yelp
Date: Mon, 23 Oct 2006 19:36:09 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	drochner
 Date:		Mon Oct 23 19:36:09 UTC 2006

 Modified Files:
 	pkgsrc/misc/yelp: Makefile PLIST distinfo
 Added Files:
 	pkgsrc/misc/yelp/patches: patch-aa

 Log Message:
 -update to 2.16.1
  changes:
  -bugfixes
  -Prefer xulrunner over mozilla
  -translation updates
 -use a fallback for man: lookups if neither a "manpath" binary nor
  a MANPATH env var are present, as a first fix for PR pkg/34881 by
  David H. Gutteridge
  (This can be done better, but for now I'd like just prevent the crash.)


 To generate a diff of this commit:
 cvs rdiff -r1.60 -r1.61 pkgsrc/misc/yelp/Makefile
 cvs rdiff -r1.13 -r1.14 pkgsrc/misc/yelp/PLIST
 cvs rdiff -r1.17 -r1.18 pkgsrc/misc/yelp/distinfo
 cvs rdiff -r0 -r1.5 pkgsrc/misc/yelp/patches/patch-aa

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

State-Changed-From-To: open->feedback
State-Changed-By: obache@netbsd.org
State-Changed-When: Sat, 06 Jan 2007 13:58:19 +0000
State-Changed-Why:
In Gnome's bugzilla, this issue has been fixed in version 2.16.2,
and pkgsrc version is also 2.16.2.
Still need a MESSAGE file?


From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34881 (misc/yelp needs a MESSAGE file added to inform users it needs MAN
Date: Sat, 06 Jan 2007 14:13:57 -0500

 >In Gnome's bugzilla, this issue has been fixed in version 2.16.2,
 >and pkgsrc version is also 2.16.2.
 >Still need a MESSAGE file?

 Hmm, well the problem hasn't been properly fixed by Gnome in 2.16.2,
 they just prevented Yelp from crashing.  If users want to browse any
 man pages that aren't installed under /usr/share/man, they would need
 to define MANPATH.  So it's not a crash issue anymore, but it could be
 perceived as a configuration issue that MESSAGE files will make note
 of.  Whether this one is significant enough to merit a message is
 debatable, it depends if messages are typically only included to say
 "if you want this to work at all, do this" as opposed to "if you want
 this to [work well | be all-inclusive] do this".  (I don't mean to sound
 facetious here, I honestly don't know what pkgsrc's custom is in this
 regard, if the latter standard was applied, that could be quite a lot
 of work across all the packages...)

 Dave


State-Changed-From-To: feedback->open
State-Changed-By: obache@netbsd.org
State-Changed-When: Sun, 07 Jan 2007 01:39:27 +0000
State-Changed-Why:
pkgsrc's policy issue?


>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.