Subject: Re: pkg/26887
To: None <jmmv@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: pkgsrc-bugs
Date: 10/08/2006 08:15:09
The following reply was made to PR pkg/26887; it has been noted by GNATS.

From: "Julio M. Merino Vidal" <jmmv84@gmail.com>
To: gnats-bugs@netbsd.org
Cc: gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
	gavan@coolfactor.org
Subject: Re: pkg/26887
Date: Sun, 8 Oct 2006 10:14:21 +0200

 On 10/7/06, Jeremy C. Reed <reed@reedmedia.net> wrote:
 > The following reply was made to PR pkg/26887; it has been noted by GNATS.
 >
 > From: "Jeremy C. Reed" <reed@reedmedia.net>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: pkg/26887
 > Date: Sat, 7 Oct 2006 13:47:39 -0500 (CDT)
 >
 >  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?
 
 The problem is that on a very fast machine, the cookie created by
 'make extract' and the files installed by the package have the same
 timestamp.  Then, print-PLIST is unable to find them.
 
 Inserting a 'sleep 1' in print-plist.mk won't help because, when
 print-PLIST is executed, the files are already installed and already
 have the problem.
 
 So a possible hack that will possibly fix the issue could be to
 'touch' the extract cookie and set its time to be one second backwards
 than its creation time.  Dunno what problems might introduce this,
 though.
 
 -- 
 Julio M. Merino Vidal <jmmv84@gmail.com>
 The Julipedia - http://julipedia.blogspot.com/