Posted on 2008-11-22 04:50:40-08 by jtmoon79
failure to pass several tests after build - using ActiveState perl
Hi,

I tried installing PathTools-3.29 and it failed some of the post-compilation tests.
Im running ActiveState perl from the Windows cmd shell

Heres the important lines (near the end of the output)
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch +')" t/*.t t/crossplatform....ok 10/71 skipped: Can't load File::Spec::VMS t/cwd..............ok 2/30 skipped: no symlinks on this platform t/Functions........ok t/rel2abs2rel......ok t/Spec.............ok 126/597 skipped: various reasons t/taint............ok t/tmpdir...........ok t/win32............Undefined subroutine &Cwd::getdcwd called at t/win32.t line 22. t/win32............ok 1/4# Looks like you planned 4 tests but only ran 1. # Looks like your test died just after 1. t/win32............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-4 Failed 3/4 tests, 25.00% okay

Here's my perl version
--> perl --version This is perl, v5.8.8 built for MSWin32-x86-multi-thread
I'm beginning to guess I need version 5.10. I'll post again if an upgrade fixes this problem.


Here's the entire output (lots of info!)
perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.7602) ReadLine support enabled cpan> install S/SM/SMUELLER/PathTools-3.29.tar.gz CPAN: Storable loaded ok Going to read C:\Perl\cpan\Metadata Database was generated on Thu, 20 Nov 2008 11:26:51 GMT Running make for S/SM/SMUELLER/PathTools-3.29.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for C:\Perl\cpan\sources\authors\id\S\SM\SMUELLER\PathTools-3.29.tar.gz ok Scanning cache C:\Perl/cpan/build for sizes CPAN: Archive::Tar loaded ok PathTools-3.29/ PathTools-3.29/t/ PathTools-3.29/t/win32.t PathTools-3.29/t/tmpdir.t PathTools-3.29/t/cwd.t PathTools-3.29/t/lib/ PathTools-3.29/t/lib/Test/ PathTools-3.29/t/lib/Test/Tutorial.pod PathTools-3.29/t/lib/Test/Builder.pm PathTools-3.29/t/lib/Test/More.pm PathTools-3.29/t/lib/Test/Simple.pm PathTools-3.29/t/Spec.t PathTools-3.29/t/rel2abs2rel.t PathTools-3.29/t/taint.t PathTools-3.29/t/crossplatform.t PathTools-3.29/t/Functions.t PathTools-3.29/lib/ PathTools-3.29/lib/File/ PathTools-3.29/lib/File/Spec/ PathTools-3.29/lib/File/Spec/OS2.pm PathTools-3.29/lib/File/Spec/Mac.pm PathTools-3.29/lib/File/Spec/Functions.pm PathTools-3.29/lib/File/Spec/Epoc.pm PathTools-3.29/lib/File/Spec/Win32.pm PathTools-3.29/lib/File/Spec/VMS.pm PathTools-3.29/lib/File/Spec/Cygwin.pm PathTools-3.29/lib/File/Spec/Unix.pm PathTools-3.29/lib/File/Spec.pm PathTools-3.29/Changes PathTools-3.29/Cwd.pm PathTools-3.29/MANIFEST PathTools-3.29/Cwd.xs PathTools-3.29/ppport.h PathTools-3.29/META.yml PathTools-3.29/INSTALL PathTools-3.29/README PathTools-3.29/Build.PL PathTools-3.29/Makefile.PL PathTools-3.29/SIGNATURE Removing previously used C:\Perl\cpan\build\PathTools-3.29 CPAN.pm: Going to build S/SM/SMUELLER/PathTools-3.29.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Cwd Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. cp lib/File/Spec/Mac.pm blib\lib\File\Spec\Mac.pm cp lib/File/Spec/OS2.pm blib\lib\File\Spec\OS2.pm cp lib/File/Spec/VMS.pm blib\lib\File\Spec\VMS.pm cp lib/File/Spec/Cygwin.pm blib\lib\File\Spec\Cygwin.pm cp lib/File/Spec/Epoc.pm blib\lib\File\Spec\Epoc.pm cp lib/File/Spec/Functions.pm blib\lib\File\Spec\Functions.pm cp lib/File/Spec.pm blib\lib\File\Spec.pm cp Cwd.pm blib\lib\Cwd.pm cp lib/File/Spec/Unix.pm blib\lib\File\Spec\Unix.pm cp lib/File/Spec/Win32.pm blib\lib\File\Spec\Win32.pm C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib\ExtUtils\typemap Cw +d.xs > Cwd.xsc && C:\Perl\bin\perl.exe -M ExtUtils::Command -e mv Cwd.xsc Cwd.c cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCR +YPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -D PERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 + -DVERSION=\"3.29\" -DXS_VERSION=\"3.29 \" "-IC:\Perl\lib\CORE" Cwd.c Cwd.c Cwd.xs(89) : warning C4996: 'getcwd' was declared deprecated C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\direct.h(121) : see declaration of 'g +etcwd' Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant n +ame: _getcwd. See online help for details .' Cwd.xs(77) : warning C4101: 'symlink' : unreferenced local variable Running Mkbootstrap for Cwd () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Cwd.bs C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Cwd\", 'DLBASE' => 'C +wd', 'DL_FUNCS' => { }, 'FUNCLIST' => [] , 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:blib\arch\auto\Cwd\Cwd.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpa +th:"C:\Perl\lib\CORE" -machine:x86 Cwd.o bj C:\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdl +g32.lib advapi32.lib shell32.lib ole32.li b oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32 +.lib msvcrt.lib -def:Cwd.def Creating library blib\arch\auto\Cwd\Cwd.lib and object blib\arch\auto\Cwd\Cwd.exp C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto\Cwd\Cwd.dll No root path(s) specified at C:/Perl/lib/ExtUtils/Command.pm line 105 C:\Perl\bin\perl.exe -MExtUtils::Command -e cp Cwd.bs blib\arch\auto\Cwd\Cwd.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\auto\Cwd\Cwd.bs nmake -- OK Running make test Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch +')" t/*.t t/crossplatform....ok 10/71 skipped: Can't load File::Spec::VMS t/cwd..............ok 2/30 skipped: no symlinks on this platform t/Functions........ok t/rel2abs2rel......ok t/Spec.............ok 126/597 skipped: various reasons t/taint............ok t/tmpdir...........ok t/win32............Undefined subroutine &Cwd::getdcwd called at t/win32.t line 22. t/win32............ok 1/4# Looks like you planned 4 tests but only ran 1. # Looks like your test died just after 1. t/win32............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-4 Failed 3/4 tests, 25.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/win32.t 255 65280 4 6 150.00% 2-4 138 subtests skipped. Failed 1/8 test scripts, 87.50% okay. 3/730 subtests failed, 99.59% okay. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff' Stop. nmake test -- NOT OK Running make install make test had returned bad status, won't install without force cpan>

Thanks,

J_Tom_Moon_79
Direct Responses: 9472 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.