Subject: pkg/33251: PKGSRC_LOCKTYPE and old work directories causes loop
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 04/12/2006 23:05:01
>Number:         33251
>Category:       pkg
>Synopsis:       PKGSRC_LOCKTYPE and old work directories causes loop
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 12 23:05:00 +0000 2006
>Originator:     reed@reedmedia.net
>Release:        DragonFly 1.5.0-DEVELOPMENT
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
Architecture: i386
Machine: i386
>Description:
I have
PKGSRC_LOCKTYPE=        sleep
and I have some old work directories for the dependencies.

I get continuous loop like:

=> Lock is held by pid 
5: not found
-f: not found
cat: /build/reed/tmp/pkgsrc/wip/resourceproto/work.reed/.lockfile: No such file or directory
=> Lock is held by pid 
5: not found
-f: not found
cat: /build/reed/tmp/pkgsrc/wip/resourceproto/work.reed/.lockfile: No such file or directory
=> Lock is held by pid 
5: not found

No five second wait either.
>How-To-Repeat:
	
>Fix:
Work around is to do "bmake clean-depends".

>Unformatted: