Peter Prymmer/FactSet wrote on 10/06/2005 03:46:34 PM:

> Unfortunately with 6.30_01 patched as above I see lots
> of test failures that mention:
>
> Unrecognized switch: -oc_install  (-h will show valid options).
>
> and when I attempt to run MMK INSTALL in my 6.30_01 unpack
> directory I see that interactively too:
>
> $ mmk install
> Unrecognized switch: -oc_install  (-h will show valid options).
> %RMS-E-FNF, file not found
> %MMK-F-ERRUPD, error status %X00018292 occurred when updating target
PURE_PERL_INSTALL

This problem turned out to be a couple of dashes that were
added to oneliner() in MM_VMS.pm.  Here is a patch that fixes the
problem:

diff -ru ExtUtils-MakeMaker-6.30_01.patched_1/lib/ExtUtils/MM_VMS.pm 
ExtUtils-MakeMaker-6.30_01/lib/ExtUtils/MM_VMS.pm
--- ExtUtils-MakeMaker-6.30_01.patched_1/lib/ExtUtils/MM_VMS.pm   2005-10-05 
16:47:37.264629000 -0400
+++ ExtUtils-MakeMaker-6.30_01/lib/ExtUtils/MM_VMS.pm 2005-10-06 
17:08:06.890804000 -0400
@@ -1722,7 +1722,7 @@
     # Switches must be quoted else they will be lowercased.
     $switches = join ' ', map { qq{"$_"} } @$switches;

-    return qq{\$(ABSPERLRUN) $switches -e $cmd --};
+    return qq{\$(ABSPERLRUN) $switches -e $cmd};
 }
End of Patch.

Note that - at the end of a VMS shell command line
implies that the command will be continued on the next line
(MMS and MMK do not handle that well BTW).

With that in place I obtain mmk test results of:

Failed Test        Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/first_makefile.t   44  1024     7    2  28.57%  4-5
t/pl_files.t         44  1024     9    5  55.56%  3-7
8 tests and 87 subtests skipped.
Failed 2/43 test scripts, 95.35% okay. 7/648 subtests failed, 98.92% okay.
%SYSTEM-F-ABORT, abort

and my expectation now is that the patch that John Malmberg posted in:

http://www.xray.mpe.mpg.de/mailing-lists/vmsperl/2005-09/msg00003.html

will address those two specific failures.

I am curious, where did the -- in onliner() come from?  It was not there in
MM 6.17 for example.

Peter Prymmer

Reply via email to