NetBSD Problem Report #37284

From he@smistad.uninett.no  Mon Nov  5 10:56:52 2007
Return-Path: <he@smistad.uninett.no>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id EE06163BA4A
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  5 Nov 2007 10:56:51 +0000 (UTC)
Message-Id: <20071105105649.121CC21DC50@smistad.uninett.no>
Date: Mon,  5 Nov 2007 11:56:49 +0100 (CET)
From: he@uninett.no
Reply-To: he@uninett.no
To: gnats-bugs@NetBSD.org
Subject: pkglint could check for an even # of args to CONF_FILES
X-Send-Pr-Version: 3.95

>Number:         37284
>Category:       pkg
>Synopsis:       pkglint could check for an even # of args to CONF_FILES
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 05 11:00:00 +0000 2007
>Last-Modified:  Thu Mar 01 22:38:02 +0000 2012
>Originator:     Havard Eidnes
>Release:        NetBSD 3.1_STABLE
>Organization:
	UNINETT AS
>Environment:
System: NetBSD smistad.uninett.no 3.1_STABLE NetBSD 3.1_STABLE (SMISTAD) #1: Wed Jan 24 17:28:31 CET 2007 he@smistad.uninett.no:/usr/obj/sys/arch/i386/compile/SMISTAD i386
Architecture: i386
Machine: i386
>Description:
	pkglint could benefit from checking that the CONF_FILES
	setting contains an even number of entries.  Failure to do so
	exposes the user to the following rather obtuse error message
	during install:

shift: can't shift that many
*** Error code 2

	while pkglint says "looks fine."  (This is on pkgsrc-2007Q3.)

>How-To-Repeat:
	Try to make a package with just one entry in CONF_FILES, watch
	install fail.

>Fix:

	Sorry, none provided.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->rillig
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Tue, 06 Nov 2007 20:24:19 +0000
Responsible-Changed-Why:
Assign to maintainer.


Responsible-Changed-From-To: rillig->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 01 Mar 2012 22:38:02 +0000
Responsible-Changed-Why:
Back to role account, rillig resigned


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