Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 121268
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: Josef.gruber [...] documatrix.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: Gerhard Gruber <Gerhard.Gruber [...] Documatrix.com>
Subject: error installing PAR-Packer on windows10 ( 64Bit )
Date: Fri, 21 Apr 2017 15:05:48 +0200
To: bug-par-packer [...] rt.cpan.org
From: Josef Gruber <Josef.gruber [...] documatrix.com>
I try to install the PAR-Packer perl module under Strawberry perl / Windows 10 ( 64Bit ) The reason seams to be the executable boot.exe within the PAR::Packer module. This Programm crashes. The crash from boot.exe also occurs, when it is directly called from the commandline. What could be the reason? Do you need additional Infos? best reagrds Josef ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ M:\Downloads\PerlPackages\PAR-Packer-1.036>perl Makefile.PL Checking if your kit is complete... Looks good Prototype mismatch: sub main::prompt: none vs ($;$) at C:/Strawberry/perl/lib/ExtUtils/MakeMaker.pm line 240. Generating a dmake-style Makefile Writing Makefile for PAR::Packer Writing MYMETA.yml and MYMETA.json M:\Downloads\PerlPackages\PAR-Packer-1.036>perl -v *This is perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-x64-multi-thread* Copyright 1987-2017, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. M:\Downloads\PerlPackages\PAR-Packer-1.036>dmake cp lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm cp lib/PAR/Filter.pm blib\lib\PAR\Filter.pm cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm cp lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm cp lib/pp.pm blib\lib\pp.pm cp lib/PAR/Packer.pm blib\lib\PAR\Packer.pm cp lib/PAR/Filter/Bleach.pm blib\lib\PAR\Filter\Bleach.pm cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm cp lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm cp lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm "C:\Strawberry\perl\bin\perl.exe" par_pl2c.pl my_par_pl < ..\script\par.pl > my_par_pl.c "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 -fwrapv -fno-strict-aliasing -mms-bitfields -I" C:\STRAWB~1\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -DPAR_PACKER_VERSION=\"1.036\" -s -O2 main.c 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:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" "C:\STRAWB~1\perl\lib\CORE\libperl524.a" "C:\STRAWB~1\c\x86_64-w64-mingw32 \lib\libmoldname.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libuser32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\ libgdi32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libwinspool.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libcomdlg32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libadv api32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libshell32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libole32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\liboleaut32.a " "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libnetapi32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libuuid.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libws2_32.a" "C:\STR AWB~1\c\x86_64-w64-mingw32\lib\libmpr.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libwinmm.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libversion.a" "C:\STRAWB~1\c\x86_ 64-w64-mingw32\lib\libodbc32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libodbccp32.a" "C:\STRAWB~1\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" embed_files.pl -c 32768 par.exe "C:\STRAWB~1\perl\bin\perl524.dll" "C:\Strawberry\perl\bin\libgcc_s_sjlj-1.dll" "C:\Strawberry\p erl\bin\libwinpthread-1.dll" "C:\Strawberry\perl\bin\libstdc++-6.dll" > boot_embedded_files.c # using "objdump" recusrively to find DLLs needed by par.exe # embedding "par.exe" as "par.exe" # embedding "C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v3-rev1/mingw64/bin/libgcc_s_seh-1.dll" as "libgcc_s_seh-1.dll" # embedding "C:/Strawberry/perl/bin/perl524.dll" as "perl524.dll" # embedding "C:/Strawberry/c/bin/libgcc_s_sjlj-1.dll" as "libgcc_s_sjlj-1.dll" # embedding "C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v3-rev1/mingw64/bin/libwinpthread-1.dll" as "libwinpthread-1.dll" # embedding "C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v3-rev1/mingw64/bin/libstdc++-6.dll" as "libstdc++-6.dll" gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -I" C:\STRAWB~1\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -DPAR_PACKER_VERSION=\"1.036\" -s -O2 boot.c In file included from mktmpdir.h:85:0, from mktmpdir.c:1, from boot.c:10: sha1.c: In function 'sha_transform': sha1.c:146:2: warning: right shift count >= width of type T >>= 32; ^ g++ boot.o -static-libgcc -s -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" "C:\STRAWB~1\perl\lib\CORE\libperl524.a" "C:\STRAWB~1\c\x86_64-w64-mingw32 \lib\libmoldname.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libuser32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\ libgdi32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libwinspool.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libcomdlg32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libadv api32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libshell32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libole32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\liboleaut32.a " "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libnetapi32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libuuid.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libws2_32.a" "C:\STR AWB~1\c\x86_64-w64-mingw32\lib\libmpr.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libwinmm.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libversion.a" "C:\STRAWB~1\c\x86_ 64-w64-mingw32\lib\libodbc32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libodbccp32.a" "C:\STRAWB~1\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 boot.exe -q -B -Oparl.exe *system(boot.exe -I..\blib\arch -I..\blib\lib -IC:/Strawberry/perl/site/lib -IC:/Strawberry/perl/vendor/lib -IC:/Strawberry/perl/lib -I. -q -B -Oparl.exe) failed:* dmake: Error code 255, while making 'parl.exe' dmake: Error code 255, while making 'subdirs' M:\Downloads\PerlPackages\PAR-Packer-1.036>

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

On 2017-04-21 09:11:42, Josef.gruber@documatrix.com wrote: Show quoted text
> The reason seams to be the executable boot.exe within the PAR::Packer > module. > This Programm crashes. The crash from boot.exe also occurs, when it is > directly called from the commandline. > ... > # using "objdump" recusrively to find DLLs needed by par.exe > # embedding "par.exe" as "par.exe" > # embedding "C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v3-rev1/mingw64/bin/libgcc_s_seh-1.dll" as "libgcc_s_seh-1.dll" > # embedding "C:/Strawberry/perl/bin/perl524.dll" as "perl524.dll" > # embedding "C:/Strawberry/c/bin/libgcc_s_sjlj-1.dll" as "libgcc_s_sjlj-1.dll" > # embedding "C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v3-rev1/mingw64/bin/libwinpthread-1.dll" as "libwinpthread-1.dll" > # embedding "C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v3-rev1/mingw64/bin/libstdc++-6.dll" as "libstdc++-6.dll" > ...
These DLLs found in C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v3-rev1/mingw64/bin look suspicious (I'd rather expect C:/Strawberry/c/bin). Please retry building in an environment where PATH doesn't contain the above directory. Cheers, Roderich
Subject: Re: [rt.cpan.org #121268] error installing PAR-Packer on windows10 ( 64Bit )
Date: Tue, 25 Apr 2017 20:04:03 +0200
To: bug-PAR-Packer [...] rt.cpan.org
From: Josef Gruber <Josef.gruber [...] documatrix.com>
Hello Roderich, Thanks a lot! It is working now. best regards Josef Am 2017-04-22 um 15:12 schrieb Roderich Schupp via RT: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=121268 > > > On 2017-04-21 09:11:42, Josef.gruber@documatrix.com wrote:
>> The reason seams to be the executable boot.exe within the PAR::Packer >> module. >> This Programm crashes. The crash from boot.exe also occurs, when it is >> directly called from the commandline. >> ... >> # using "objdump" recusrively to find DLLs needed by par.exe >> # embedding "par.exe" as "par.exe" >> # embedding "C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v3-rev1/mingw64/bin/libgcc_s_seh-1.dll" as "libgcc_s_seh-1.dll" >> # embedding "C:/Strawberry/perl/bin/perl524.dll" as "perl524.dll" >> # embedding "C:/Strawberry/c/bin/libgcc_s_sjlj-1.dll" as "libgcc_s_sjlj-1.dll" >> # embedding "C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v3-rev1/mingw64/bin/libwinpthread-1.dll" as "libwinpthread-1.dll" >> # embedding "C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v3-rev1/mingw64/bin/libstdc++-6.dll" as "libstdc++-6.dll" >> ...
> These DLLs found in C:/Program Files/mingw-w64/x86_64-4.9.2-posix-seh-rt_v3-rev1/mingw64/bin > look suspicious (I'd rather expect C:/Strawberry/c/bin). Please retry building in > an environment where PATH doesn't contain the above directory. > > Cheers, Roderich > >
On 2017-04-25 14:04:18, Josef.gruber@documatrix.com wrote: Show quoted text
> It is working now.
Thanks for confirming my theory, the next version of PAR::Packer should be able to work without the need to "sanitize" the PATH. Cheers, Roderich