John E. Malmberg wrote:
Craig A. Berry wrote:
At 9:48 AM +0100 11/5/07, Jos I. Boumans wrote:
On Nov 4, 2007, at 10:44 PM, Craig A. Berry wrote:

The problem is that
we're putting a garbage path at the beginning of @INC.  With
[EMAIL PROTECTED] I see this:

ok 8 - Extracting module to D0:[CRAIG.PERL.LIB.CPANPLUS.T.dummy-cpanplus.5_10_0.build.Foo-Bar-0_01] Can't locate strict.pm in @INC (@INC contains: //d0/craig/perl/lib/cpanplus/t////lib//d0/craig/perl/lib/cpanplus/t/inc/D0/CRAIG/PERL /lib perl_root:[lib.VMS_AXP.5_10_0] perl_root:[lib] perl_root:[lib.site_perl.VMS_AXP] perl_root:[lib.site_perl] .) at d0:[craig.perl
.lib.cpanplus.bin]cpanp-run-perl line 1.


I'll  try to hunt down later where that bogus path gets constructed.
My bet would be CPANPLUS/t/inc/conf.pl:

It was in conf.pl, but it was the fact that paths were being
explicitly joined with colons rather than $Config{path_sep} before
populating $ENV{PATH}.  I would have expected that to wreak havoc on
Win32 as well as VMS.

The attached fixes that and a number of other things.  We're down to
the following in 02_CPANPLUS-Dist-Build.t as the only remaining
CPANPLUS failure on VMS:

ok 14 -    Status says module installed
not ok 15 - Found packlist
#   Failed test 'Found packlist'
#   at [-.lib.cpanplus.dist.build.t]02_cpanplus-dist-build.t line 173.
not ok 16 - Packlist contains entries
#   Failed test 'Packlist contains entries'
#   at [-.lib.cpanplus.dist.build.t]02_cpanplus-dist-build.t line 176.
ok 17 - Uninstalling module

The .packlist file is in the architecture-specific auto directory,
but that directory is not in @INC so it doesn't look there so of
course it doesn't find it.  Not sure yet if the problem is in
Module::Build or CPANPLUS or just the way the test is set up.

That test is passing for me.  I sent the patches needed for it earlier.

I will not have access to that system again for a few more days though.

I think if you locate the following message, you will find the patch for that test:

Date: Wed, 03 Oct 2007 22:47:49 -0500
Subject: [EMAIL PROTECTED] - CPANPLUS::Dist::Build fixes for VMS
To: "Jos I. Boumans" <[EMAIL PROTECTED]>, "Craig A.Berry" <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>


-John
[EMAIL PROTECTED]
Personal Opinion Only

Reply via email to