FAIL Class-Inflate-0.05 i686-linux 2.4.27-3-686
  Home FAQ Contact Sign in
perl.cpan.testers only
 
Advanced search
POPULAR GROUPS

more...

perl.cpan.testers Profile…
 Up
FAIL Class-Inflate-0.05 i686-linux 2.4.27-3-686         


Author: david
Date: Oct 24, 2007 09:09

This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/

Please cc any replies to cpan-testers@perl.org to keep other
test volunteers informed and to prevent any duplicate effort.

--
Dear Nathan Gray,

This is a computer-generated report for Class-Inflate-0.05
on perl-5.6.2, created automatically by CPAN-Reporter-1.02
and sent to the CPAN Testers mailing list.

If you have received this email directly, it is because the person testing
your distribution chose to send a copy to your CPAN email address; there
may be a delay before the official report is received and processed
by CPAN Testers.

Thank you for uploading your work to CPAN. However, it appears that
there were some problems with your distribution. If these results are
not what you expect, please consult "Notes for CPAN Authors" on
the CPAN Testers Wiki: http://cpantest.grango.org

Sections of this report:
Show full article (5.51Kb)
6 Comments
Re: FAIL Class-Inflate-0.05 i686-linux 2.4.27-3-686         


Author: Nathan Gray
Date: Oct 24, 2007 12:22

On Wed, Oct 24, 2007 at 05:09:04PM +0100, david@cantrell.org.uk wrote:
> ------------------------------
> TESTER COMMENTS
> ------------------------------
>
> Additional comments from tester:
>
> [none provided]
>
> ------------------------------
> PROGRAM OUTPUT
> ------------------------------
>
> Output from '/home/david/cpantesting/perl-5.6.2/bin/perl Makefile.PL':
>
> # running Build.PL
> /home/david/cpantesting/perl-5.6.2/bin/perl Build.PL
> Creating custom builder _build/lib/Class/Inflate/Builder.pm in _build/lib/Class/Inflate
> install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (@INC contains: /home/david/_/_/perl-5.6.2/.cpan/build/Class-Inflate-0.05-oqXhlg/_build/lib _build/lib /home/david/cpantesting/perl-5.6.2/lib/5.6.2/i686-linux /home/david/cpantesting/perl-5.6.2/lib/5.6.2 /home/david/cpantesting/perl-5.6.2/lib/site_perl/5.6.2/i686-linux /home/david/cpantesting/perl-5.6.2/lib/site_perl/5.6.2 /home/david/cpantesting/perl-5.6.2/lib/site_perl .) at (eval 15) line 3, line 74.
> Perhaps the DBD::SQLite perl module hasn't been fully installed, ...
Show full article (2.14Kb)
no comments
Re: FAIL Class-Inflate-0.05 i686-linux 2.4.27-3-686         


Author: David Golden
Date: Oct 25, 2007 04:09

Dear Nathan -- I see two things going on.

1) I think that CPAN.pm might have a bug where it's not finding
prerequisites because the PL failed. In this case, you have
Makefile.PL running Build.PL. There's some funky logic in CPAN.pm to
know when/where it can get prerequisites and maybe the use of
Module::Build::Compat is confusing it. (Andreas -- what about reading
YAML regardless of the result of the PL phase?)

2) Your Build.PL subclass has "use DBI" -- but that code gets loaded
by M::B to create your subclass. So you're guaranteed to fail if DBI
isn't installed. This isn't something that "build_requires" can
address -- build_requires are only satisfied after the PL file runs.
Instead, you have a few options:

* Use the bleeding_edge "configure_requires" option in META.yml, which
isn't widely supported yet, that is intended to get things installed
before calling Makefile.PL or Build.PL

* Change your "use DBI" to "require DBI" and put that inside your
ACTION_test subroutine so it isn't called until the test phase (when
presumably, your prerequisites pull it in).
Show full article (3.61Kb)
no comments
Re: FAIL Class-Inflate-0.05 i686-linux 2.4.27-3-686         


Author: Nathan Gray
Date: Oct 25, 2007 05:50

On Thu, Oct 25, 2007 at 07:09:01AM -0400, David Golden wrote:
> 2) Your Build.PL subclass has "use DBI" -- but that code gets loaded
> by M::B to create your subclass. So you're guaranteed to fail if DBI
> isn't installed. This isn't something that "build_requires" can
> address -- build_requires are only satisfied after the PL file runs.
> Instead, you have a few options:
>
> * Use the bleeding_edge "configure_requires" option in META.yml, which
> isn't widely supported yet, that is intended to get things installed
> before calling Makefile.PL or Build.PL
>
> * Change your "use DBI" to "require DBI" and put that inside your
> ACTION_test subroutine so it isn't called until the test phase (when
> presumably, your prerequisites pull it in).

This sounds like a good solution.
Show full article (1.28Kb)
no comments
Re: FAIL Class-Inflate-0.05 i686-linux 2.4.27-3-686         


Author: Andreas J. Koenig
Date: Oct 26, 2007 00:04

>>>>> On Thu, 25 Oct 2007 07:09:01 -0400, "David Golden" cpan.org> said:
> Dear Nathan -- I see two things going on.
> 1) I think that CPAN.pm might have a bug where it's not finding
> prerequisites because the PL failed. In this case, you have
> Makefile.PL running Build.PL. There's some funky logic in CPAN.pm to
> know when/where it can get prerequisites and maybe the use of
> Module::Build::Compat is confusing it. (Andreas -- what about reading
> YAML regardless of the result of the PL phase?)

If PL fails we never proceed any further, right? I think we should not
change that, it would just increase the number of possible paths
through the installation procedure. And variants need maintainance and
all that.

Or am I missing something?

--
andreas
no comments
Re: FAIL Class-Inflate-0.05 i686-linux 2.4.27-3-686         


Author: David Golden
Date: Oct 26, 2007 03:44

On 10/26/07, Andreas J. Koenig wrote:
> If PL fails we never proceed any further, right? I think we should not
> change that, it would just increase the number of possible paths
> through the installation procedure. And variants need maintainance and
> all that.
>
> Or am I missing something?

For Class-Inflate, prereqs weren't found by CPAN::Reporter calling
prereq_pm on the distribution object and I'm not sure why.

I'm suggesting that if a META.yml exists, then prereq_pm() should be
able to get prerequisites regardless of whether *.PL has run (unless
the dynamic flag is set in META.yml). I'm not sure that's the current
logic.

It's possible that the because Class-Inflate is using Makefile.Pl with
Module::Build::Compat, this is somehow confusing prereq_pm().

David
no comments
Re: FAIL Class-Inflate-0.05 i686-linux 2.4.27-3-686         


Author: Andreas J. Koenig
Date: Oct 27, 2007 13:10

>>>>> On Fri, 26 Oct 2007 06:44:48 -0400, "David Golden" cpan.org> said:
> On 10/26/07, Andreas J. Koenig wrote:
>> If PL fails we never proceed any further, right? I think we should not
>> change that, it would just increase the number of possible paths
>> through the installation procedure. And variants need maintainance and
>> all that.
>>
>> Or am I missing something?
> For Class-Inflate, prereqs weren't found by CPAN::Reporter calling
> prereq_pm on the distribution object and I'm not sure why.

Adam invented configure_requires for a real reason. If there is a
requirement before the PL file can be run, only configure_requires is
a possible solution. Now we must tell people to use it whenever they
have exactly this problem. If they do not have this problem then they
shall write their Makefile/Build and let the rest of the chain do its
duty.
Show full article (2.25Kb)
no comments