Subject: pkg/9049: pkglint produces incorrect diagnosis
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/23/1999 22:09:38
>Number:         9049
>Category:       pkg
>Synopsis:       pkglint produces incorrect diagnosis
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 23 22:09:00 1999
>Originator:     ITOH Yasufumi
>Release:        1,4P (Dec. 23, 1999)
System: NetBSD 1.4P NetBSD 1.4P (PINO) #190: Thu Dec 16 00:21:02 JST 1999 i386

	pkglint-1.88 ( 1.17, dated 1999/12/07)

a.out environment.

	pkglint sometimes produces incorrect diagnosis.

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


% cd /usr/pkgsrc/japanese/skkserv
% make makepatchsum
===> Making patch checksums
>> 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.