This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
28946
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
BARTL [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Critical
Broken in:
1.90
Fixed in:
(no value)



Subject: CPAN croaks in Win98 over unimplemented flock
On Windows 98, with CPAN.pm 1.9102 (ActivePerl 5.8.8 build 822), the CPAN shell dies as soon as it's started up, with the error message: flock() unimplemented on this platform at D:/programs/ActivePerl5.8/lib/CPAN.pm line 1015. That line looks like this: while (!flock $fh, LOCK_EX|LOCK_NB) { (And there's another line pretty much like it on line 3397.) Ironically, before installing this version, I had done nmake test because I was expecting trouble, and all tests passed. So I don't think there is any test related to flock. (ActivePerl build 5.8.8 comes with this version of CPAN, I've had to downgrade because of this problem.) Among the versions that are still available on CPAN, the first version to contain flock calls is 1.90. The latest development release still has these same code lines in those areas, so I don't think the problem has been resolved yet. The problem does not exist on a more modern, NT based, version of Windows, like Windows XP.
I believe this is resolved in 1.91_55 which I uploaded to CPAN yesterday. Thanks for the report!


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.