The test "t/writemakefile_args.t" requires at least the release 0.7201
of the "version" module to work. The problem is at lines 179 and 190
isa_ok( $mm->{VERSION}, 'version' );
is( $mm->{VERSION}, '1.2.3' ); # <<< HERE
Only after version 0.7201 that "version" stringifies the same as its
initializer. Before that, it produced 'v1.2.3' instead. I am not sure
about the right fix - but this seems to work (even though I don't know
for how long version objects numify in this way).
is( $mm->{VERSION}->numify, 1.002003 );
The Changes in "version" distribution are not indexed by version and
only by dates :( and that's why it is hard to tell at which version a
certain feature became available.
Best regards,
Adriano Ferreira
P.S. The report below (using version 0.70) illustrates the problem.
On 6/30/07, Adriano Ferreira <[EMAIL PROTECTED]> wrote:
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 [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any duplicate effort.
--
Dear Michael G Schwern,
This is a computer-generated test report for ExtUtils-MakeMaker-6.33, created
automatically by CPAN::Reporter, version 0.44, 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 testing your distribution.
Sections of this report:
* Tester comments
* Prerequisites
* Environment and other context
* Test output
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
[none provided]
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
-------------- ---- ----
DirHandle 0 1.00
File::Basename 0 2.74
File::Spec 0.8 3.25
Pod::Man 0 2.12
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
COMSPEC = C:\WINNT\system32\cmd.exe
INCLUDE =
C:\tools\msvc\VC98\atl\include;C:\tools\msvc\VC98\mfc\include;C:\tools\msvc\VC98\include
LIB = C:\tools\msvc\VC98\mfc\lib;C:\tools\msvc\VC98\lib
NUMBER_OF_PROCESSORS = 1
PATH =
/cygdrive/c/tools/ant/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Perl/site/bin:/cygdrive/c/Perl/bin:/cygdrive/c/tools/ruby/bin:/cygdrive/c/tools/orant/bin:/cygdrive/c/tools/msvc/Common/MSDev98/Bin:/cygdrive/c/tools/Tcl/bin:/cygdrive/c/tools/Python22/:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/tools/nmake:/cygdrive/c/Arquivos
de
programas/cvsnt:/cygdrive/c/vanilla-perl/perl/bin:/cygdrive/c/vanilla-perl/dmake/bin:/cygdrive/c/vanilla-perl/mingw/bin:/usr/bin:/cygdrive/c/Arquivos
de
programas/Subversion/bin:/cygdrive/c/tools/QuickTime/QTSystem/:/cygdrive/c/tools/perl/bin:/cygdrive/c/tools/msvc/Common/Tools/WinNT:/cygdrive/c/tools/msvc/Common/Tools:/cygdrive/c/tools/msvc/VC98/bin:/cygdrive/c/tools/java/jdk1.5.0_06/bin
PERL5LIB =
/home/Ferreira/.cpan/5.8.8/build/ExtUtils-MakeMaker-6.33-DNem3C/blib/arch:/home/Ferreira/.cpan/5.8.8/build/ExtUtils-MakeMaker-6.33-DNem3C/blib/lib
PERL5_CPANPLUS_IS_RUNNING = 1
PERL5_CPAN_IS_RUNNING = 1
PROCESSOR_IDENTIFIER = x86 Family 15 Model 1 Stepping 2, GenuineIntel
TERM = cygwin
Perl special variables (and OS-specific diagnostics, for MSWin32):
Perl: $^X = /usr/local/bin/perl.exe
UID: $< = 1000
EUID: $> = 1000
GID: $( = 513 545 544
EGID: $) = 513 545 544
Perl module toolchain versions installed:
Module Have
------------------- ------
CPAN 1.9102
Cwd 3.25
ExtUtils::CBuilder 0.19
ExtUtils::Command 1.09
ExtUtils::Install 1.41
ExtUtils::MakeMaker 6.32
ExtUtils::Manifest 1.51
ExtUtils::ParseXS 2.15
File::Spec 3.25
Module::Build 0.2808
Module::Signature n/a
Test::Harness 2.64
Test::More 0.70
version 0.70
------------------------------
TEST OUTPUT
------------------------------
Output from '/usr/bin/make test':
/usr/local/bin/perl.exe "-Ilib" "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/00compile.............ok
t/backwards.............ok
t/basic.................ok
t/build_man.............ok
t/bytes.................ok
t/cd....................ok
1/4 skipped: various reasons
t/config................ok
t/dir_target............ok
t/FIRST_MAKEFILE........ok
t/fixin.................ok
t/hints.................ok
t/INST..................ok
t/INST_PREFIX...........ok
5/52 skipped: various reasons
t/INSTALL_BASE..........ok
t/Liblist...............ok
t/make..................ok
t/Mkbootstrap...........ok
t/MM_Any................ok
t/MM_BeOS...............skipped
all skipped: This is not BeOS
t/MM_Cygwin.............ok
t/MM_NW5................skipped
all skipped: This is not NW5
t/MM_OS2................skipped
all skipped: This is not OS/2
t/MM_Unix...............skipped
all skipped: Non-Unix platform
t/MM_VMS................skipped
all skipped: This is not VMS
t/MM_Win32..............skipped
all skipped: This is not Win32
t/oneliner..............ok
t/parse_version.........ok
t/PL_FILES..............ok
t/pm....................ok
t/postamble.............ok
t/prefixify.............ok
1/3 skipped: various reasons
t/prereq................ok
t/prereq_print..........ok
t/problems..............ok
t/prompt................ok
t/recurs................ok
t/revision..............ok
t/split_command.........ok
t/testlib...............ok
t/VERSION_FROM..........ok
t/vmsish................ok
t/WriteEmptyMakefile....ok
t/writemakefile_args....
# Failed test in t/writemakefile_args.t at line 179.
# got: 'v1.2.3'
# expected: '1.2.3'
# Failed test in t/writemakefile_args.t at line 190.
# got: 'v1.2.3'
# expected: '1.2.3'
# Looks like you failed 2 tests of 28.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 23, 26
Failed 2/28 tests, 92.86% okay
t/xs....................gcc -shared -o compilet.dll
-Wl,--out-implib=libcompilet.dll.a -Wl,--export-all-symbols
-Wl,--enable-auto-import -Wl,--stack,8388608 \
-L/usr/local/lib /tmp/compilet.o
/usr/local/lib/perl5/5.8.8/cygwin/CORE/libperl.dll.a
Creating library file: libcompilet.dll.a
mv compilet.dll libcompilet.dll.a /tmp/
ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/writemakefile_args.t 2 512 28 2 23 26
6 tests and 7 subtests skipped.
Failed 1/44 test scripts. 2/479 subtests failed.
Files=44, Tests=479, 213 wallclock secs (95.27 cusr + 79.22 csys = 174.49 CPU)
Failed 1/44 test programs. 2/479 subtests failed.
make: *** [test_dynamic] Error 255
--
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=cygwin, osvers=1.5.22(0.15642), archname=cygwin
uname='cygwin_nt-5.0 tec-020 1.5.22(0.15642) 2006-11-13 17:01 i686 cygwin '
config_args='-des -Doptimize=-g'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing
-pipe -Wdeclaration-after-statement',
optimize='-g',
cppflags='-DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe
-Wdeclaration-after-statement'
ccversion='', gccversion='3.4.4 (cygming special) (gdc 0.12, using dmd
0.125)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld2', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -ldl -lcrypt -lgdbm_compat
perllibs=-ldl -lcrypt -lgdbm_compat
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -L/usr/local/lib'