hi,

this is reproducible across all of my current boxes.

i've,

 Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
   Platform:
   osname=darwin, osvers=8.8.0, archname=darwin-thread-multi-2level
   uname='darwin mydwv 8.8.0 darwin kernel version 8.8.0: fri sep 8
17:18:57 pdt 2006; root:xnu-792.12.6.obj~1release_ppc power macintosh
powerpc '

when i check cpan,

 cpan> r
  Package namespace         installed    latest  in CPAN file
  Module::Build::Version            0      0.58
KWILLIAMS/Module-Build-0.2807.tar.gz

then try tp upgrade, it fails w/

 cpan> install Module::Build::Version
  Running install for module 'Module::Build::Version'
  Running make for K/KW/KWILLIAMS/Module-Build-0.2807.tar.gz
   Has already been unwrapped into directory
/homw/.cpan/build/Module-Build-0.2807-GtMucU
  ...
  Failed Test    Stat Wstat Total Fail  List of Failed
  
-------------------------------------------------------------------------------
  t/metadata.t      2   512    47    2  14-15
  t/moduleinfo.t    2   512    81    2  79 81
  1 test and 12 subtests skipped.
  Failed 2/25 test scripts. 4/756 subtests failed.
  Files=25, Tests=756, 153 wallclock secs (72.87 cusr + 38.44 csys =
111.31 CPU)
  Failed 2/25 test programs. 4/756 subtests failed.
  make: *** [test] Error 255
    KWILLIAMS/Module-Build-0.2807.tar.gz
    /usr/bin/make test -- NOT OK
  Running make install
    make test had returned bad status, won't install without force
  Failed during this command:
   KWILLIAMS/Module-Build-0.2807.tar.gz         : make_test NO

checking @ shell,

 % cd Module-Build-0.2807-IT1kgp
 % perl Build.PL
 % ./Build
 % ./Build test
   Failed Test    Stat Wstat Total Fail  List of Failed
   
-------------------------------------------------------------------------------
   t/metadata.t      2   512    47    2  14-15
   t/moduleinfo.t    2   512    81    2  79 81
   1 test and 12 subtests skipped.
   Failed 2/25 test scripts. 4/756 subtests failed.
   Files=25, Tests=756, 136 wallclock secs (72.08 cusr + 37.97 csys =
110.05 CPU)
   Failed 2/25 test programs. 4/756 subtests failed.

then in more detail,

 ./Build test --verbose --test_files t/metadata.t
   t/metadata....1..47
   Checking whether your kit is complete...
   Looks good

   Checking prerequisites...
   Looks good

   Creating new 'Build' script for 'Simple' version '3.14159265'
   ok 1 - 'name' field present in META.yml
   ok 2 - 'version' field present in META.yml
   ok 3 - 'abstract' field present in META.yml
   ok 4 - 'author' field present in META.yml
   ok 5 - 'license' field present in META.yml
   ok 6 - 'generated_by' field present in META.yml
   ok 7 - 'meta-spec' -> 'version' field present in META.yml
   ok 8 - 'meta-spec' -> 'url' field present in META.yml
   ok 9
   ok 10
   ok 11
   ok 12
   ok 13
   not ok 14 - Check version

   #   Failed test 'Check version'
   #   at t/metadata.t line 150.
   #          got: '0.60.128'
   #     expected: 'v0.60.128'
   not ok 15 - Check version

   #   Failed test 'Check version'
   #   at t/metadata.t line 151.
   #          got: '0.61.129'
   #     expected: 'v0.61.129'
   ok 16 - Versions from prepare_metadata() aren't refs
   ok 17 - Versions from prepare_metadata() aren't refs
   ok 18
   ok 19
   ok 20
   ok 21
   ok 22
   ok 23 -   with conflicting versions reported
   ok 24
   ok 25 -   with conflicting versions reported
   ok 26
   ok 27
   ok 28
   ok 29
   ok 30 -   with conflicting versions reported
   ok 31
   ok 32
   ok 33
   ok 34
   ok 35
   ok 36 -   with conflicting versions reported
   ok 37
   ok 38
   ok 39
   ok 40 -   no conflicts reported
   ok 41
   ok 42 -   corresponding package conflicts with multiple alternatives
   ok 43
   ok 44 -   only one alternative conflicts with corresponding package
   ok 45
   ok 46
   ok 47
   # Looks like you failed 2 tests of 47.
   dubious
       Test returned status 2 (wstat 512, 0x200)
   DIED. FAILED tests 14-15
       Failed 2/47 tests, 95.74% okay
   Failed Test  Stat Wstat Total Fail  List of Failed
   
-------------------------------------------------------------------------------
   t/metadata.t    2   512    47    2  14-15
   Failed 1/1 test scripts. 2/47 subtests failed.
   Files=1, Tests=47, 15 wallclock secs ( 5.60 cusr +  5.54 csys = 11.14 CPU)
   Failed 1/1 test programs. 2/47 subtests failed.

 ./Build test --verbose --test_files t/moduleinfo.t
   t/moduleinfo....1..81
   ok 1 - use Module::Build::ModuleInfo;
   ok 2 - find_module_by_name() succeeds
   ok 3 - fail if can't find module by module name
   ok 4 - fail if can't find module by file name
   ok 5 - new_from_file() succeeds
   ok 6 - new_from_module() succeeds
   ok 7 - correct module version (1 of 22)
   ok 8 - no warnings from parsing
   ok 9 - correct module version (2 of 22)
   ok 10 - no warnings from parsing
   ok 11 - correct module version (3 of 22)
   ok 12 - no warnings from parsing
   ok 13 - correct module version (4 of 22)
   ok 14 - no warnings from parsing
   ok 15 - correct module version (5 of 22)
   ok 16 - no warnings from parsing
   ok 17 - correct module version (6 of 22)
   ok 18 - no warnings from parsing
   ok 19 - correct module version (7 of 22)
   ok 20 - no warnings from parsing
   ok 21 - correct module version (8 of 22)
   ok 22 - no warnings from parsing
   ok 23 - correct module version (9 of 22)
   ok 24 - no warnings from parsing
   ok 25 - correct module version (10 of 22)
   ok 26 - no warnings from parsing
   ok 27 - correct module version (11 of 22)
   ok 28 - no warnings from parsing
   ok 29 - correct module version (12 of 22)
   ok 30 - no warnings from parsing
   ok 31 - correct module version (13 of 22)
   ok 32 - no warnings from parsing
   ok 33 - correct module version (14 of 22)
   ok 34 - no warnings from parsing
   ok 35 - correct module version (15 of 22)
   ok 36 - no warnings from parsing
   ok 37 - correct module version (16 of 22)
   ok 38 - no warnings from parsing
   ok 39 - correct module version (17 of 22)
   ok 40 - no warnings from parsing
   ok 41 - correct module version (18 of 22)
   ok 42 - no warnings from parsing
   ok 43 - correct module version (19 of 22)
   ok 44 - no warnings from parsing
   ok 45 - correct module version (20 of 22)
   ok 46 - no warnings from parsing
   ok 47 - correct module version (21 of 22)
   ok 48 - no warnings from parsing
   ok 49 - correct module version (22 of 22)
   ok 50 - no warnings from parsing
   ok 51 - record only one occurence of each package
   ok 52 - no default package
   ok 53 - no version w/o default package
   ok 54 - alpha version reported
   ok 55 - alpha version greater than non
   ok 56 - correct script version (1 of 8)
   ok 57 - correct script version (2 of 8)
   ok 58 - correct script version (3 of 8)
   ok 59 - correct script version (4 of 8)
   ok 60 - correct script version (5 of 8)
   ok 61 - correct script version (6 of 8)
   ok 62 - correct script version (7 of 8)
   ok 63 - correct script version (8 of 8)
   ok 64 - found default package
   ok 65 - version for default package
   ok 66 - version for secondary package
   ok 67 - filename() returns valid path to module file
   ok 68 - found correct number of packages
   ok 69 - packages stored in order found
   ok 70 - contains_pod() succeeds
   ok 71 - found all pod sections
   ok 72 - return undef() if pod section not present
   ok 73 - return undef() if pod section not collected
   ok 74 - collected pod section
   ok 75 - found default package
   ok 76 - version for default package
   ok 77
   ok 78 - found default package
   not ok 79 - version for default package

   #   Failed test 'version for default package'
   #   at t/moduleinfo.t line 422.
   #          got: '0.60.128'
   #     expected: 'v0.60.128'
   ok 80
   not ok 81 - version for embedded package

   #   Failed test 'version for embedded package'
   #   at t/moduleinfo.t line 425.
   #          got: '0.61.129'
   #     expected: 'v0.61.129'
   # Looks like you failed 2 tests of 81.
   dubious
       Test returned status 2 (wstat 512, 0x200)
   DIED. FAILED tests 79, 81
       Failed 2/81 tests, 97.53% okay
   Failed Test    Stat Wstat Total Fail  List of Failed
   
-------------------------------------------------------------------------------
   t/moduleinfo.t    2   512    81    2  79 81
   Failed 1/1 test scripts. 2/81 subtests failed.
   Files=1, Tests=81,  3 wallclock secs ( 0.75 cusr +  0.91 csys =  1.66 CPU)
   Failed 1/1 test programs. 2/81 subtests failed.

Reply via email to