NetBSD Problem Report #36881

From martin@duskware.de  Sun Sep  2 09:14:12 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 6E5BC63B8B5
	for <gnats-bugs@gnats.netbsd.org>; Sun,  2 Sep 2007 09:14:12 +0000 (UTC)
Message-Id: <20070902085227.91BA863B8FB@narn.NetBSD.org>
Date: Sun,  2 Sep 2007 08:52:27 +0000 (UTC)
From: adrianp@stindustries.net
Reply-To: adrianp@stindustries.net
To: netbsd-bugs-owner@NetBSD.org
Subject: lintpkgsrc -g does not understand variable package name prefixes (python, apache and PHP)
X-Send-Pr-Version: www-1.0

>Number:         36881
>Category:       pkg
>Synopsis:       lintpkgsrc -g does not understand variable package name prefixes (python, apache and PHP)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    abs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 02 09:15:01 +0000 2007
>Last-Modified:  Fri Jan 25 17:44:14 +0000 2008
>Originator:     Adrian Portelli
>Release:        NetBSD 3.1
>Organization:
STIndustries
>Environment:
NetBSD jimbo.stindustries.local 3.1 NetBSD 3.1 (STI-JIMBO-2006010101) #0: Sat Dec 30 13:51:42 GMT 2006  bb@quimby.stindustries.local:/var/builds/kernels/STI-JIMBO/sys/arch/i386/compile/STI-JIMBO i386
>Description:
When running lintpkgsrc -g against pkgsrc HEAD or pkgsrc stable the top of the file is littered with entries such as:

-auth-external  www/ap-auth-external    2.2.11nb1
-cjkcodecs      converters/py-cjkcodecs 1.1.1nb1
-pear-Date      time/pear-Date  1.4.3nb1

>From a quick glance lintpkgsrc does not seem to comprehend packages which have a variable PKGNAME prefix.  This causes problems for Python (py15, py20, py21, py22, py23, py24), Apache (ap13, ap2, ap22) and PHP (php4, php5) based packages. 

It should use the default values for these on a per package basis:

PYTHON_VERSION_DEFAULT 
(but honoring PYTHON_VERSIONS_ACCEPTED of the package)

PKG_APACHE_DEFAULT     
(but honoring PKG_APACHE_ACCEPTED of the package)

PHP_VERSION_DEFAULT    
(but honoring PHP_VERSIONS_ACCEPTED of the package)
>How-To-Repeat:
lintpkgsrc -g
>Fix:

>Release-Note:

>Audit-Trail:
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/36881: lintpkgsrc -g does not understand variable package
	name prefixes (python, apache and PHP)
Date: Sun, 2 Sep 2007 12:27:41 +0200

 On Sun, Sep 02, 2007 at 09:15:01AM +0000, adrianp@stindustries.net wrote:
 > It should use the default values for these on a per package basis:
 > 
 > PYTHON_VERSION_DEFAULT 
 > (but honoring PYTHON_VERSIONS_ACCEPTED of the package)
 > 
 > PKG_APACHE_DEFAULT     
 > (but honoring PKG_APACHE_ACCEPTED of the package)
 > 
 > PHP_VERSION_DEFAULT    
 > (but honoring PHP_VERSIONS_ACCEPTED of the package)

 I don't think this makes much sense. The problem is that this detects
 only a subset of the issues found e.g. with actually running
 pbulk-scan/pbulk-resolve. So this check is *less* strict then the checks
 done during bulk builds and unresolvable dependencies are currently
 considered fatal errors for pbulk.

 Joerg

Responsible-Changed-From-To: pkg-manager->rillig
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Mon, 03 Sep 2007 04:18:34 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: rillig->abs
Responsible-Changed-By: rillig@narn.netbsd.org
Responsible-Changed-When: Fri, 25 Jan 2008 17:44:14 +0000
Responsible-Changed-Why:
I don't maintain lintpkgsrc any more.


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