Tue Oct 16 08:53:50 2012: Request 80217 was acted upon. Transaction: Ticket created by JDHEDDEN Queue: Win32-API Subject: Build failure under Cygwin on Windows Broken in: 0.72 Severity: Critical Owner: Nobody Requestors: jdhed...@cpan.org Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=80217 >
Checking if your kit is complete... Looks good Writing Makefile for Win32::API::Callback Writing MYMETA.yml and MYMETA.json Writing Makefile for Win32::API Writing MYMETA.yml and MYMETA.json 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 cp IATPatch.pod blib/lib/Win32/API/Callback/IATPatch.pod make[1]: Entering directory `/var/perl/cpan/build/Win32-API- 0.72/Callback' /usr/bin/perl.exe /usr/lib/perl5/5.17.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.17.5/ExtUtils/typemap Callback.xs > Callback.xsc && mv Callback.xsc Callback.c gcc -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -DNO_MATHOMS -fno- strict-aliasing -pipe -fstack-protector -I/usr/local/include - DUSEIMPORTLIB -Os -pipe -funit-at-a-time -march=pentium4 -mfpmath=sse - mieee-fp -mmmx -msse -msse2 -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" "-I/usr/lib/perl5/5.17.5/cygwin/CORE" Callback.c Callback.xs: In function 'PerlCallback': Callback.xs:229:5: warning: cast from pointer to integer of different size Callback.xs: In function 'XS_Win32__API__Callback__HeapBlock_new': Callback.xs:625:18: warning: cast from pointer to integer of different size Callback.xs: In function 'XS_Win32__API__Callback__HeapBlock_DESTROY': Callback.xs:653:27: warning: cast to pointer from integer of different size Callback.xs: In function 'XS_Win32__API__Callback__IATPatch_new': Callback.xs:681:21: warning: cast to pointer from integer of different size Callback.xs:695:23: warning: cast to pointer from integer of different size Callback.xs:704:5: warning: cast from pointer to integer of different size Callback.xs:706:5: warning: cast from pointer to integer of different size Callback.xs: In function 'XS_Win32__API__Callback__IATPatch_Unpatch': Callback.xs:742:19: warning: cast to pointer from integer of different size Callback.xs:744:13: warning: cast to pointer from integer of different size rm -f ../blib/arch/auto/Win32/API/Callback/Callback.dll g++ --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,-- enable-auto-image-base -s -L/usr/local/lib -fstack-protector Callback.o -o ../blib/arch/auto/Win32/API/Callback/Callback.dll \ /usr/lib/perl5/5.17.5/cygwin/CORE/cygperl5_17_5.dll \ chmod 755 ../blib/arch/auto/Win32/API/Callback/Callback.dll test -s Callback.bs && cp Callback.bs ../blib/arch/auto/Win32/API/Callback/Callback.bs && \ chmod 644 ../blib/arch/auto/Win32/API/Callback/Callback.bs Makefile:444: recipe for target `../blib/arch/auto/Win32/API/Callback/Callback.dll' failed make[1]: [../blib/arch/auto/Win32/API/Callback/Callback.dll] Error 1 (ignored) make[1]: Leaving directory `/var/perl/cpan/build/Win32-API- 0.72/Callback' /usr/bin/perl.exe /usr/lib/perl5/5.17.5/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.17.5/ExtUtils/typemap -typemap typemap API.xs > API.xsc && mv API.xsc API.c gcc -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -DNO_MATHOMS -fno- strict-aliasing -pipe -fstack-protector -I/usr/local/include - DUSEIMPORTLIB -Os -pipe -funit-at-a-time -march=pentium4 -mfpmath=sse - mieee-fp -mmmx -msse -msse2 -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" "-I/usr/lib/perl5/5.17.5/cygwin/CORE" API.c API.c:123:55: error: expected declaration specifiers or '...' before '__int32' API.c: In function 'w32sv_setwstr': API.c:131:22: error: 'wlenparam' undeclared (first use in this function) API.c:131:22: note: each undeclared identifier is reported only once for each function it appears in API.c:150:15: error: 'WC_NO_BEST_FIT_CHARS' undeclared (first use in this function) API.c: In function 'XS_Win32__API_LoadLibrary': API.c:371:13: warning: cast from pointer to integer of different size API.c: In function 'XS_Win32__API_GetProcAddress': API.c:390:15: warning: cast to pointer from integer of different size API.c: In function 'XS_Win32__API_FreeLibrary': API.c:414:15: warning: cast to pointer from integer of different size API.c: In function 'XS_Win32__API_PointerTo': API.c:506:5: warning: cast from pointer to integer of different size API.c: In function 'XS_Win32__API_SafeReadWideCString': API.c:701:19: error: 'WC_NO_BEST_FIT_CHARS' undeclared (first use in this function) API.c: In function 'XS_Win32__API_GetModuleFileName': API.c:747:14: warning: cast to pointer from integer of different size API.c:765:9: error: too many arguments to function 'w32sv_setwstr' API.c:123:13: note: declared here API.c: In function 'XS_Win32__API_Call': API.c:1106:19: warning: cast to pointer from integer of different size Makefile:351: recipe for target `API.o' failed make: *** [API.o] Error 1 If you need more information, just holler. (And, if possible, it might be good to fix those warnings.) My 'perl -V' dump: Summary of my perl5 (revision 5 version 17 subversion 5 patch 54805) configuration: Snapshot of: f7a5efebd238ec9a1dc9839d1d642288cee9de56 Platform: osname=cygwin, osvers=1.7.16(0.26253), archname=cygwin-thread-multi- 64int uname='cygwin_nt-5.1 med-heddenj 1.7.16(0.26253) 2012-07-20 22:55 i686 cygwin ' config_args='-de -Duse64bitint -Dusethreads -Uusemymalloc -Dusedevel -Dversiononly=no -Dinstallusrbinperl -Uusemallocwrap - Dinc_version_list=none -Dnoextensions=DB_File Devel/DProf Devel/Peek GDBM_File IPC/SysV NDBM_File ODBM_File Sys/Syslog Text/Soundex Time/Piece attrs B/Debug B/Lint -A append:ccflags= -DNO_MATHOMS -A define:optimize=-Os -pipe -funit-at-a-time -march=pentium4 -mfpmath=sse -mieee-fp -mmmx -msse -msse2' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ - DNO_MATHOMS -fno-strict-aliasing -pipe -fstack-protector - I/usr/local/include', optimize='-Os -pipe -funit-at-a-time -march=pentium4 -mfpmath=sse - mieee-fp -mmmx -msse -msse2', cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -DNO_MATHOMS - fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.5.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags =' -Wl,--enable-auto-import -Wl,--export-all- symbols -Wl,--enable-auto-image-base -s -fstack-protector - L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-ldb -ldl -lcrypt perllibs=-ldl -lcrypt libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=cygperl5_17_5.dll gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import -Wl,- -export-all-symbols -Wl,--enable-auto-image-base -s -L/usr/local/lib - fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY NO_MATHOMS PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_PRESERVE_IVUV PERL_USE_DEVEL PERL_USE_SAFE_PUTENV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under cygwin Compiled at Oct 12 2012 09:44:38 %ENV: PERLIO="perlio" CYGWIN="nodosfilewarning" @INC: /usr/lib/perl5/site_perl/5.17.5/cygwin /usr/lib/perl5/site_perl/5.17.5 /usr/lib/perl5/5.17.5/cygwin /usr/lib/perl5/5.17.5 .