pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/38206: pkglint: check for INSTALLATIONS_DIRS or AUTO_MKDIRS presense is needed



The following reply was made to PR pkg/38206; it has been noted by GNATS.

From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/38206: pkglint: check for INSTALLATIONS_DIRS or AUTO_MKDIRS 
presense is needed
Date: Sun, 09 Mar 2008 18:36:21 +0200

  >>  It whould be nice if pkglint will show warning if neither
  >>  INSTALLATION_DIRS nor AUTO_MKDIRS is set or if INSTALLATION_DIRS
  >>  is set but not all dirs found in PLIST iare present.
 
 >  It can't do that. It is a static analyer and it has no way to know what
 >  the installation rules in the tarball do or not do.
 
 It probably cannot analyse whether INSTALLATION_DIRS is valid or not
 but chacking whether it is present should be easy I think.
 
 Or explain your idea better. What exactly cannot be checked (and why).
 
 I didn't look to the code of pkglint.
 
 -- 
 Best regards, Aleksey Cheusov.
 


Home | Main Index | Thread Index | Old Index