Start 2008-10-17T08:18:21 LIB=C:\PROGRA~1\MICROS~4\VC98\Lib\PSDK;C:\PROGRA~1\MICROS~2\Lib;C:\PROGRA~1\MICROS~4\VC98\Lib;C:\PROGRA~1\MICROS~4\VC98\MFC\Lib INCLUDE=C:\PROGRA~1\MICROS~2\Include;C:\PROGRA~1\MICROS~4\VC98\ATL\Include;C:\PROGRA~1\MICROS~4\VC98\Include;C:\PROGRA~1\MICROS~4\VC98\MFC\Include PATH=C:\PROGRA~1\MICROS~2\Bin;C:\PROGRA~1\MICROS~2\Bin\WinNT;C:\PROGRA~1\MICROS~4\VC98\Bin;C:\PROGRA~1\MICROS~4\Common\MSDev98\Bin;C:\Perl\site\bin;C:\Perl\bin;C:\cygwin\bin;C:\mingw\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem Going to read C:\cpanfly\var\cpan\Metadata Database was generated on Fri, 17 Oct 2008 08:27:56 GMT Running make for C/CO/COSIMO/Win32-API-0.57.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/C/CO/COSIMO/Win32-API-0.57.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/C/CO/COSIMO/CHECKSUMS Checksum for C:\cpanfly\var\cpan\sources\authors\id\C\CO\COSIMO\Win32-API-0.57.tar.gz ok Win32-API-0.57/ Win32-API-0.57/API.h Win32-API-0.57/API.pm Win32-API-0.57/API.xs Win32-API-0.57/API_test.dll Win32-API-0.57/API_test_dll/ Win32-API-0.57/API_test_dll/API_test.cpp Win32-API-0.57/API_test_dll/API_test.def Win32-API-0.57/API_test_dll/API_test.dsp Win32-API-0.57/API_test_dll/API_test.dsw Win32-API-0.57/API_test_dll/API_test.h Win32-API-0.57/API_test_dll/Makefile Win32-API-0.57/API_test_dll/StdAfx.cpp Win32-API-0.57/API_test_dll/StdAfx.h Win32-API-0.57/Callback/ Win32-API-0.57/Callback/Callback.xs Win32-API-0.57/Callback/Makefile.PL Win32-API-0.57/Callback/t/ Win32-API-0.57/Callback/t/02_Callback.t Win32-API-0.57/Callback.pm Win32-API-0.57/Changes Win32-API-0.57/Makefile.PL Win32-API-0.57/MANIFEST Win32-API-0.57/META.yml Win32-API-0.57/README Win32-API-0.57/samples/ Win32-API-0.57/samples/callback1.pl Win32-API-0.57/samples/callback2.pl Win32-API-0.57/samples/callback3.pl Win32-API-0.57/samples/cdinfo.pl Win32-API-0.57/samples/chres.pl Win32-API-0.57/samples/ejectcd.pl Win32-API-0.57/samples/GetCursorPos.pl Win32-API-0.57/samples/hideconsole.pl Win32-API-0.57/samples/kernel32.html Win32-API-0.57/samples/kernel32.pl Win32-API-0.57/samples/locales.pl Win32-API-0.57/samples/resolution.pl Win32-API-0.57/samples/rndcolors.pl Win32-API-0.57/samples/Win32/ Win32-API-0.57/samples/Win32/kernel32.pm Win32-API-0.57/samples/wininfo.pl Win32-API-0.57/Struct.pm Win32-API-0.57/t/ Win32-API-0.57/t/00_API.t Win32-API-0.57/t/01_Struct.t Win32-API-0.57/t/02_GetProcess.t Win32-API-0.57/t/03_undef.t Win32-API-0.57/Test.pm Win32-API-0.57/Type.pm Win32-API-0.57/TYPEMAP CPAN.pm: Going to build C/CO/COSIMO/Win32-API-0.57.tar.gz >>> C:\Perl\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Win32::API::Callback Writing Makefile for Win32::API >>> nmake Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. cp Type.pm blib\lib\Win32/API/Type.pm cp Callback.pm blib\lib\Win32/API/Callback.pm cp Test.pm blib\lib\Win32/API/Test.pm cp Struct.pm blib\lib\Win32/API/Struct.pm cp API.pm blib\lib\Win32/API.pm nmake -f Makefile all -nologo C:\Perl\bin\perl.exe C:\cpanfly\var\megalib\ExtUtils\xsubpp -typemap C:\Perl\lib\ExtUtils\typemap Callback.xs > Callback.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e mv Callback.xsc Callback.c cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.57\" -DXS_VERSION=\"0.57\" "-IC:\Perl\lib\CORE" Callback.c Callback.c Callback.xs(523) : warning C4018: '<' : signed/unsigned mismatch Callback.xs(622) : warning C4018: '<' : signed/unsigned mismatch Running Mkbootstrap for Win32::API::Callback () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Callback.bs C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Win32::API::Callback\", 'DLBASE' => 'Callback', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:..\blib\arch\auto\Win32\API\Callback\Callback.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 Callback.obj C:\Perl\lib\CORE\perl510.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:Callback.def Creating library ..\blib\arch\auto\Win32\API\Callback\Callback.lib and object ..\blib\arch\auto\Win32\API\Callback\Callback.exp C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 ..\blib\arch\auto\Win32\API\Callback\Callback.dll C:\Perl\bin\perl.exe -MExtUtils::Command -e cp Callback.bs ..\blib\arch\auto\Win32\API\Callback\Callback.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 ..\blib\arch\auto\Win32\API\Callback\Callback.bs cd .. C:\Perl\bin\perl.exe C:\cpanfly\var\megalib\ExtUtils\xsubpp -typemap C:\Perl\lib\ExtUtils\typemap -typemap typemap API.xs > API.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e mv API.xsc API.c cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.57\" -DXS_VERSION=\"0.57\" "-IC:\Perl\lib\CORE" API.c API.c API.xs(339) : warning C4244: '=' : conversion from 'double ' to 'float ', possible loss of data API.xs(616) : warning C4244: '=' : conversion from 'double ' to 'float ', possible loss of data Running Mkbootstrap for Win32::API () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 API.bs C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Win32::API\", 'DLBASE' => 'API', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:blib\arch\auto\Win32\API\API.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 API.obj C:\Perl\lib\CORE\perl510.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:API.def Creating library blib\arch\auto\Win32\API\API.lib and object blib\arch\auto\Win32\API\API.exp C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto\Win32\API\API.dll C:\Perl\bin\perl.exe -MExtUtils::Command -e cp API.bs blib\arch\auto\Win32\API\API.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\auto\Win32\API\API.bs COSIMO/Win32-API-0.57.tar.gz nmake -- OK Running make test >>> nmake test TEST_VERBOSE=1 Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. nmake -f Makefile all -nologo cd .. C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" t/*.t t/00_API........... 1..24 ok 1 - use Win32::API; ok 2 - use Win32::API::Test; ok 3 - use Win32; ok 4 - loaded # API_Test.dll found at (API_test.dll) ok 5 - found API_Test.dll ok 6 - GetCurrentProcessId() function found # GetCurrentProcessId()=2492 $$=2492 ok 7 - GetCurrentProcessId() result ok # Now the same test, with prototype # $^E= # GetCurrentProcessId()=2492 $$=2492 ok 8 - GetCurrentProcessId() result ok # Now the same test, with Import ok 9 - Import of GetCurrentProcessId() function from kernel32.dll # $^E= # GetCurrentProcessId()=2492 $$=2492 ok 10 - GetCurrentProcessId() result ok ok 11 - sum_integers() function defined # $^E= ok 12 - function call with integer arguments and return value ok 13 - sum_integers_ref() function defined # $^E= Use of uninitialized value $arg in concatenation (.) or string at C:\cpanfly\var\cpan\build\Win32-API-0.57-DFduWd\blib\lib/Win32/API/Type.pm line 217. ok 14 - sum_integers_ref() call works ok 15 # SKIP because function call with doubles segfaults even with msvc6 ok 16 # SKIP because function call with doubles segfaults even with msvc6 ok 17 - sum_doubles_ref() function defined # $^E= Use of uninitialized value $arg in concatenation (.) or string at C:\cpanfly\var\cpan\build\Win32-API-0.57-DFduWd\blib\lib/Win32/API/Type.pm line 217. ok 18 - sum_doubles_ref() call works ok 19 - sum_floats() function defined # $^E= ok 20 # SKIP because function call with floats segfaults ok 21 - sum_floats_ref() function defined # $^E= Use of uninitialized value $arg in concatenation (.) or string at C:\cpanfly\var\cpan\build\Win32-API-0.57-DFduWd\blib\lib/Win32/API/Type.pm line 217. ok 22 - sum_floats_ref() call works ok 23 - find_char() function defined # $^E= Argument "japh" isn't numeric in pack at C:\cpanfly\var\cpan\build\Win32-API-0.57-DFduWd\blib\lib/Win32/API/Type.pm line 200. ok 24 - find_char() function call works find_char: got 'japh', 'a' find_char: tmp now 'japh' find_char: tmp now 'aph' ok t/01_Struct........ 1..7 ok 1 - use Win32::API; ok 2 - use Win32::API::Test; ok 3 - loaded ok 4 - found API_Test.dll ok 5 - mangle_simple_struct() function # $^E= ok 6 - mangling of simple structures work ok 7 - tied interface works dump_struct: 00: 0x05 01: 0x00 02: 0x00 03: 0x00 04: 0x64 05: 0x5f 06: 0x22 07: 0x00 08: 0x00 09: 0x00 10: 0x00 11: 0x00 12: 0x00 13: 0x00 14: 0x04 15: 0x40 16: 0x00 17: 0x00 18: 0x00 19: 0x00 20: 0x20 21: 0x00 22: 0x00 23: 0x00 24: 0xe0 dump_struct: [mine at 0x0140f908] a=5 b=2.500000 c=0x00000000 dump_struct: 00: 0x05 01: 0x00 02: 0x00 03: 0x00 04: 0x00 05: 0x00 06: 0x00 07: 0x00 08: 0x00 09: 0x00 10: 0x00 11: 0x00 12: 0x00 13: 0x00 14: 0x04 15: 0x40 16: 0xb4 17: 0xc5 18: 0xa2 19: 0x01 20: 0x00 21: 0x00 22: 0x00 23: 0x00 24: 0x00 dump_struct: [yours at 0x01903574] a=5 b=2.500000 c=0x01a2c5b4 'test' x.a=2 x.b=5.000000 x.c=0x01a2c5b4 x.c='test' char='t' toupper='T' char='e' toupper='E' char='s' toupper='S' char='t' toupper='T' dump_struct: 00: 0x05 01: 0x00 02: 0x00 03: 0x00 04: 0x64 05: 0x5f 06: 0x22 07: 0x00 08: 0x00 09: 0x00 10: 0x00 11: 0x00 12: 0x00 13: 0x00 14: 0x04 15: 0x40 16: 0x00 17: 0x00 18: 0x00 19: 0x00 20: 0x20 21: 0x00 22: 0x00 23: 0x00 24: 0xe0 dump_struct: [mine at 0x0140f908] a=5 b=2.500000 c=0x00000000 dump_struct: 00: 0x05 01: 0x00 02: 0x00 03: 0x00 04: 0x00 05: 0x00 06: 0x00 07: 0x00 08: 0x00 09: 0x00 10: 0x00 11: 0x00 12: 0x00 13: 0x00 14: 0x04 15: 0x40 16: 0x4c 17: 0xdc 18: 0xa2 19: 0x01 20: 0x00 21: 0x00 22: 0x00 23: 0x00 24: 0x00 dump_struct: [yours at 0x01903ecc] a=5 b=2.500000 c=0x01a2dc4c 'test' x.a=2 x.b=5.000000 x.c=0x01a2dc4c x.c='test' char='t' toupper='T' char='e' toupper='E' char='s' toupper='S' char='t' toupper='T' ok t/02_GetProcess.... 1..3 ok 1 - use Win32::API; ok 2 - kernel32!GetCurrentProcessId import successful # $result=1708 # $$=1708 ok 3 - kernel32!GetCurrentProcessId() == Perl's $$ ok t/03_undef......... 1..3 # Win32::API 0.57 ok 1 - import sample API (PeekNamedPipe) # Import: ok 2 - reclaiming child worked ok 3 - sample API (PeekNamedPipe) works passing undef values ok All tests successful. Files=4, Tests=37, 1 wallclock secs ( 0.03 usr + 0.01 sys = 0.05 CPU) Result: PASS nmake test -nologo C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, '..\blib\lib', '..\blib\arch')" t/*.t t/02_Callback....# Compiler name:cl # Compiler version:12 # $^E= Dubious, test returned 5 (wstat 1280, 0x500) Failed 1/8 subtests Test Summary Report ------------------- t/02_Callback (Wstat: 1280 Tests: 7 Failed: 0) Non-zero exit status: 5 Parse errors: Bad plan. You planned 8 tests but ran 7. Files=1, Tests=7, 2 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU) Result: FAIL Failed 1/1 test programs. 0/7 subtests failed. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x5' Stop. NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2\Bin\nmake.exe' : return code '0x2' Stop. COSIMO/Win32-API-0.57.tar.gz nmake test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports COSIMO/Win32-API-0.57.tar.gz Finished 2008-10-17T08:18:30