Hi, Sorry, I'll take responsibility for lack of reporting.

I found this when trying to install several modules after I installed
the latest version of MakeMaker. Craig figured out what the problem
might have been; but his patch did not pass all the mm tests.

This bug report refers to failed attempts to install XML::XSLT

I have not previously filed any bug reports for perl, except by
posting here on VMS Perl. I am sending a copy of this e-mail to
report the bug, as I don't care to register for a BitCard.

The big picture:

(on VMS): mmk install fails, if the install script needs to
write into the top level directory perl_root:[utils]. This
happens with both 5.9.4 and 5.8.6, running on OpenVMS 7.3-2.

>From my original post to VMSPerl on Mon 9/25/2006 2:27 PM:

"Finally I built XML::XSLT, and all tests passed. Unfortunately, I
can not get XML::XSLT installed (from the SYSTEM account), neither
with MMK, nor with MMS.

Here's the mms output:

mms /list=xlst_install.log install

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create 'perl_root:[utils]'
Unknown Error
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1
%SYSTEM-F-ABORT, abort
%MMS-F-ABORT, For target PURE_SITE_INSTALL, CLI returned abort status:
%X0000002C.
-SYSTEM-F-ABORT, abort

I have attached the mms output xslt_install.log (I changed the name
from the mangled typo above).

I used MMK throughout the above, and it gave the exact same error; I
now tried MMS, just in case (and I knew how to log the actions).

--------------------------------------------------------------------

I have attached the log file.

Carl Friedberg
Comet & Company
165 William St 9 NY NY 10038
www.comets.com
(212) 233-5470  

> -----Original Message-----
> From: Michael G Schwern [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 17, 2006 11:50 PM
> To: Craig A. Berry
> Cc: Carl Friedberg; vmsperl@perl.org
> Subject: Re: ExtUtils::Install::_can_write_dir bug (was RE: 
> XML::Parser XML::DOM XML::XSLT)
> 
> Craig A. Berry wrote:
> > At 9:02 AM -0400 9/29/06, Carl Friedberg wrote:
> >> I've found the deadly combination: MakeMaker 6.30-2, VMS 
> 7.3-2, Perl
> >> 5.8.6, and a perl module with a script (which gets put 
> into perl_root:[utils].
> > 
> > The problem would happen for anything installed in the top level of
> > the install target.  The bug is in 
> ExtUtils::Install::_can_write_dir.
> > The offending line (well, the root of the trouble), is:
> > 
> > 
> >     my @dirs=File::Spec->splitdir(File::Spec->rel2abs($dir));
> > 
> > 
> > splitdir, as its name implies, only operates on directories.
> > rel2abs, on a platform that has the notion of disk volume that is
> > syntactically different from a directory, includes the 
> volume as well
> > as directories in its result.  The function ends up calling 
> catdir on
> > the results of splitdir, and the result of 
> catdir(splitdir('disk:[dir]'))
> > is undefined:
> > 
> > $ perl -"MFile::Spec" -e "print defined 
> File::Spec->catdir(File::Spec->splitdir('disk:[dir]')) ? 1 : 0;"
> > 0
> > 
> > 
> > Possibly just replacing splitdir/catdir in this function with
> > splitpath/catpath would work.  I'll try it and post again.
> 
> ExtUtils::Install's bug tracker is here:
> http://rt.cpan.org/Public/Dist/Display.html?Name=ExtUtils-Install
> 
> I don't see this bug reported.  If you don't tell the author, 
> he'll never know there's a problem.  Posting to vmsperl 
> doesn't count, most CPAN authors don't read it.  And don't 
> wait to have a patch to report a bug.
> 

Attachment: xslt_install.log
Description: xslt_install.log

Reply via email to