NetBSD Problem Report #9049

Received: (qmail 22349 invoked from network); 24 Dec 1999 06:07:42 -0000
Message-Id: <199912240607.PAA18138@icnmp9.icg.tnr.sharp.co.jp>
Date: Fri, 24 Dec 1999 15:07:22 +0900 (JST)
From: itohy@netbsd.org
Reply-To: itohy@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: pkglint produces incorrect diagnosis
X-Send-Pr-Version: 3.95

>Number:         9049
>Category:       pkg
>Synopsis:       pkglint produces incorrect diagnosis
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    hubertf
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 23 22:09:00 +0000 1999
>Closed-Date:    Tue Dec 28 03:53:54 +0000 1999
>Last-Modified:  Tue Dec 28 03:55:20 +0000 1999
>Originator:     ITOH Yasufumi
>Release:        1,4P (Dec. 23, 1999)
>Organization:

>Environment:
System: NetBSD pino.my.domain 1.4P NetBSD 1.4P (PINO) #190: Thu Dec 16 00:21:02 JST 1999 itohy@pino.my.domain:/usr/src/sys/arch/i386/compile/PINO i386

packages:
	pkglint-1.88 (pkglint.pl 1.17, dated 1999/12/07)
	perl-5.00404

a.out environment.


>Description:
	pkglint sometimes produces incorrect diagnosis.

	pkglint at pkgsrc/japanese/skkserv displays 1 warn and 1 error,
	both of which are inaccurate or incorrect.

>How-To-Repeat:

% cd /usr/pkgsrc/japanese/skkserv
% make makepatchsum
===> Making patch checksums
>Fix:
	Unknown.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: hubertf 
State-Changed-When: Mon Dec 27 16:54:23 PST 1999 
State-Changed-Why:  
I've committed a fix for pkglint, please update to 1.89 (or later :). 
This should handle any items in a PATCH_* section properly. 
Please let me know if things work for you, so I can close your PR. 


Thanks, 

Hubert 


Responsible-Changed-From-To: pkg-manager->hubertf 
Responsible-Changed-By: hubertf 
Responsible-Changed-When: Mon Dec 27 16:54:23 PST 1999 
Responsible-Changed-Why:  
i seem to maintain pkglint :) 
State-Changed-From-To: feedback->closed 
State-Changed-By: hubertf 
State-Changed-When: Mon Dec 27 19:53:54 PST 1999 
State-Changed-Why:  
Problem reported as fixed. 


- Hubert 
>Unformatted:
 >> patch-sum file unchanged
 % pkglint
 OK: checking pkg/COMMENT.
 OK: checking pkg/DESCR.
 OK: checking Makefile.
 WARN: extra item placed in the PATCH_SITES section, for example, "PATCH_SITES".
 OK: checking patches/patch-aa.
 OK: checking patches/patch-ab.
 OK: checking patches/patch-ac.
 OK: checking patches/patch-ad.
 OK: checking patches/patch-ae.
 OK: checking patches/patch-af.
 OK: checking patches/patch-ag.
 OK: checking patches/patch-bsearch.
 OK: checking files/patch-sum.
 FATAL: patchfile 'patch-jisyo' is in files/patch-sum
        but not in ./patches/patch-jisyo. Rerun 'make makepatchsum'.
 OK: checking files/md5.
 1 fatal errors and 1 warnings found.
 zsh: 17832 exit 1     pkglint
 %

 	The "WARN" diagnosis is inaccurate.
 	The extra item is not "PATCH_SITES", but "PATCH_DIST_ARGS".

 	The "FATAL" diagnosis is totally out-of-point.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.