Subject: Re: pkgsrc error messages
To: Johnny C. Lam <jlam@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 01/10/2005 09:55:43
On Mon, 10 Jan 2005 06:51:05 +0000
"Johnny C. Lam" <jlam@NetBSD.org> wrote:

> I'm frustrated with users reporting problems without providing enough
> information upfront.  It's frustrating because there are times that
> I'd like to help, but can't spare the time to have a dialogue with the
> bug reporter.  Also, I feel that there are many smart users that have
> the ability to begin debugging the problems themselves if they just
> knew where to look.
> 
> I'd like to remedy this by making pkgsrc prompt the user for the proper
> debugging information to submit.  Please review the attached patch,
> which adds the notion of error messages to make targets.  I'm sure that
> we could improve on the error message themselves in the future, so I'm
> more concerned with whether this idea is worthwhile, and whether this
> implementation is good enough for our needs.

Sounds like a good idea!

Just a minor nit.  When saying 'config.log', I think it'd be better to
put the whole path to it.  And maybe just say this in the case where
GNU_CONFIGURE=yes (other configure scripts may not provide this log
file).

Cheers

-- 
Julio M. Merino Vidal <jmmv@menta.net>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/