Shouldn't the prereq_report action report on configure_requires if it
exists?
(And is there a reason why configure_requires is not in
prereq_action_types?)

Here's output from M::B 0.33 and one of my own modules that shows the
issue:

C:\Documents and Settings\Curtis\Desktop\Blueberry
Perl\Work\Module-Build-Functions>type META.yml
---
name: Module-Build-Functions
version: 0.001_010
author:
  - 'Curtis Jewell <csjew...@cpan.org>'
abstract: Module::Install style syntax for Module::Build
license: perl
resources:
  license: http://dev.perl.org/licenses/
configure_requires:
  Module::Build: 0.31
requires:
  File::Slurp: 0
  perl: 5.005
build_requires:
  Capture::Tiny: 0.06
  Module::Build: 0.31
  Test::Compile: 0
  Test::More: 0
provides:
  Module::Build::Functions:
    file: lib/Module/Build/Functions.pm
    version: 0.001_010
generated_by: Module::Build version 0.33
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4

C:\Documents and Settings\Curtis\Desktop\Blueberry
Perl\Work\Module-Build-Functions>Build prereq_report

build_requires:
    Module             Need    Have
    ----------------+--------+----------
    Capture::Tiny      0.06     0.06
    Module::Build      0.31     0.33
    Test::Compile      0        0.08
    Test::More         0        0.86

requires:
    Module           Need     Have
    --------------+---------+----------
    File::Slurp      0         9999.13
    perl             5.005     5.10.0

After the patch applied to a checkout of r12858:

C:\Documents and Settings\Curtis\Desktop\Blueberry
Perl\Work\Module-Build>Build test
t\PL_files.t .......... 1/6
#   Failed test 'PL_files not installed from bin'
#   at t\PL_files.t line 48.
# Looks like you failed 1 test of 6.
t\PL_files.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests
t\add_property.t ...... ok
t\basic.t ............. ok
...

(This test was failing before the patch - all other tests pass.)

... (remaking the Build.PL)

C:\Documents and Settings\Curtis\Desktop\Blueberry
Perl\Work\Module-Build-Functions>Build prereq_report

build_requires:
    Module             Need    Have
    ----------------+--------+----------
    Capture::Tiny      0.06     0.06
    Module::Build      0.31     0.3303
    Test::Compile      0        0.08
    Test::More         0        0.86

requires:
    Module           Need     Have
    --------------+---------+----------
    File::Slurp      0         9999.13
    perl             5.005     5.10.0

configure_requires:
    Module             Need    Have
    ----------------+--------+----------
    Module::Build      0.31     0.3303
--
Curtis Jewell
swords...@csjewell.fastmail.us

%DCL-E-MEM-BAD, bad memory
-VMS-F-PDGERS, pudding between the ears

[I use PC-Alpine, which deliberately does not display colors and pictures in 
HTML mail]

Attachment: Module-Build-include-configure_requires-in-prereq-data.patch
Description: Binary data

Reply via email to