Michael G Schwern <[EMAIL PROTECTED]> wrote on 03/29/2005 12:51:00 AM:

> http://www.pobox.com/~schwern/src/ExtUtils-MakeMaker-6.26_01.tar.gz
> or
> http://svn.schwern.org/svn/CPAN/ExtUtils-MakeMaker/trunk
> or
> a CPAN near you
>
> Mark Leighton Fisher noticed that PL_FILES weren't working properly
anymore.
> This was due to a refactoring typo and has been fixed and tested.  Also
> the full behavior of PL_FILES has been documented.
>
> So this is a quick alpha release to knock around to make sure the new
> PL_FILES.t test works before putting out a quick 6.27.

It did not work for me on SunOS 5.8 + perl 5.6.1 + Forte make:

% make test
<snip>
t/PL_FILES..............#     Failed test (t/PL_FILES.t at line 32)
t/PL_FILES..............NOK 1#     Failed test (t/PL_FILES.t at line 35)
t/PL_FILES..............NOK 2#          got: 512
#     expected: 0
#     Failed test (t/PL_FILES.t at line 38)
t/PL_FILES..............NOK 3#          got: '256'
#     expected: '0'
# make: Fatal error: No arguments to build
# Current working directory /home/pprymmer/testit/ExtUtils-MakeMaker-6.26
_01/t
#     Failed test (t/PL_FILES.t at line 41)
t/PL_FILES..............NOK 4#     Failed test (t/PL_FILES.t at line 41)
t/PL_FILES..............NOK 5#     Failed test (t/PL_FILES.t at line 41)
t/PL_FILES..............ok 8/0# Looks like you failed 6 tests of 8.
t/PL_FILES..............dubious
        Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 1-6
        Failed 6/8 tests, 25.00% okay

Here is a run done sans make test:

% perl -Mblib t/PL_FILES.t
Using /home/pprymmer/testit/ExtUtils-MakeMaker-6.26_01.orig/blib
not ok 1
#     Failed test (t/PL_FILES.t at line 32)
not ok 2
#     Failed test (t/PL_FILES.t at line 35)
#          got: 512
#     expected: 0
not ok 3
#     Failed test (t/PL_FILES.t at line 38)
#          got: '256'
#     expected: '0'
# make: Fatal error: No arguments to build
not ok 4 - single.out was created
#     Failed test (t/PL_FILES.t at line 41)
not ok 5 - 1.out was created
#     Failed test (t/PL_FILES.t at line 41)
not ok 6 - 2.out was created
#     Failed test (t/PL_FILES.t at line 41)
ok 7
ok 8
1..8
# Looks like you failed 6 tests of 8.

If that is of any help.

On both Solaris and on VMS I obtained the misleading statement:

t/xs....................
skipped
        all skipped: No compiler found to test XS builds

Which it turns out was due to ExtUtils::CBuilder not being installed
not because I did not have a compiler.

On VMS 7.3-2 + perl 5.8.1 + mmk V3.9-6 I obtained:

All tests successful, 8 tests and 94 subtests skipped.
Files=40, Tests=647, 261 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00
CPU)

In trying to figure out why MakeMaker is mislead into
thinking I did not have a compiler I noticed a possible problem
with the Utils.pm handling of old makefiles:

diff -ru ExtUtils-MakeMaker-6.26_01.orig/t/lib/MakeMaker/Test/Utils.pm 
ExtUtils-MakeMaker-6.26_01/t/lib/MakeMaker/Test/Utils.pm
--- ExtUtils-MakeMaker-6.26_01.orig/t/lib/MakeMaker/Test/Utils.pm 2005-03-12 
13:05:25.000000000 -0500
+++ ExtUtils-MakeMaker-6.26_01/t/lib/MakeMaker/Test/Utils.pm      2005-03-29 
14:12:27.147824000 -0500
@@ -149,7 +149,7 @@

 sub makefile_backup {
     my $makefile = makefile_name;
-    return $Is_VMS ? $makefile : "$makefile.old";
+    return $Is_VMS ? "${makefile}_old" : "$makefile.old";
 }

 =item B<make>
End of Patch.

I think that is correct owing to things like the following:

search descrip.mms MAKEFILE_OLD
MAKEFILE_OLD = Descrip.MMS_old

But in any case the tests all pass on VMS with or without that patch in place.

Peter Prymmer

Reply via email to