On Tue, Oct 30, 2007 at 09:02:09PM +0100, Andreas J. Koenig wrote: > Eeeeek. This only ever occured to me when I tested something coming > from Australia with improper timestamps. But nowadays I usually test > within seconds after the upload so of course it happens more often. > (But I'm pretty sure I have set up NTP correctly)
I don't think NTP is so much the problem, more that the time on the server that created the tarball and your server are different. As users don't normally download as quickly as you do this isn't usually a problem. > > I would prefer CPAN.pm be able to acknowlegde this > > and rerun the process of 'perl Makefile.PL/make' as appropriate. > > Depends what you mean by "as appropriate". I was thinking 'touch Makefile.PL' followed by the 'perl Makefile.PL/make' process. CPAN.pm could detect whether the unwrapped Makefile.PL/Build.PL has a timestamp in the future to the server clocktime and attempt to correct this. > Wait until the time is > reached that this user thought being NOW()? I don't think that would be suitable as it could be hours or even days if inappropriately timestamped. > So to satisfy 'make' we would have to manipulate > timestamps and this would naturally be a job for MakeMaker, not for > CPAN.pm. No, the problem is before the the 'make' stage. I suspect this is a problem for CPANPLUS too. > Hrm, as I said, I don't know a good solution at the moment. Would the check and touch scenario be possible? > Yes, I untar these files again and again for every perl that runs the > test. Looks like a few seconds passed between the tests. The Date > header on the website is nonsense, it reflects the time when the email > arrived. I know the sequence in which they were produced 723228 > (5.10.0; -24 secs), 723217 (5.9.5; -11 secs), 723219 (5.8.8; >0 secs). > You understand now how it fits together? Yes that makes sense with the reports. Although the problem surfaced because the clocktime appears to have slipped on my server, this could still be an occasional problem for users too. Cheers, Barbie. -- Birmingham Perl Mongers - http://birmingham.pm.org Miss Barbell Productions - http://www.missbarbell.co.uk
