pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37284: pkglint could check for an even # of args to CONF_FILES



>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
>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@localhost:/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.




Home | Main Index | Thread Index | Old Index