[Module::Build] Re: Module::Build status on VMS
Status: Beta
Brought to you by:
kwilliams
|
From: John E. M. <wb...@qs...> - 2006-01-26 15:39:21
|
Yitzchak Scott-Thoennes wrote:
> Just a few comments to start with. Have you had a chance to look
> at any of this?
>
> On Sat, Jan 21, 2006 at 07:16:08PM -0600, Craig A. Berry wrote:
>
>>I tested it against blead@26919. Complete harness output is below.
>>It may not be as bad as it looks in that it appears a handful of
>>issues recur repeatedly. It will take me some time to understand
>>Module::Build well enough to debug these.
>>
>>$ perl harness [-.lib.Module.Build.t]*.t
>>d0:[craig.perl.lib.module.build.t]basic...........ok 7/55
>> Can't cd to D0:[CRAIG.perl.t._tmp.Simple]: no such file or directory
>
> Is there something wrong with that path name? The different case for
> D0 and CRAIG? The _ in _tmp? Most of the tests use lib/DistGen.pm to
> generate directories of test files and cd into them to run their
> tests. If that's not working, that's the first thing to try to fix.
Are you sure that the code is trying to create a directory named "_tmp"?
It might be trying to create a directory named ".tmp" which while the
VMS code in Perl should treat as "_tmp", there may still be some cases
where that does not work so well.
>># Looks like you planned 55 tests but only ran 13.
>>d0:[craig.perl.lib.module.build.t]basic...........dubious
>> Test returned status 44 (wstat 1024, 0x400)
>> (VMS status is 44)
>>DIED. FAILED tests 14-55
>> Failed 42/55 tests, 23.64% okay (less 1 skipped test: 12 okay, 21.82%)
>>d0:[craig.perl.lib.module.build.t]compat..........skipped
>> all skipped: Don't know how to invoke 'make'
> compat.t tests that the different flavors of compatibility
> Makefile.PLs work with the "perl Makefile.PL; make" approach.
> Does VMS have $Config{make} set to something suitable? If so,
> perhaps the find_in_path($Config{make}) check is making this
> whole test skipped when it shouldn't be?
I do not know if VMS has $Config{make} set.
>> Can't locate object method "eliminate_macros" via package
>>"Module::Build" at /D0/CRAIG/PERL/lib/Module/Build/Platform/VMS.pm line 85
>
> Hmm, looks like some code mistranslated from what makemaker did.
> And it looks like there's some kind of incestuous relationship
> between File::Spec and makemaker wrt eliminate_macros. Yuck.
Yep. Perl on VMS implemented environment variables differently than the
way that the MMS/MMS (Make type programs) can handle them, so such
macros can not be put in DESCRIP.MMS (a makefile equivalent) so
makemaker is compensating for it.
-John
wb...@qs...
Personal Opinion Only
|