1) I know Adam has 2003_x64 and 2008_x64 machines in the VM farm.
2) We just hit this when compiling Strawberry-64, FYI. (Linking to this
from RT 55336, by the way.)
cpan> install Win32::API
CPAN::SQLite not installed, trying to work without
Going to read 'C:\vanilla\cpan\sources\authors\01mailrc.txt.gz'
............................................................................DONE
Going to read 'C:\vanilla\cpan\sources\modules\02packages.details.txt.gz'
Database was generated on Mon, 08 Mar 2010 05:37:30 GMT
............................................................................DONE
Going to read 'C:\vanilla\cpan\sources\modules\03modlist.data.gz'
............................................................................DONE
Running install for module 'Win32::API'
Running make for C/CO/COSIMO/Win32-API-0.59.tar.gz
Checksum for
C:\vanilla\cpan\sources\authors\id\C\CO\COSIMO\Win32-API-0.59.tar.gz ok
Scanning cache C:\vanilla\cpan\build for sizes
............................................................................DONE
CPAN.pm: Going to build C/CO/COSIMO/Win32-API-0.59.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::API::Callback
Writing Makefile for Win32::API
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
C:\vanilla\perl\bin\perl.exe C:\vanilla\perl\lib\ExtUtils\xsubpp
-typemap C:\vanilla\perl\lib\ExtUtils\typemap Callbac
k.xs > Callback.xsc && C:\vanilla\perl\bin\perl.exe -MExtUtils::Command
-e "mv" -- Callback.xsc Callback.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPE
RL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields
-DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.59\" -DXS_VER
SION=\"0.59\" "-IC:\vanilla\perl\lib\CORE" Callback.c
Callback.xs: In function 'CallbackMakeStruct':
Callback.xs:250: warning: cast from pointer to integer of different size
Callback.xs: In function 'CallbackTemplate':
Callback.xs:305: warning: cast to pointer from integer of different size
Callback.xs:313: warning: cast to pointer from integer of different size
Callback.xs: In function 'CallbackCreate':
Callback.xs:581: warning: cast from pointer to integer of different size
Callback.xs:596: warning: cast from pointer to integer of different size
Callback.xs:597: warning: cast from pointer to integer of different size
Callback.xs:637: warning: cast from pointer to integer of different size
Callback.xs:687: warning: cast from pointer to integer of different size
Callback.xs:738: warning: cast from pointer to integer of different size
Callback.xs: In function 'XS_Win32__API__Callback_CallbackCreate':
Callback.xs:868: warning: cast from pointer to integer of different size
Callback.xs: In function 'XS_Win32__API__Callback_PushSelf':
Callback.xs:896: warning: cast from pointer to integer of different size
Running Mkbootstrap for Win32::API::Callback ()
C:\vanilla\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644
Callback.bs
C:\vanilla\perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Win32::API::Callback\", 'DLBASE' =>
'Callback', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMP
ORTS' => { }, 'DL_VARS' => []);"
dlltool --def Callback.def --output-exp dll.exp
g++ -o ..\blib\arch\auto\Win32\API\Callback\Callback.dll -Wl,--base-file
-Wl,dll.base -mdll -s -L"C:\vanilla\perl\lib\CO
RE" -L"C:\vanilla\c\lib" Callback.o -Wl,--image-base,0x21000000
C:\vanilla\perl\lib\CORE\libperl511.a -lmoldname -lkern
el32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32
-loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lw
inmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
dlltool --def Callback.def --base-file dll.base --output-exp dll.exp
g++ -o ..\blib\arch\auto\Win32\API\Callback\Callback.dll -mdll -s
-L"C:\vanilla\perl\lib\CORE" -L"C:\vanilla\c\lib" Call
back.o -Wl,--image-base,0x21000000
C:\vanilla\perl\lib\CORE\libperl511.a -lmoldname -lkernel32 -luser32
-lgdi32 -lwinsp
ool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid
-lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodb
ccp32 -lcomctl32 dll.exp
C:\vanilla\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755
..\blib\arch\auto\Win32\API\Callback\Callback.dll
C:\vanilla\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- Callback.bs
..\blib\arch\auto\Win32\API\Callback\Callback.bs
C:\vanilla\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644
..\blib\arch\auto\Win32\API\Callback\Callback.bs
C:\vanilla\perl\bin\perl.exe C:\vanilla\perl\lib\ExtUtils\xsubpp
-typemap C:\vanilla\perl\lib\ExtUtils\typemap -typemap
typemap API.xs > API.xsc && C:\vanilla\perl\bin\perl.exe
-MExtUtils::Command -e "mv" -- API.xsc API.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPE
RL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields
-DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.59\" -DXS_VER
SION=\"0.59\" "-IC:\vanilla\perl\lib\CORE" API.c
API.xs: In function 'XS_Win32__API_GetProcAddress':
API.xs:127: warning: cast from pointer to integer of different size
API.xs: In function 'XS_Win32__API_PointerTo':
API.xs:206: warning: cast from pointer to integer of different size
API.xs: In function 'XS_Win32__API_ReadMemory':
API.xs:223: warning: cast to pointer from integer of different size
C:\Users\Curtis\AppData\Local\Temp\ccaSXrib.s: Assembler messages:
C:\Users\Curtis\AppData\Local\Temp\ccaSXrib.s:3043: Error: suffix or
operands invalid for `push'
C:\Users\Curtis\AppData\Local\Temp\ccaSXrib.s:3046: Error: suffix or
operands invalid for `push'
dmake.EXE: Error code 129, while making 'API.o'
COSIMO/Win32-API-0.59.tar.gz
C:\vanilla\c\bin\dmake.EXE -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
COSIMO/Win32-API-0.59.tar.gz : make NO
3) ActiveState's PPM build farm has hit this, too.
At this point, this is a duplicate of ticket 55660 and should be merged
into it.
This is now a duplicate of #55660, so rejecting (no way to file as
duplicate?)
Ticket was supposed to be merged, not rejected.
On Fri, 18 Feb 2011 04:41:42 +1100, Jan Dubois via RT
<bug-Wi...@rt.cpan.org> wrote:
> Ticket was supposed to be merged, not rejected.
Sorry, but I have no idea how to do that.
I might be a bit stupid, but the user interface doesn't help me very much.
--
Cosimo
--> Working on Win32::API
Fetching http://search.cpan.org/CPAN/authors/id/C/CO/COSIMO/Win32-API-0.59.tar.gz
-> OK
Unpacking Win32-API-0.59.tar.gz
Entering Win32-API-0.59
Configuring Win32-API-0.55
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::API::Callback
Writing Makefile for Win32::API
-> OK
Finding PREREQ from Makefile ...
Checking if you have Win32 0 ... Yes (0.39)
Building and testing Win32-API-0.55
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
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUtils\typemap Callback.xs > Callback.xsc && C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- Callback.xsc Callback.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.59\" -DXS_VERSION=\"0.59\" "-IC:\strawberry\perl\lib\CORE" Callback.c
Callback.xs: In function 'CallbackMakeStruct':
Callback.xs:250: warning: cast from pointer to integer of different size
Callback.xs: In function 'CallbackTemplate':
Callback.xs:305: warning: cast to pointer from integer of different size
Callback.xs:313: warning: cast to pointer from integer of different size
Callback.xs: In function 'CallbackCreate':
Callback.xs:581: warning: cast from pointer to integer of different size
Callback.xs:596: warning: cast from pointer to integer of different size
Callback.xs:597: warning: cast from pointer to integer of different size
Callback.xs:637: warning: cast from pointer to integer of different size
Callback.xs:687: warning: cast from pointer to integer of different size
Callback.xs:738: warning: cast from pointer to integer of different size
Callback.xs: In function 'XS_Win32__API__Callback_CallbackCreate':
Callback.xs:868: warning: cast from pointer to integer of different size
Callback.xs: In function 'XS_Win32__API__Callback_PushSelf':
Callback.xs:896: warning: cast from pointer to integer of different size
Running Mkbootstrap for Win32::API::Callback ()
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 Callback.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Win32::API::Callback\", 'DLBASE' => 'Callback', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def Callback.def --output-exp dll.exp
g++ -o ..\blib\arch\auto\Win32\API\Callback\Callback.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Callback.o -Wl,--image-base,0x21000000 C:\strawberry\perl\lib\CORE\libperl512.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
dlltool --def Callback.def --base-file dll.base --output-exp dll.exp
g++ -o ..\blib\arch\auto\Win32\API\Callback\Callback.dll -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Callback.o -Wl,--image-base,0x21000000 C:\strawberry\perl\lib\CORE\libperl512.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 ..\blib\arch\auto\Win32\API\Callback\Callback.dll
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- Callback.bs ..\blib\arch\auto\Win32\API\Callback\Callback.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 ..\blib\arch\auto\Win32\API\Callback\Callback.bs
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap API.xs > API.xsc && C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- API.xsc API.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.59\" -DXS_VERSION=\"0.59\" "-IC:\strawberry\perl\lib\CORE" API.c
API.xs: In function 'XS_Win32__API_GetProcAddress':
API.xs:127: warning: cast from pointer to integer of different size
API.xs: In function 'XS_Win32__API_PointerTo':
API.xs:206: warning: cast from pointer to integer of different size
API.xs: In function 'XS_Win32__API_ReadMemory':
API.xs:223: warning: cast to pointer from integer of different size
C:\Users\A\AppData\Local\Temp\ccyvhME8.s: Assembler messages:
C:\Users\A\AppData\Local\Temp\ccyvhME8.s:3129: Error: suffix or operands invalid for `push'
C:\Users\A\AppData\Local\Temp\ccyvhME8.s:3132: Error: suffix or operands invalid for `push'
dmake.exe: Error code 129, while making 'API.o'
On Wed Mar 02 17:44:18 2011, dandv wrote:
> Any chance to push v0.60? I'm trying to install Padre, which depends
on Win32::API
> I seem to have the same error with "operands invalid for 'push'" (log
attached).
Hi there,
does the current github version work for you?
http://github.com/cosimo/perl5-win32-api/
That would be pushed as 0.60, but several problems have been reported
already, last one by Jan Dubois. You can read about it in this same
ticket history.
On Wed Mar 02 21:13:14 2011, COSIMO wrote:
> On Wed Mar 02 17:44:18 2011, dandv wrote:
>
> > Any chance to push v0.60? I'm trying to install Padre, which depends
> on Win32::API
> > I seem to have the same error with "operands invalid for 'push'" (log
> attached).
>
> Hi there,
>
> does the current github version work for you?
>
> http://github.com/cosimo/perl5-win32-api/
>
> That would be pushed as 0.60, but several problems have been reported
> already, last one by Jan Dubois. You can read about it in this same
> ticket history.
I've pulled the latest ver. It builds, but perl crashes running tests:
C:\strawberry\cpan\build\Win32-API-0.60\cosimo-perl5-win32-api-6ec0306>dmake
Skip blib\lib\Win32/API/Type.pm (unchanged)
Skip blib\lib\Win32/API/Test.pm (unchanged)
Skip blib\lib\Win32/API/Struct.pm (unchanged)
Skip blib\lib\Win32/API.pm (unchanged)
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE
-DUSE_SITECUSTOMIZE -DPERL_I
MPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields
-DPERL_MSVCRT_READFIX -s -O2
-DVERSION=\"0.60_64\" -DXS_VERSION=\"0.60_64\"
"-IC:\strawberry\perl\lib\CORE"
API.c
as call_asm_x64_gnu.s -o call_asm_x64_gnu.o
Running Mkbootstrap for Win32::API ()
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 API.bs
dlltool --def API.def --output-exp dll.exp
g++ -o blib\arch\auto\Win32\API\API.dll -Wl,--base-file -Wl,dll.base
-mdll -s -L"C:\strawberry\perl\
lib\CORE" -L"C:\strawberry\c\lib" API.o call_asm_x64_gnu.o
-Wl,--image-base,0x253c0000 C:\strawberr
y\perl\lib\CORE\libperl512.a -lmoldname -lkernel32 -luser32 -lgdi32
-lwinspool -lcomdlg32 -ladvapi32
-lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm
-lversion -lodbc32 -lodbccp32
-lcomctl32 dll.exp
dlltool --def API.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Win32\API\API.dll -mdll -s
-L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\
lib" API.o call_asm_x64_gnu.o -Wl,--image-base,0x253c0000
C:\strawberry\perl\lib\CORE\libperl512.a
-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32
-lshell32 -lole32 -loleaut32
-lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
-lcomctl32 dll.exp
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755
blib\arch\auto\Win32\API\API.d
ll
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- API.bs
blib\arch\auto\Win32\API\API.b
s
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644
blib\arch\auto\Win32\API\API.b
s
C:\strawberry\cpan\build\Win32-API-0.60\cosimo-perl5-win32-api-6ec0306>dmake
test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib\lib', 'blib\ar
ch')" t/*.t
t/00_API.t .......... 1/25 # API test dll found at (API_test64.dll)
Argument "japh" isn't numeric in pack at
C:\strawberry\cpan\build\Win32-API-0.60\cosimo-perl5-win32-
api-6ec0306\blib\lib/Win32/API/Type.pm line 211.
t/00_API.t .......... ok
t/01_Struct.t ....... 1/7 # $^E=
t/01_Struct.t ....... ok
t/02_GetProcess.t ... 1/3 # $result=5080
# $$=5080
t/02_GetProcess.t ... ok
t/03_undef.t ........ # Win32::API 0.60_64
t/03_undef.t ........ 1/3 # Import: The handle is invalid
Faulting application name: perl.exe, version: 0.0.0.0, time stamp:
0x4c5228ad
Faulting module name: API.dll, version: 0.0.0.0, time stamp: 0x4d76d74e
Exception code: 0xc0000005
Fault offset: 0x0000000000002f06
Faulting process id: 0x10dc
Faulting application start time: 0x01cbddf90c7dbc0e
Faulting application path: C:\STRAWB~1\perl\bin\perl.exe
Faulting module path:
C:\strawberry\cpan\build\Win32-API-0.60\cosimo-perl5-win32-api-6ec0306\blib\arch\auto\Win32\API\API.dll
Report Id: 4b551f57-49ec-11e0-9979-005056c00008
oh, heh, this is mentioned above as well.
All issues mentioned in this ticket should be addressed in the current
CPAN version of Win32::API.
I'm closing this ticket as resolved. Adam/Curtis, are you applying some
patch/fix to build Strawberry on 64 bits?
Thanks to all of you for contributing to this ticket.
Please open new ones if there's still issues with 64 bits support.
I haven't heard much of anything from Curtis recently, and our last
few releases are very late or missing.
I'll look at getting more involved again in development and look at a
new release.
Adam K
On 29 August 2011 06:06, Cosimo Streppone via RT