develooper Front page | perl.perl5.porters | Postings from December 2009

Re: Please test DAGOLDEN/Module-Build-0.35_13.tar.gz

From:
David Golden
Date:
December 6, 2009 21:00
Subject:
Re: Please test DAGOLDEN/Module-Build-0.35_13.tar.gz
Message ID:
5d4beb40912062059t5c5dd2f4v9f48692da7d0602b@mail.gmail.com
On Sun, Dec 6, 2009 at 11:29 PM, Craig A. Berry <craig.a.berry@gmail.com> wrote:
> Thanks for the heads up.  Below is a quick build and test, which is
> not all good news, but not entirely bad news either.  This is just a
> "where we are" post and I have not even looked at the test output in
> any detail yet.

Ouch.  Well, no pain, no gain.  Thank you for the quick turnaround.

A couple quick reactions (other than that I probably need to find a VMS manual):

* the t/00compile.t tests look like a problem converting paths to
modules names given the particular ways paths are represented on VMS.
I thought I was doing something suitably portable, but clearly not.

* there are a lot of "Can't call method "eliminate_macros" on
unblessed reference" errors; I have no idea what's going on there

* the "no module_name" errors are again probably (again) an issue
translating between module and path names -- please see
_guess_module_name in Module::Build::Base.

Given how module/path translation seems to be at the root of some of
these, maybe we need to add "pm2path" and "path2pm" methods to
Module::Build::Base and overriding them in
Module::Build::Platform::VMS?  E.g. something that would let us do
this:

    File::Spec->catfile("lib",$self->pm2path("Foo::Bar"));   # lib/Foo/Bar.pm

    $self->path2pm(
File::Spec->abs2rel("/tmp/M-B/lib/Foo/Bar.pm","/tmp/M-B/lib") ); #
Foo::Bar


-- David



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About