NetBSD Problem Report #41077

From www@NetBSD.org  Thu Mar 26 07:03:09 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id EA1C663BAFE
	for <gnats-bugs@gnats.netbsd.org>; Thu, 26 Mar 2009 07:03:09 +0000 (UTC)
Message-Id: <20090326070309.B2F6263B8BA@www.NetBSD.org>
Date: Thu, 26 Mar 2009 07:03:09 +0000 (UTC)
From: lloyd@must-have-coffee.gen.nz
Reply-To: lloyd@must-have-coffee.gen.nz
To: gnats-bugs@NetBSD.org
Subject: sets.subr is too verbose
X-Send-Pr-Version: www-1.0

>Number:         41077
>Category:       misc
>Synopsis:       sets.subr is too verbose
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 26 07:05:00 +0000 2009
>Closed-Date:    Sat Apr 04 10:20:01 +0000 2009
>Last-Modified:  Sat Apr 04 18:00:02 +0000 2009
>Originator:     Lloyd Parkes
>Release:        5.0_RC2
>Organization:
Must Have Coffee
>Environment:
NetBSD homarid.must-have-coffee.gen.nz 5.0_RC2 NetBSD 5.0_RC2 (GENERIC) #0: Sun Mar  1 22:52:25 NZDT 2009  lloyd@homarid.must-have-coffee.gen.nz:/vol/scratch/obj/i386/sys/arch/i386/compile/GENERIC i386
>Description:
Building syspkgs with MAKEVERBOSE set to 2 or greater causes the build to fail. regpkg complains that makeplist reported errors, but no errors are evident. 

>How-To-Repeat:
./build.sh -N 2 -O /vol/scratch/kobj -T /vol/scratch/ktools -m evbarm -U  syspkgs


>Fix:
Line 318 of version 1.71.2.3 of distrib/sets/sets.subr "echo $l >&2" us causing the problem. regpkg assumes that any output on makeplist's stderr that doesn't start with DEBUG: is an error message. 

I don't know which program is wrong. I suspect that sets.subr is wrong because there is commented out code at another part of it that does use the DEBUG: convention.


>Release-Note:

>Audit-Trail:
From: Alan Barrett <apb@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41077 CVS commit: src/distrib/sets
Date: Sat, 4 Apr 2009 10:08:08 +0000

 Module Name:	src
 Committed By:	apb
 Date:		Sat Apr  4 10:08:08 UTC 2009

 Modified Files:
 	src/distrib/sets: sets.subr

 Log Message:
 All non-error messages printed to stderr by makeplist must begin with
 "DEBUG:", or else regpkg assumes that they are error messages.  Make the
 verbose messages printed by the list_set_files function follow that
 convention.  Fixes PR 41077 from Lloyd Parkes.


 To generate a diff of this commit:
 cvs rdiff -u -r1.81 -r1.82 src/distrib/sets/sets.subr

 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: apb@NetBSD.org
State-Changed-When: Sat, 04 Apr 2009 10:20:01 +0000
State-Changed-Why:
fixed in -current; pullup to netbsd-5 has been requested.


From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41077 CVS commit: [netbsd-5] src/distrib/sets
Date: Sat, 4 Apr 2009 17:56:13 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Sat Apr  4 17:56:13 UTC 2009

 Modified Files:
 	src/distrib/sets [netbsd-5]: sets.subr

 Log Message:
 Pull up following revision(s) (requested by apb in ticket #659):
 	distrib/sets/sets.subr: revision 1.82
 All non-error messages printed to stderr by makeplist must begin with
 "DEBUG:", or else regpkg assumes that they are error messages.  Make the
 verbose messages printed by the list_set_files function follow that
 convention.  Fixes PR 41077 from Lloyd Parkes.


 To generate a diff of this commit:
 cvs rdiff -u -r1.71.2.3 -r1.71.2.4 src/distrib/sets/sets.subr

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

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