Subject: pkg/14590: lintpkgsrc -i is too slow -- shouldn't look at all Makefiles
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 11/14/2001 23:59:48
>Number:         14590
>Category:       pkg
>Synopsis:       lintpkgsrc -i parses every Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 15 00:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        not current
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
System: NetBSD rainier.reedmedia.net 1.5.1_BETA NetBSD 1.5.1_BETA (JCR-1.5-20010407) #0: Sat Apr 7 01:44:35 PDT 2001 reed@rainier:/usr/src/sys/arch/i386/compile/JCR-1.5-20010407 i386


>Description:
"lintpkgsrc -i" does its scan_pkgsrc_makefiles and 
parse_makefile_pkgsrc for every package's Makefile. I don't think this is
needed -- and is too slow. It should just get the info from
the Makefiles for only the installed packages. On my 400Mhz machine,
it took over 2 minutes.

>How-To-Repeat:
time lintpkgsrc -i
>Fix:
Sorry I didn't make a patch.
It would be minor, except it doesn't know what category it is in
(because it doesn't appear that pkg_info can output the category name also).
>Release-Note:
>Audit-Trail:
>Unformatted: