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:    rillig
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 05 11:00:00 +0000 2007
>Closed-Date:    Sun Jan 01 16:44:07 +0000 2017
>Last-Modified:  Sun Jan 01 16:44:07 +0000 2017
>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


Responsible-Changed-From-To: pkg-manager->rillig
Responsible-Changed-By: rillig@NetBSD.org
Responsible-Changed-When: Sun, 01 Jan 2017 16:44:07 +0000
Responsible-Changed-Why:


State-Changed-From-To: open->closed
State-Changed-By: rillig@NetBSD.org
State-Changed-When: Sun, 01 Jan 2017 16:44:07 +0000
State-Changed-Why:
Fixed in pkglint 5.4.15.


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