Subject: Re: pkg/26887
To: None <gnats-bugs@NetBSD.org>
From: Gavan Fantom <email@example.com>
Date: 10/08/2006 16:32:10
Jeremy C. Reed wrote:
> In regards to print-PLIST's find happening in same second as the
> extract-cookie is made ...
> Would just adding a sleep 1 to the top of the print-PLIST: target in
> mk/plist/print-plist.mk work for you?
I don't think so. The issue is that print-plist does a find for files
which are newer than the extract cookie. Therefore, the sleep 1 would
have to be in the install target, to make sure that time passes between
the extract and install phases. Obviously, adding dead time to every
package build ever would be a bad idea.
> I am curious: How do you use "make print-PLIST" so that it runs at same
> time as the the extract target?
Run the regression test on a fast machine. The extract is small, the
build phase is small and the install phase is small, and on a fast
machine, can sometimes complete the run within one unit of time.
Gillette - the best a man can forget