Skip Menu |
 
Update: The rt.cpan.org bug tracker service is no longer shutting down.

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 17823
Status: resolved
Priority: 0/
Queue: PathTools

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

Bug Information
Severity: Important
Broken in: 3.16
Fixed in: (no value)



Subject: PathTools cannot recursively install on Win32 due to Cwd.dll locks
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1140691088-8860-1"
Content-Length: 0
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 496
Download (untitled) / with headers
text/plain 496b
PathTools is one of a few things that are almost certainly going to be used by installers. As such, anything that tries to install something that recursively requires PathTools to be upgraded is going to see Cwd.dll almost certainly locked when it comes time to do make install. It's hard for me to see how you can fix this, but I think it's worth having the bug here, so it can be tracked. See example (Module::Build installing on a fresh Vanilla Perl failing to install File::Spec) attached.
Subject: failure_log.txt
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1140691088-8860-0"
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Length: 0
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Type: text/plain; charset="utf-8"; name="failure_log.txt"
Content-Disposition: inline; filename="failure_log.txt"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: ascii
Content-Length: 15680
Download failure_log.txt
text/plain 15.3k

Message body is not shown because it is too large.

MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.5.HEAD-20579-1141445231-1805.17823-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 319
Download (untitled) / with headers
text/plain 319b
It's worth noting a couple of things here: 1) this only happens when you install using the Build.PL, not with the Makefile.PL. 2) even with the Build.PL, if you have a recent enough version of ExtUtils::Install, it will work. Unfortunately "recent enough" in this case means "as yet unreleased" still, right? -Ken
X-Scanned-BY: AMaViS-ng at bestpractical
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <rt-3.5.HEAD-20579-1141445231-1805.17823-6-0 [...] rt.cpan.org>
X-Accept-Language: en-us, en
Received-SPF: neutral (x1.develooper.com: local policy)
References: <RT-Ticket-17823 [...] rt.cpan.org> <rt-3.5.HEAD-20579-1141445231-1805.17823-6-0 [...] rt.cpan.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-RT-Original-Encoding: utf-8
Received: from localhost (localhost.localdomain [127.0.0.1]) by diesel.bestpractical.com (Postfix) with ESMTP id B3B8C4D80A5 for <cpan-bug+pathtools [...] diesel.bestpractical.com>; Fri, 3 Mar 2006 23:33:50 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 4EE544D8004 for <bug-PathTools [...] rt.cpan.org>; Fri, 3 Mar 2006 23:33:49 -0500 (EST)
Received: (qmail 27830 invoked by alias); 4 Mar 2006 04:33:48 -0000
Received: from smtp02.syd.iprimus.net.au (HELO smtp02.syd.iprimus.net.au) (210.50.76.196) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 03 Mar 2006 20:33:43 -0800
Received: from [192.168.1.101] (211.27.42.75) by smtp02.syd.iprimus.net.au (7.2.071) id 43FB55B2004667AB for bug-PathTools [...] rt.cpan.org; Sat, 4 Mar 2006 15:33:35 +1100
Delivered-To: cpan-bug+pathtools [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #17823] PathTools cannot recursively install on Win32 due to Cwd.dll locks
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
Return-Path: <adam [...] phase-n.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+pathtools [...] diesel.bestpractical.com
Date: Sat, 04 Mar 2006 15:33:38 +1100
Message-Id: <440918A2.2090603 [...] phase-n.com>
To: bug-PathTools [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Adam Kennedy <adam [...] phase-n.com>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.5.HEAD-20595-1141446835-1397.17823-0-0 [...] rt.cpan.org>
Content-Length: 769
Download (untitled) / with headers
text/plain 769b
Ken_Williams via RT wrote: Show quoted text
> It's worth noting a couple of things here: > > 1) this only happens when you install using the Build.PL, not with the Makefile.PL.
This is not so. It will happen in ANY situation in which something else may be using the file. That includes installations using Makefile.PL via CPAN.pm, and situations in which some other program completely is using it (imagine mod_perl on Win32 etc) Show quoted text
> 2) even with the Build.PL, if you have a recent enough version of ExtUtils::Install, it will work. > > Unfortunately "recent enough" in this case means "as yet unreleased" still, right?
Eeeenteresting... Presumably ExtUtils::Install implements the mechanism I mentioned. I was wondering what happened to the 5p5 conversation on that. Adam K
MIME-Version: 1.0
In-Reply-To: <rt-3.5.HEAD-20595-1141446835-1397.17823-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
References: <RT-Ticket-17823 [...] rt.cpan.org> <rt-3.5.HEAD-20579-1141445231-1805.17823-6-0 [...] rt.cpan.org> <440918A2.2090603 [...] phase-n.com> <rt-3.5.HEAD-20595-1141446835-1397.17823-0-0 [...] rt.cpan.org>
Message-Id: <rt-3.5.HEAD-20912-1146377489-585.17823-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
From: ADAMK [...] cpan.org
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 1030
On Fri Mar 03 23:33:55 2006, adam@phase-n.com wrote: Show quoted text
> > > Ken_Williams via RT wrote:
> > It's worth noting a couple of things here: > > > > 1) this only happens when you install using the Build.PL, not with
> the Makefile.PL. > > This is not so. > > It will happen in ANY situation in which something else may be using > the > file. That includes installations using Makefile.PL via CPAN.pm, and > situations in which some other program completely is using it (imagine > mod_perl on Win32 etc) >
> > 2) even with the Build.PL, if you have a recent enough version of
> ExtUtils::Install, it will work.
> > > > Unfortunately "recent enough" in this case means "as yet unreleased"
> still, right? > > Eeeenteresting... > > Presumably ExtUtils::Install implements the mechanism I mentioned. > > I was wondering what happened to the 5p5 conversation on that. > > Adam K
OK, this has now been released. On Win32 only, you need to have a build-time dependency on ExtUtils::Install 1.39. Otherwise, you can resolve this bug.
MIME-Version: 1.0
In-Reply-To: <rt-3.5.HEAD-20912-1146377489-585.17823-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.5.HEAD-961-1146453627-1445.17823-0-0 [...] rt.cpan.org>
References: <RT-Ticket-17823 [...] rt.cpan.org> <rt-3.5.HEAD-20579-1141445231-1805.17823-6-0 [...] rt.cpan.org> <440918A2.2090603 [...] phase-n.com> <rt-3.5.HEAD-20595-1141446835-1397.17823-0-0 [...] rt.cpan.org> <rt-3.5.HEAD-20912-1146377489-585.17823-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 67
Thanks, I'll release a new version with that prereq change. -Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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