Subject: [solved] Re: lintpkgsrc install fails
To: Wolfgang S. Rupprecht <wolfgang+gnus200510@dailyplanet.dontspam.wsrcc.com>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 10/22/2005 20:05:31
Wolfgang S. Rupprecht wrote:
> With a fresh cvs from this evening, the installation of pkglint fails
> and pkglint is left with a non-expanded @PERL@ as the interpreter.
...
> bash-3.00# head /usr/pkg/bin/pkglint
> #! @PERL@ -w
> #
> # pkglint - lint for package directory
> #
> # implemented by:
> #       Jun-ichiro itojun Hagino <itojun@itojun.org>
> #       Yoshishige Arai <ryo2@on.rim.or.jp>
> #
> # Copyright(c) 1997 by Jun-ichiro Hagino <itojun@itojun.org>.
> # All rights reserved.

The cause for this was a corrupted file(1) database, which reported "MKS 
Spell hash list (old format)" for every file and thus made the SUBST 
framework fail. Do we want to protect against this kind of error in the 
future? If yes, how?

Roland