Subject: patch-sum vs pkglint
To: None <tech-pkg@netbsd.org>
From: Tomasz Luchowski <zuntum@eik.pl>
List: tech-pkg
Date: 03/07/2001 23:08:54
I have problems with patch-sum and pkglint:

zuntum@zunpc:/usr/pkgsrc/zuntum/kulki# rm files/patch-sum 
zuntum@zunpc:/usr/pkgsrc/zuntum/kulki# make lint
OK: checking Makefile.
WARN: no ./files/patch-sum file. Please run 'make makepatchsum'.
OK: checking pkg/PLIST.
OK: checking pkg/DESCR.
OK: checking patches/patch-aa.
OK: checking files/md5.
0 fatal errors and 1 warnings found.
zuntum@zunpc:/usr/pkgsrc/zuntum/kulki# make makepatchsum
===> Making patch checksums
zuntum@zunpc:/usr/pkgsrc/zuntum/kulki# cat files/patch-sum 
$NetBSD$

SHA1 (patch-aa) = 7ea8167b65136d13fe5b0a45b322b009778aa2f9
zuntum@zunpc:/usr/pkgsrc/zuntum/kulki# make lint
OK: checking Makefile.
OK: checking pkg/PLIST.
OK: checking pkg/DESCR.
OK: checking patches/patch-aa.
OK: checking files/patch-sum.
FATAL: patchsum of 'patch-aa' is in ./patches/patch-aa but not in
       files/patch-sum. Rerun 'make makepatchsum'.
OK: checking files/md5.
1 fatal errors and 0 warnings found.
*** Error code 1

Stop.

pkglint complains :/ My bsd.pkg.mk is 1.682, pkglint-2.39 is installed.
I updated my src/usr.sbin/pkg_tools today (running 1.5S/i386).

-- 
/* [zuntum] zuntum@eik.pl , [WWW] http://zuntum.net */