Report for Win32-API-0.76_01

Back
From: metabase:user:31dd1d2e-2aae-11df-837a-5e0a49663a4f
Subject: FAIL Win32-API-0.76_01 v5.16.0 
Date: 2013-03-28T20:11:15Z

This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--
Dear Daniel Dragan,

This is a computer-generated report for Win32-API-0.76_01
on perl 5.16.0, created by CPAN-Reporter-1.2006.

Thank you for uploading your work to CPAN.  However, there was a problem
testing your distribution.

If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

this report is from an automated smoke testing program
and was not reviewed by a human for accuracy

------------------------------
PROGRAM OUTPUT
------------------------------

Output from 'C:\Perl16\site\bin\dmake.exe test':

C:\Perl16\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t

#   Failed test 'use Win32::API;'
#   at t/00_API.t line 22.
#     Tried to use 'Win32::API'.
#     Error:  Can't load 'C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\arch/auto/Win32/API/API.dll' for module Win32::API: load_file:Invalid access to memory location at C:/Perl16/lib/DynaLoader.pm line 191.
#  at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API.pm line 81.
# BEGIN failed--compilation aborted at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API.pm line 81.
# Compilation failed in require at (eval 11) line 2.
# BEGIN failed--compilation aborted at (eval 11) line 2.
# 00_API.t entered RUN phase
# API test dll found at (API_test.dll)
Can't locate object method "new" via package "Win32::API" at t/00_API.t line 48.
# Looks like you planned 48 tests but ran 5.
# Looks like you failed 1 test of 5 run.
# Looks like your test exited with 2 just after 5.
t/00_API.t .......... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 44/48 subtests 
Integer overflow in hexadecimal number at t/01_Struct.t line 178.
# $^E=
# leaked mem warning intentional
Win32::API::Struct::Unpack struct pointer member "wlan" was changed by C function, possible resource leak at t/01_Struct.t line 190.
Use of uninitialized value in subroutine entry at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Struct.pm line 267.
Win32::API::Struct::Unpack struct pointer member "pDot11Ssid" was changed by C function, possible resource leak at t/01_Struct.t line 190.
Win32::API::Struct::Unpack struct pointer member "wlan" was changed by C function, possible resource leak at t/01_Struct.t line 199.
# unknown type is intentional
Win32::API::Struct::new: unknown type="LPEIGHT_CHAR_ARR" at t/01_Struct.t line 250.
Win32::API::Struct::new: unknown type="LPEIGHT_CHAR_ARR" at t/01_Struct.t line 268.
t/01_Struct.t ....... ok

#   Failed test 'use Win32::API;'
#   at t/02_GetProcess.t line 12.
#     Tried to use 'Win32::API'.
#     Error:  Can't load 'C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\arch/auto/Win32/API/API.dll' for module Win32::API: load_file:Invalid access to memory location at C:/Perl16/lib/DynaLoader.pm line 191.
#  at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API.pm line 81.
# BEGIN failed--compilation aborted at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API.pm line 81.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Can't locate object method "new" via package "Win32::API" at t/02_GetProcess.t line 14.
# Looks like you planned 3 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/02_GetProcess.t ... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/3 subtests 
Can't load 'C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\arch/auto/Win32/API/API.dll' for module Win32::API: load_file:Invalid access to memory location at C:/Perl16/lib/DynaLoader.pm line 191.
 at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API.pm line 81.
BEGIN failed--compilation aborted at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API.pm line 81.
Compilation failed in require at t/03_undef.t line 12.
BEGIN failed--compilation aborted at t/03_undef.t line 12.
t/03_undef.t ........ 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 


Uninit warnings are intentional

Use of uninitialized value in pack at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value in pack at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value in pack at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value in pack at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value in pack at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value in pack at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value in pack at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value in pack at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value in pack at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Struct.pm line 317.
Use of uninitialized value in pack at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Struct.pm line 317.
# Size is 296. Should be 296
t/04_rt_48006.t ..... ok
t/05_more_struct.t .. ok
# @pack=(LLLLLLLlLa260, ARRAY(0x25cdaa4), ARRAY(0x25cd9e4), 296, ARRAY(0x25d21c4))
t/06_rt_74578.t ..... ok
# API test dll found at (API_test.dll)
# time was 0.064921779641399 secs, 0.000324604029146558 ms per Win32::API call
# time was 0.00132844395807904 secs, 0.00000664221979040 ms per C call
# time was 0.0326218485626499 secs, 0.000163106796211307 ms per _xxSetLastError call
t/benchmark.t ....... ok
t/pod-coverage.t .... skipped: Test::Pod::Coverage required for testing pod coverage
t/pod.t ............. skipped: Test::Pod 1.14 required for testing POD

#   Failed test 'use Win32::API;'
#   at t/v69.t line 24.
#     Tried to use 'Win32::API'.
#     Error:  Can't load 'C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\arch/auto/Win32/API/API.dll' for module Win32::API: load_file:Invalid access to memory location at C:/Perl16/lib/DynaLoader.pm line 191.
#  at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API.pm line 81.
# BEGIN failed--compilation aborted at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API.pm line 81.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
# API test dll found at (API_test.dll)
Can't locate object method "new" via package "Win32::API::More" at t/v69.t line 38.
# Looks like you planned 36 tests but ran 4.
# Looks like you failed 1 test of 4 run.
# Looks like your test exited with 2 just after 4.
t/v69.t ............. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 33/36 subtests 
# API test dll found at (API_test.dll)
t/v70.t ............. ok
# API test dll found at (API_test.dll)
# under 8 byte warnings are intended
Win32::API::Call value for 64 bit integer is under 8 bytes long at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Type.pm line 281.
Win32::API::Call value for 64 bit integer is under 8 bytes long at C:\Perl16\cpan\build\Win32-API-0.76_01-e41OjQ\blib\lib/Win32/API/Type.pm line 281.
t/v71.t ............. ok

Test Summary Report
-------------------
t/00_API.t        (Wstat: 512 Tests: 5 Failed: 1)
  Failed test:  2
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 48 tests but ran 5.
t/02_GetProcess.t (Wstat: 65280 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 3 tests but ran 1.
t/03_undef.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/v69.t           (Wstat: 512 Tests: 4 Failed: 1)
  Failed test:  1
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 36 tests but ran 4.
Files=13, Tests=105,  2 wallclock secs ( 0.09 usr +  0.02 sys =  0.11 CPU)
Result: FAIL
Failed 4/13 test programs. 3/105 subtests failed.
dmake.exe:  Error code 255, while making 'test_dynamic'

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module              Need Have    
    ------------------- ---- --------
    perl                5    5.016000
    Scalar::Util        0    1.25    

build_requires:

    Module              Need Have    
    ------------------- ---- --------
    Encode::compat      0    0.07    
    File::Spec          0    3.39_02 
    IPC::Open3          0    1.12    
    Math::Int64         0    0.29    
    Test::More          0    0.98    
    Win32               0    0.44    
    Win32API::File      0    0.1200  

configure_requires:

    Module              Need Have    
    ------------------- ---- --------
    ExtUtils::MakeMaker 0    6.63_02 


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    ACTIVEPERL_CONFIG_SILENT = 1
    AUTOMATED_TESTING = 1
    COMSPEC = C:\Windows\system32\cmd.exe
    NUMBER_OF_PROCESSORS = 2
    PATH = C:\Perl16\site\bin;C:\Perl16\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\ActiveState Komodo IDE 6\;C:\Program Files (x86)\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\OpenVPN\bin
    PERL5LIB = C:\Perl16\cpan\build\Math-Int64-0.29-Rv3ipt/blib/arch;C:\Perl16\cpan\build\Math-Int64-0.29-Rv3ipt/blib/lib;C:\Perl16\cpan\build\Encode-compat-0.07-6A6qhf/blib/arch;C:\Perl16\cpan\build\Encode-compat-0.07-6A6qhf/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 4908
    PERL5_CPAN_IS_RUNNING = 4908
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 3160,4908
    PERL_CR_SMOKER_CURRENT = Win32-API-0.76_01
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    PROCESSOR_IDENTIFIER = AMD64 Family 16 Model 4 Stepping 2, AuthenticAMD
    TEMP = C:\Users\Mithaldu\AppData\Local\Temp
    TERM = dumb

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = C:\Perl16\bin\perl.exe
    $UID/$EUID = 0 / 0
    $GID = 0
    $EGID = 0
    Win32::GetOSName = Win7
    Win32::GetOSVersion = Service Pack 1, 6, 1, 7601, 2, 1, 0, 256, 1
    Win32::FsType = NTFS
    Win32::IsAdminUser = 0

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                1.9800  
    CPAN::Meta          2.120921
    Cwd                 3.39_02 
    ExtUtils::CBuilder  0.280206
    ExtUtils::Command   1.17    
    ExtUtils::Install   1.54    
    ExtUtils::MakeMaker 6.63_02 
    ExtUtils::Manifest  1.61    
    ExtUtils::ParseXS   3.16    
    File::Spec          3.39_02 
    JSON                2.53    
    JSON::PP            2.27200 
    Module::Build       0.39_01 
    Module::Signature   n/a     
    Parse::CPAN::Meta   1.4404  
    Test::Harness       3.23    
    Test::More          0.98    
    YAML                n/a     
    YAML::Syck          n/a     
    version             0.99    


--

Summary of my perl5 (revision 5 version 16 subversion 0) configuration:
   
  Platform:
    osname=MSWin32, osvers=5.2, archname=MSWin32-x86-multi-thread
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='C:/Perl16/site/bin/gcc.exe', ccflags ='-DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields',
    optimize='-O2',
    cppflags='-DWIN32'
    ccversion='', gccversion='3.4.5 (mingw-vista special r3)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='C:\Perl16\site\bin\g++.exe', ldflags ='-L"C:\Perl16\lib\CORE"'
    libpth=\lib
    libs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lmsvcrt
    perllibs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lmsvcrt
    libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl516.lib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-mdll -L"C:\Perl16\lib\CORE"'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
                        PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC
                        USE_ITHREADS USE_LARGE_FILES USE_LOCALE
                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
                        USE_SITECUSTOMIZE
  Locally applied patches:
	ActivePerl Build 1600 [295879]
  Built under MSWin32
  Compiled at Jun 11 2012 12:43:38
  %ENV:
    PERL5LIB="C:\Perl16\cpan\build\Math-Int64-0.29-Rv3ipt/blib/arch;C:\Perl16\cpan\build\Math-Int64-0.29-Rv3ipt/blib/lib;C:\Perl16\cpan\build\Encode-compat-0.07-6A6qhf/blib/arch;C:\Perl16\cpan\build\Encode-compat-0.07-6A6qhf/blib/lib"
    PERL5_CPANPLUS_IS_RUNNING="4908"
    PERL5_CPAN_IS_RUNNING="4908"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="3160,4908"
    PERL_CR_SMOKER_CURRENT="Win32-API-0.76_01"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    C:\Perl16\cpan\build\Math-Int64-0.29-Rv3ipt/blib/arch
    C:\Perl16\cpan\build\Math-Int64-0.29-Rv3ipt/blib/lib
    C:\Perl16\cpan\build\Encode-compat-0.07-6A6qhf/blib/arch
    C:\Perl16\cpan\build\Encode-compat-0.07-6A6qhf/blib/lib
    C:/Perl16/site/lib
    C:/Perl16/lib
    .