Wed Oct 31 21:39:49 2012: Request 77408 was acted upon. Transaction: Correspondence added by mzhou Queue: PAR-Packer Subject: Cannot build on Win64/Perl64 Broken in: 1.013 Severity: Important Owner: Nobody Requestors: kevin.m.br...@asu.edu Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=77408 >
I adapted the patch found at http://www.nntp.perl.org/group/perl.par/2012/03/msg5310.html for 1.013 On Thu May 24 17:24:13 2012, kevin.m.br...@asu.edu wrote: > Yes, that patch does seem to produce a working package. Here is the > output from installing the patched PAR::Packer on my system. There > were a few warnings during compilation, but no actual errors. > Checking if your kit is complete... > Looks good > Prototype > mismatch: sub main::prompt: none vs ($;$) at > C:/strawberry/perl/lib/ExtUtils/MakeMaker.pm line 219. > Writing > Makefile for par.exe > Writing MYMETA.yml and MYMETA.json > Writing > Makefile for PAR::Packer > Writing MYMETA.yml and MYMETA.json > C:\Users\hellgate\Desktop\PAR-Packer-1.013_patched2>dmake > cp > lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm > cp > lib/PAR/Packer.pm blib\lib\PAR\Packer.pm > cp > lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm > cp > lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm > cp > lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm > cp > lib/PAR/Filter.pm blib\lib\PAR\Filter.pm > cp > lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm > cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm > cp > lib/pp.pm blib\lib\pp.pm > cp lib/PAR/Filter/Bleach.pm > blib\lib\PAR\Filter\Bleach.pm > C:\strawberry\perl\bin\perl.exe > file2c.pl -s ..\script\par.pl my_par_pl.c load_my_par_pl > C:\strawberry\perl\bin\perl.exe sha1.c.PL > gcc -c -s -O2 -DWIN32 > -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS > -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing > -mms-bitfields -I"C:\strawberry\perl\lib\CORE" -DLOAD_MY_LIBGCC > -DPARL_EXE=\"parl.exe\" -s -O2 main.c > rem > windres -i winres\pp.rc > -o ppresource.coff --input-format=rc --output-format=coff > --target=pe-x86-64 > g++ main.o ppresource.coff -s -s > -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" > C:\strawberry\perl\lib\CORE\libperl516.a C:\strawberry\c\x86_64- > w64-mingw32\lib\libmoldname.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libkernel32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libuser32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libgdi32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libwinspool.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libcomdlg32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libadvapi32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libshell32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libole32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\liboleaut32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libnetapi32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libuuid.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libws2_32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libmpr.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libwinmm.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libversion.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libodbc32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libodbccp32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libcomctl32.a -o par.exe > rem > C:\strawberry\perl\bin\perl.exe encode_append.pl Dynamic.in par.exe > Dynamic.pm > C:\strawberry\perl\bin\perl.exe file2c.pl -c 30000 > par.exe my_par.c load_my_par > C:\strawberry\perl\bin\perl.exe > file2c.pl -c 30000 -n perl516.dll > C:\strawberry\perl\bin\perl516.dll my_libperl.c load_my_libperl > C:\strawberry\perl\bin\perl.exe file2c.pl -c 30000 > C:\strawberry\perl\bin\libgcc_s_sjlj-1.dll my_libgcc.c > load_my_libgcc > gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE > -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS > -fno-strict-aliasing -mms-bitfields > -I"C:\strawberry\perl\lib\CORE" -DLOAD_MY_LIBGCC > -DPARL_EXE=\"parl.exe\" -s -O2 boot.c > In file included from > mktmpdir.h:85:0, > from mktmpdir.c:1, > from boot.c:27: > sha1.c: In function 'sha_transform': > sha1.c:146:2: warning: right shift count >= width of type [enabled > by default] > boot.c: In function 'main': > boot.c:214:5: warning: > passing argument 3 of 'spawnvpe' from incompatible pointer type > [enabled by default] > c:\strawberry\c\bin\../lib/gcc/x86_64-w64- > mingw32/4.6.3/../../../../x86_64-w64- > mingw32/include/process.h:178:20: note: expected 'char * const*' > but argument is > of type 'const char * const*' > boot.c:214:5: > warning: passing argument 4 of 'spawnvpe' from incompatible pointer > type [enabled by default] > c:\strawberry\c\bin\../lib/gcc/x86_64- > w64-mingw32/4.6.3/../../../../x86_64-w64- > mingw32/include/process.h:178:20: note: expected 'char * const*' > but argument is > of type 'const char * const*' > g++ boot.o -s -s > -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" > C:\strawberry\perl\lib\CORE\libperl516.a C:\strawberry\c\x86_64- > w64-mingw32\lib\libmoldname.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libkernel32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libuser32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libgdi32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libwinspool.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libcomdlg32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libadvapi32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libshell32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libole32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\liboleaut32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libnetapi32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libuuid.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libws2_32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libmpr.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libwinmm.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libversion.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libodbc32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libodbccp32.a C:\strawberry\c\x86_64-w64- > mingw32\lib\libcomctl32.a ppresource.coff -o boot.exe > rem > C:\strawberry\perl\bin\perl.exe encode_append.pl Static.in boot.exe > Static.pm > cp Static.pm ..\blib\lib\PAR\StrippedPARL\Static.pm > cp > Dynamic.pm ..\blib\lib\PAR\StrippedPARL\Dynamic.pm > C:\strawberry\perl\bin\perl.exe -Mblib run_with_inc.pl par.exe -q > -B -Oparldyn.exe > C:\strawberry\perl\bin\perl.exe > -MExtUtils::Command -e cp -- parldyn.exe ..\blib\script\parldyn.exe > rem ..\blib\script\parldyn.exe > C:\strawberry\perl\bin\perl.exe > -Mblib run_with_inc.pl boot.exe -q -B -Oparl.exe > C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- > parl.exe ..\blib\script\parl.exe > rem ..\blib\script\parl.exe > C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp > -- script/tkpp blib\script\tkpp > pl2bat.bat blib\script\tkpp > C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp > -- script/pp blib\script\pp > pl2bat.bat blib\script\pp > C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp > -- script/par.pl blib\script\par.pl > pl2bat.bat blib\script\par.pl > C:\Users\hellgate\Desktop\PAR-Packer-1.013_patched2>dmake test > C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" > "test_harness(0,'inc', 'blib\lib', 'blib\arch')" t/00-pod.t t/10- > parl-generation.t t/20-pp.t t/30-current_exec.t t/40- > packer_cd_option.t t/90-rt59710.t > t/00-pod.t ............... > skipped: Set environment variable PERL_TEST_POD=1 to test POD > t/10-parl-generation.t ... ok > t/20-pp.t ................ 12/34 > C:\Users\hellgate\AppData\Local\Temp\N0FELjGRPr > syntax OK > t/20- > pp.t ................ ok > t/30-current_exec.t ...... # Please wait > t/30-current_exec.t ...... ok > t/40-packer_cd_option.t .. ok > t/90- > rt59710.t ........... ok > All tests successful. > Files=6, Tests=74, > 444 wallclock secs ( 0.11 usr + 0.00 sys = 0.11 CPU) > Result: > PASS > > C:\Users\hellgate\Desktop\PAR-Packer-1.013_patched2>dmake > install > Installing C:\strawberry\perl\site\lib\pp.pm > Installing > C:\strawberry\perl\site\lib\App\Packer\PAR.pm > Installing > C:\strawberry\perl\site\lib\PAR\Filter.pm > Installing > C:\strawberry\perl\site\lib\PAR\Packer.pm > Installing > C:\strawberry\perl\site\lib\PAR\Filter\Bleach.pm > Installing > C:\strawberry\perl\site\lib\PAR\Filter\Bytecode.pm > Installing > C:\strawberry\perl\site\lib\PAR\Filter\Obfuscate.pm > Installing > C:\strawberry\perl\site\lib\PAR\Filter\PatchContent.pm > Installing > C:\strawberry\perl\site\lib\PAR\Filter\PodStrip.pm > Installing > C:\strawberry\perl\site\lib\PAR\StrippedPARL\Base.pm > Installing > C:\strawberry\perl\site\lib\PAR\StrippedPARL\Dynamic.pm > Installing > C:\strawberry\perl\site\lib\PAR\StrippedPARL\Static.pm > Installing > C:\strawberry\perl\site\bin\par.bat > Installing > C:\strawberry\perl\site\bin\par.pl > Installing > C:\strawberry\perl\site\bin\parl.exe > Installing > C:\strawberry\perl\site\bin\parldyn.exe > Installing > C:\strawberry\perl\site\bin\pp > Installing > C:\strawberry\perl\site\bin\pp.bat > Installing > C:\strawberry\perl\site\bin\tkpp > Installing > C:\strawberry\perl\site\bin\tkpp.bat > Appending installation info > to C:\strawberry\perl\lib/perllocal.pod
Makefile.PL.patch
Description: Binary data