rschupp / PAR-Packer

(perl) Generate stand-alone executables, perl scripts and PAR files https://metacpan.org/pod/PAR::Packer
Other
48 stars 13 forks source link

Incompatible with AV system #80

Closed PhilterPaper closed 8 months ago

PhilterPaper commented 8 months ago

My system (Strawberry Perl 5.38 on Windows 10) tried installing PAR::Packer 1.061 this morning, and my AntiVirus system went berserk, flagging dozens of .exe files produced as "suspicious behavior", and quarantined them. Could you check that nothing malicious has found its way into your code? It may be that the latest update of the AV is overly suspicious of trying to run an .exe file from within another running program, and flagging that, but it wouldn't hurt to be sure that your code produced doesn't contain a malware payload. Also, there were three or four instances that Windows flagged as incompatible format for a 64 bit system. In the meantime, I'll quarantine PAR::Packer itself from the daily update check, as I do not use it anyway.

PhilterPaper commented 8 months ago

Here's the complete installation log, in case it might be of any use to you. My AV popped up dozens of warnings (I lost count) of suspicious behavior in various *.exe files.

CPAN: CPAN::SQLite loaded ok (v0.220)
Database was generated on Sun, 17 Dec 2023 15:56:56 GMT
Running install for module 'PAR::Packer'
CPAN: HTTP::Tiny loaded ok (v0.088)
CPAN: Net::SSLeay loaded ok (v1.92)
CPAN: IO::Socket::SSL loaded ok (v2.084)
Fetching with HTTP::Tiny:
https://cpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-1.061.tar.gz
CPAN: Digest::SHA loaded ok (v6.04)
Fetching with HTTP::Tiny:
https://cpan.org/authors/id/R/RS/RSCHUPP/CHECKSUMS
CPAN: Compress::Zlib loaded ok (v2.206)
Checksum for C:\Strawberry\cpan\sources\authors\id\R\RS\RSCHUPP\PAR-Packer-1.061.tar.gz ok
CPAN: Archive::Tar loaded ok (v3.02)
CPAN: YAML::XS loaded ok (v0.88)
CPAN: CPAN::Meta::Requirements loaded ok (v2.143)
CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
CPAN: CPAN::Meta loaded ok (v2.150010)
CPAN: Module::CoreList loaded ok (v5.20231129)
Configuring R/RS/RSCHUPP/PAR-Packer-1.061.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Writing MYMETA.yml and MYMETA.json
Subroutine MY::postamble redefined at ./Makefile.PL line 232.
# using "objdump" recursively to find DLLs needed by par.exe
Generating a gmake-style Makefile
Writing Makefile for PAR::Packer
Writing MYMETA.yml and MYMETA.json
  RSCHUPP/PAR-Packer-1.061.tar.gz
  C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for R/RS/RSCHUPP/PAR-Packer-1.061.tar.gz
---- Unsatisfied dependencies detected during ----
----      RSCHUPP/PAR-Packer-1.061.tar.gz     ----
    Tk [requires,optional]
    Tk::ColoredButton [requires,optional]
    Tk::EntryCheck [requires,optional]
    Tk::Getopt [requires,optional]
cp lib/pp.pm blib\lib\pp.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/PAR/Filter/Bleach.pm blib\lib\PAR\Filter\Bleach.pm
cp lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm
cp lib/PAR/Packer.pm blib\lib\PAR\Packer.pm
cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm
cp lib/PAR/Filter.pm blib\lib\PAR\Filter.pm
cp lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm
cp lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm
gmake[1]: Entering directory 'C:/Strawberry/cpan/build/PAR-Packer-1.061-0/t/data'
cp lib/Double/Colon/Foo/Bar/Quux.pm ..\blib\lib\Double\Colon\Foo\Bar\Quux.pm
cp lib/Myfile.pm ..\blib\lib\Myfile.pm
cp lib/Double/Colon/Fred.pm ..\blib\lib\Double\Colon\Fred.pm
cp lib/Double/Colon.pm ..\blib\lib\Double\Colon.pm
cp lib/XSFoo.pm ..\blib\lib\XSFoo.pm
cp lib/Double/Colon/Barnie.pm ..\blib\lib\Double\Colon\Barnie.pm
Running Mkbootstrap for XSFoo ()
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "XSFoo.bs"
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- XSFoo.bs ..\blib\lib\auto\XSFoo\XSFoo.bs 644
"C:\Strawberry\perl\bin\perl.exe" "C:\Strawberry\perl\lib\ExtUtils/xsubpp"  -typemap C:\Strawberry\perl\lib\ExtUtils\typemap  XSFoo.xs > XSFoo.xsc
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- XSFoo.xsc XSFoo.c
gcc -c  -I. -DWIN32 -DWIN64 -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields -Os   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\"  "-IC:\Strawberry\perl\lib\CORE"   XSFoo.c
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"XSFoo\", 'DLBASE' => 'XSFoo', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
g++.exe XSFoo.def -o ..\blib\lib\auto\XSFoo\XSFoo.xs.dll -mdll -s -L"C:\Strawberry\perl\lib\CORE" -L"C:\Strawberry\c\lib" XSFoo.o   "C:\Strawberry\perl\lib\CORE\libperl538.a" -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -Wl,--enable-auto-image-base
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 755 ..\blib\lib\auto\XSFoo\XSFoo.xs.dll
gmake[1]: Leaving directory 'C:/Strawberry/cpan/build/PAR-Packer-1.061-0/t/data'
gmake[1]: Entering directory 'C:/Strawberry/cpan/build/PAR-Packer-1.061-0/myldr'
Makefile:874: warning: overriding recipe for target '.c.o'
Makefile:341: warning: ignoring old recipe for target '.c.o'
"C:\Strawberry\perl\bin\perl.exe" par_pl2c.pl my_par_pl < ..\script\par.pl > my_par_pl.c
gcc -c -DWIN32 -DWIN64 -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields  -I"C:\Strawberry\perl\lib\CORE"  -DLDLIBPTHNAME=\"\" -DPARL_EXE=\"parl.exe\" -DPAR_PACKER_VERSION=\"1.061\" -Os main.c
gcc -c -DWIN32 -DWIN64 -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields  -I"C:\Strawberry\perl\lib\CORE"  -DLDLIBPTHNAME=\"\" -DPARL_EXE=\"parl.exe\" -DPAR_PACKER_VERSION=\"1.061\" -Os -DBYTEORDER=0x12345678 -DU64TYPE="unsigned long long" sha1.c
windres -i winres/pp.rc -o ppresource.coff --input-format=rc --output-format=coff --target=pe-x86-64
g++.exe main.o sha1.o ppresource.coff -s   -s -L"C:\Strawberry\perl\lib\CORE" -L"C:\Strawberry\c\lib"  "C:\Strawberry\perl\lib\CORE\libperl538.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" embed_files.pl -c 32768 par.exe recursive_objdump "C:\Strawberry\perl\bin\perl538.dll" > boot_embedded_files.c
# using method recursive_objdump to find files to embed
# embedding "par.exe" as "par.exe"
# embedding "C:\Strawberry\perl\bin/perl538.dll" as "perl538.dll"
# embedding "C:\Strawberry\perl\bin/libstdc++-6.dll" as "libstdc++-6.dll"
# embedding "C:\Strawberry\perl\bin/libwinpthread-1.dll" as "libwinpthread-1.dll"
# embedding "C:\Strawberry\perl\bin/libgcc_s_seh-1.dll" as "libgcc_s_seh-1.dll"
gcc -c -DWIN32 -DWIN64 -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields  -I"C:\Strawberry\perl\lib\CORE"  -DLDLIBPTHNAME=\"\" -DPARL_EXE=\"parl.exe\" -DPAR_PACKER_VERSION=\"1.061\" -Os boot.c
g++.exe boot.o sha1.o  -static-libgcc -s   -s -L"C:\Strawberry\perl\lib\CORE" -L"C:\Strawberry\c\lib"  "C:\Strawberry\perl\lib\CORE\libperl538.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 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" -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
gmake[1]: Leaving directory 'C:/Strawberry/cpan/build/PAR-Packer-1.061-0/myldr'
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e cp -- script/par.pl blib\script\par.pl
pl2bat.bat blib\script\par.pl
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e cp -- script/pp blib\script\pp
pl2bat.bat blib\script\pp
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e cp -- script/tkpp blib\script\tkpp
pl2bat.bat blib\script\tkpp
  RSCHUPP/PAR-Packer-1.061.tar.gz
  C:\Strawberry\c\bin\gmake.exe -- OK
Running make test for RSCHUPP/PAR-Packer-1.061.tar.gz
gmake[1]: Entering directory 'C:/Strawberry/cpan/build/PAR-Packer-1.061-0/t/data'
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- XSFoo.bs ..\blib\lib\auto\XSFoo\XSFoo.bs 644
gmake[1]: Leaving directory 'C:/Strawberry/cpan/build/PAR-Packer-1.061-0/t/data'
gmake[1]: Entering directory 'C:/Strawberry/cpan/build/PAR-Packer-1.061-0/myldr'
Makefile:874: warning: overriding recipe for target '.c.o'
Makefile:341: warning: ignoring old recipe for target '.c.o'
gmake[1]: Leaving directory 'C:/Strawberry/cpan/build/PAR-Packer-1.061-0/myldr'
gmake[1]: Entering directory 'C:/Strawberry/cpan/build/PAR-Packer-1.061-0/t/data'
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- XSFoo.bs ..\blib\lib\auto\XSFoo\XSFoo.bs 644
No tests defined for XSFoo extension.
gmake[1]: Leaving directory 'C:/Strawberry/cpan/build/PAR-Packer-1.061-0/t/data'
gmake[1]: Entering directory 'C:/Strawberry/cpan/build/PAR-Packer-1.061-0/myldr'
makefile:874: warning: overriding recipe for target '.c.o'
makefile:341: warning: ignoring old recipe for target '.c.o'
No tests defined for myldr extension.
gmake[1]: Leaving directory 'C:/Strawberry/cpan/build/PAR-Packer-1.061-0/myldr'
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00-pod.t ............... skipped: Set environment variable PERL_TEST_POD=1 to test POD
t/10-parl-generation.t ... 28/31 Error removing C:/Users/Phil/AppData/Local/Temp/parlr3Mu.exe at C:/Strawberry/perl/lib/File/Temp.pm line 899, <DATA> line 3.
t/10-parl-generation.t ... ok
t/20-pp.t ................ 1/34
#   Failed test 'pp_hello_1
# [430]
# Test 1_0 The command string " a1.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp1,did not produce :: "hello" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a1.exe" "hello.pl"  produce a1.exe?
# '
#   at ./automated_pp_test.pl line 6844.
Error removing C:/Users/Phil/AppData/Local/Temp/parlAJrhF4K.exe at c:/Strawberry/perl/lib/File/Temp.pm line 899, <DATA> line 1.
t/20-pp.t ................ 2/34
#   Failed test 'pp_minus_o_hello_hello_dot_pl
# [430]
# Test 2_0 The command string " hello2.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp2,did not produce :: "hello" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "hello2.exe" "hello.pl"  produce hello2.exe?
# '
#   at ./automated_pp_test.pl line 6894.
t/20-pp.t ................ 3/34
#   Failed test 'pp_minus_o_foo_foo_dot_pl_bar_dot_pl
# [430]
# Test 3_0 The command string " foo3.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp0,did not produce :: "hello foo" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o foo3.exe "foo3.pl" "bar3.pl"  produce foo3.exe?
# '
#   at ./automated_pp_test.pl line 6950.
t/20-pp.t ................ 6/34
#   Failed test 'pp_minus_o_hello_file_dot_par
# [430]
# Test 6_2 The command string " hello6.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp0,did not produce :: "hello" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "hello6.exe" "hello.pl"   produce hello6.exe?
# '
#   at ./automated_pp_test.pl line 7105.
Error removing C:/Users/Phil/AppData/Local/Temp/parlt0elc3h.exe at c:/Strawberry/perl/lib/File/Temp.pm line 899, <DATA> line 1.
t/20-pp.t ................ 7/34
#   Failed test 'pp_minus_S_minus_o_hello_file
# [430]
# Test 7_2 The command string " hello7.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp1,did not produce :: "hello" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -S -o "hello7.exe" "hello.pl"   produce hello7.exe?
# '
#   at ./automated_pp_test.pl line 7157.
t/20-pp.t ................ 11/34
#   Failed test 'pp_minus_e_print_hello
# [430]
# Test 11_0 The command string " a11.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp2,did not produce :: "hello" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a11.exe"  -e "print qq[hello
# ];" produce a11.exe?
# '
#   at ./automated_pp_test.pl line 7357.
t/20-pp.t ................ 13/34 C:\Users\Phil\AppData\Local\Temp\n5pTA376Gr syntax OK
t/20-pp.t ................ 14/34
#   Failed test 'pp_minus_c_hello
# [430]
# Test 14_0 The command string " a14.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp2,did not produce :: "hello" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a14.exe"  -c "hello.pl"  produce a14.exe?
# '
#   at ./automated_pp_test.pl line 7506.
t/20-pp.t ................ 15/34
#   Failed test 'pp_minus_x_hello
# [430]
# Test 15_0 The command string " a15.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp0,did not produce :: "hello" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a15.exe"  -x "hello.pl" produce a15.exe?
# '
#   at ./automated_pp_test.pl line 7559.
t/20-pp.t ................ 16/34
#   Failed test 'pp_minus_n_minus_x_hello
# [430]
# Test 16_0 The command string " a16.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp1,did not produce :: "hello" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a16.exe"  -n -x "hello.pl" produce a16.exe?
# '
#   at ./automated_pp_test.pl line 7612.
t/20-pp.t ................ 17/34
#   Failed test 'pp_minus_I_foo_hello
# [430]
# Test 17_1 The command string " a17-1.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp2,did not produce :: "hello" ::
# Instead, it produced ::
# The Line Below SHOULD BE  "Can't locate ...  along with a "BEGIN failed ... " line ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a17-1.exe"  -I "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp2\subdir1" foo.pl produce a17-1.exe?
# '
#   at ./automated_pp_test.pl line 7662.
Error removing C:/Users/Phil/AppData/Local/Temp/parlU3aYnMK.exe at c:/Strawberry/perl/lib/File/Temp.pm line 899, <DATA> line 1.
t/20-pp.t ................ 18/34
#   Failed test 'pp_minus_I_foo_minus_I_bar_hello
# [430]
# Test 18_1 The command string " a18-1.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp0,did not produce :: "hello" ::
# Instead, it produced ::
# The Line Below SHOULD BE  "Can't locate ...  along with a "BEGIN failed ... " line ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a18-1.exe"  -I "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp0\subdir1" -I "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp0\subdir2" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp0\foo.pl" produce a18-1.exe?
# '
#   at ./automated_pp_test.pl line 7712.
t/20-pp.t ................ 19/34
#   Failed test 'pp_minus_lib_foo_hello
# [430]
# Test 19_1 The command string " a19-1.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp1,did not produce :: "hello" ::
# Instead, it produced ::
# The Line Below SHOULD BE  "Can't locate ...  along with a "BEGIN failed ... " line ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a19-1.exe"  --lib "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp1\subdir1" foo.pl produce a19-1.exe?
# '
#   at ./automated_pp_test.pl line 7762.
t/20-pp.t ................ 20/34
#   Failed test 'pp_minus_lib_foo_minus_lib_bar_hello
# [430]
# Test 20_1 The command string " a20-1.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp2,did not produce :: "hello" ::
# Instead, it produced ::
# The Line Below SHOULD BE  "Can't locate ...  along with a "BEGIN failed ... " line ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a20-1.exe"  --lib "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp2\subdir1" --lib "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp2\subdir2" foo.pl produce a20-1.exe?
# '
#   at ./automated_pp_test.pl line 7812.
t/20-pp.t ................ 21/34
#   Failed test 'pp_minus_M_foo_hidden_print_foo
# [430]
# Test 21_0 The command string " a21-0.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp0,did not produce :: "hello" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a21-0.exe"  foo.pl produce a21-0.exe?
# '
#   at ./automated_pp_test.pl line 7862.
t/20-pp.t ................ 22/34
#   Failed test 'pp_minus_M_foo_minus_M_bar_hello
# [430]
# Test 22_0 The command string " a22-0.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp1,did not produce :: "hello_foohello_bar" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a22-0.exe"  foo.pl produce a22-0.exe?
# '
#   at ./automated_pp_test.pl line 7911.
t/20-pp.t ................ 23/34
#   Failed test 'pp_minus_X_module_foo
# [430]
# Test 23_0 The command string " a23-0.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp2,did not produce :: "perl" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a23-0.exe"  "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp2\foo3.pl" produce a23-0.exe?
# '
#   at ./automated_pp_test.pl line 7961.
t/20-pp.t ................ 24/34
#   Failed test 'pp_minus_r_hello
# [430]
# Test 24_0 The command string ""c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a24.exe"  -r "hello.pl"  " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp0,did not produce :: "hello" ::
# Instead, it produced :: Can't spawn "a24.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 447, <DATA> line 1. ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a24.exe"  -r "hello.pl" produce a24.exe?
# '
#   at ./automated_pp_test.pl line 8011.
t/20-pp.t ................ 25/34
#   Failed test 'pp_minus_r_hello_a_b_c
# [430]
# Test 25_0 The command string ""c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a25.exe"  -r "hello.pl" "one" "two" "three"  " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp1,did not produce :: "hello one two three" ::
# Instead, it produced :: Can't spawn "a25.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 447, <DATA> line 1. ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a25.exe"  -r "hello.pl" "one" "two" "three" produce a25.exe?
# '
#   at ./automated_pp_test.pl line 8061.
Error removing C:/Users/Phil/AppData/Local/Temp/parlRjXW.exe at c:/Strawberry/perl/lib/File/Temp.pm line 899, <DATA> line 1.
t/20-pp.t ................ 26/34
#   Failed test 'pp_hello_to_log_file
# [430]
# Test 26_0 The command string " a26-0.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp2,did not produce :: "hello" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o "a26-0.exe"  hello.pl -v --log=c.txt produce a26-0.exe?
# '
#   at ./automated_pp_test.pl line 8111.
t/20-pp.t ................ 27/34
#   Failed test 'pp_name_four_ways
# amsg326: sub pp_name_four_ways:
# [430]
# Test 27_0 The command string " a27.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp0,did not produce :: "hello" ::
# Instead, it produced ::  ::
# End of [430] results
# '
#   at ./automated_pp_test.pl line 8161.
Error removing C:/Users/Phil/AppData/Local/Temp/parluIw1.exe at c:/Strawberry/perl/lib/File/Temp.pm line 899, <DATA> line 1.
t/20-pp.t ................ 33/34
#   Failed test 'pp_test_small_minus_a
# [430]
# Test 33_0 The command string " hello33-0.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp0,did not produce :: "subtest 0" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o hello33-0.exe -a "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp0\text" hello.pl produce hello33-0.exe?
# '
#   at ./automated_pp_test.pl line 8457.
t/20-pp.t ................ 34/34
#   Failed test 'pp_test_large_minus_A
# [430]
# Test 34_0 The command string " hello34-0.exe " in directory C:\Strawberry\cpan\build\PAR-Packer-1.061-0\contrib\automated_pp_test\pp_switch_tests\temp1,did not produce :: "hello01hello02" ::
# Instead, it produced ::  ::
# End of [430] results
#
# Did "c:\strawb~1\perl\bin\perl.exe" "C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\script\pp" -o hello34-0.exe -A all_text_files  -a all_text_files  hello.pl produce hello34-0.exe?
# '
#   at ./automated_pp_test.pl line 8507.
# Looks like you failed 22 tests of 34.
t/20-pp.t ................ Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 22/34 subtests
t/30-current_exec.t ...... Can't spawn "C:\Users\Phil\AppData\Local\Temp\parlIROdkMv.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/30-current_exec.t ...... 1/5
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\2t3DPlPBha\pp000.exe"'
#   at ./t/utils.pl line 33.
No such file or directory at ./t/utils.pl line 44.
# Looks like your test exited with 25 just after 1.
t/30-current_exec.t ...... Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 5/5 subtests
t/40-packer_cd_option.t .. ok
t/80-doublecolon.t ....... Can't spawn "C:\Users\Phil\AppData\Local\Temp\parlR6Q_g3r.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/80-doublecolon.t ....... 1/8
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\c7ZgrEeRfL\pp000.exe"'
#   at ./t/utils.pl line 33.
IO error: opening C:\Users\Phil\AppData\Local\Temp\c7ZgrEeRfL\pp000.exe for read : No such file or directory
 at C:/Strawberry/perl/vendor/lib/Archive/Zip/Archive.pm line 727.
        Archive::Zip::Archive::read(Archive::Zip::Archive=HASH(0x175c9f4af08), "C:\\Users\\Phil\\AppData\\Local\\Temp\\c7ZgrEeRfL\\pp000.exe") called at t/80-doublecolon.t line 41
can't read C:\Users\Phil\AppData\Local\Temp\c7ZgrEeRfL\pp000.exe as a zip file at t/80-doublecolon.t line 41.
# Looks like your test exited with 2 just after 1.
t/80-doublecolon.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/8 subtests
t/85-crt-glob.t .......... Can't spawn "C:\Users\Phil\AppData\Local\Temp\parlOyeXsSd.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/85-crt-glob.t .......... 1/3
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\eoXSP5Tvtl\pp000.exe"'
#   at ./t/utils.pl line 33.
No such file or directory at ./t/utils.pl line 44.
# Looks like your test exited with 25 just after 1.
t/85-crt-glob.t .......... Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 3/3 subtests
t/85-myfile.t ............ Can't spawn "C:\Users\Phil\AppData\Local\Temp\parlKHEW2H3.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/85-myfile.t ............ 1/6
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\z_lbTLdLd1\pp000.exe"'
#   at ./t/utils.pl line 33.
No such file or directory at ./t/utils.pl line 44.
# Looks like your test exited with 25 just after 1.
t/85-myfile.t ............ Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 6/6 subtests
t/86-xs-exe.t ............ Can't spawn "C:\Users\Phil\AppData\Local\Temp\parl4JXINb6.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/86-xs-exe.t ............ 1/6
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\YF0Og_bq8T\pp000.exe"'
#   at ./t/utils.pl line 33.
No such file or directory at ./t/utils.pl line 44.
# Looks like your test exited with 25 just after 1.
t/86-xs-exe.t ............ Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 6/6 subtests
t/86-xs-par.t ............ ok
t/90-exitcode.t .......... Can't spawn "C:\Users\Phil\AppData\Local\Temp\parltnWqT1g.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/90-exitcode.t .......... 1/6
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\PR4iIAXCXZ\pp000.exe"'
#   at ./t/utils.pl line 33.
No such file or directory at t/90-exitcode.t line 18.
# Looks like your test exited with 2 just after 1.
t/90-exitcode.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/6 subtests
t/90-gh41.t .............. skipped: Test temporarily disabled
t/90-gh66.t .............. Can't spawn "C:\Users\Phil\AppData\Local\Temp\parl5X3SQ56.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/90-gh66.t .............. 1/10
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\WOoTpktmzD\pp000.exe"'
#   at ./t/utils.pl line 33.
No such file or directory at ./t/utils.pl line 44.
# Looks like your test exited with 25 just after 1.
t/90-gh66.t .............. Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 10/10 subtests
t/90-rt101800.t .......... Can't spawn "C:\Users\Phil\AppData\Local\Temp\parlgdz6rA2.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/90-rt101800.t .......... 1/18
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\gLTmIebhwG\pp000.exe"'
#   at ./t/utils.pl line 33.
No such file or directory at ./t/utils.pl line 44.
# Looks like your test exited with 25 just after 1.
t/90-rt101800.t .......... Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 18/18 subtests
t/90-rt103861.t .......... Can't spawn "C:\Users\Phil\AppData\Local\Temp\parluXSFnXg.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/90-rt103861.t .......... 1/3
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\igJ8suoIdb\pp000.exe"'
#   at ./t/utils.pl line 33.
No such file or directory at ./t/utils.pl line 44.
# Looks like your test exited with 25 just after 1.
t/90-rt103861.t .......... Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 3/3 subtests
t/90-rt104560.t .......... Can't spawn "C:\Users\Phil\AppData\Local\Temp\parlbulRQvT.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/90-rt104560.t .......... 1/3
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\FpSePHW5Lt\pp000.exe"'
#   at ./t/utils.pl line 33.
IO error: opening C:\Users\Phil\AppData\Local\Temp\FpSePHW5Lt\pp000.exe for read : No such file or directory
 at C:/Strawberry/perl/vendor/lib/Archive/Zip/Archive.pm line 727.
        Archive::Zip::Archive::read(Archive::Zip::Archive=HASH(0x2950a3b0d68), "C:\\Users\\Phil\\AppData\\Local\\Temp\\FpSePHW5Lt\\pp000.exe") called at t/90-rt104560.t line 32
can't open zip file "C:\Users\Phil\AppData\Local\Temp\FpSePHW5Lt\pp000.exe" at t/90-rt104560.t line 32.
# Looks like your test exited with 2 just after 1.
t/90-rt104560.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
t/90-rt104635.t .......... Can't spawn "C:\Users\Phil\AppData\Local\Temp\parliF_c7T1.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/90-rt104635.t .......... 1/5
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\fFEk7u5WV_\pp000.exe"'
#   at ./t/utils.pl line 33.
IO error: opening C:\Users\Phil\AppData\Local\Temp\fFEk7u5WV_\pp000.exe for read : No such file or directory
 at C:/Strawberry/perl/vendor/lib/Archive/Zip/Archive.pm line 727.
        Archive::Zip::Archive::read(Archive::Zip::Archive=HASH(0x20f941e8e38), "C:\\Users\\Phil\\AppData\\Local\\Temp\\fFEk7u5WV_\\pp000.exe") called at t/90-rt104635.t line 21
can't read C:\Users\Phil\AppData\Local\Temp\fFEk7u5WV_\pp000.exe as a zip file at t/90-rt104635.t line 21.
# Looks like your test exited with 2 just after 1.
t/90-rt104635.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/5 subtests
t/90-rt122949.t .......... Can't spawn "C:\Users\Phil\AppData\Local\Temp\parlKDKX95e.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/90-rt122949.t .......... 1/109
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\9LZPaV4Ndr\pp000.exe"'
#   at ./t/utils.pl line 33.
No such file or directory at ./t/utils.pl line 44.
# Looks like your test exited with 25 just after 1.
t/90-rt122949.t .......... Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 109/109 subtests
t/90-rt127064.t .......... Can't spawn "C:\Users\Phil\AppData\Local\Temp\parl6j6nSpr.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/90-rt127064.t .......... 1/3
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\w7BknqvMR0\pp000.exe"'
#   at ./t/utils.pl line 33.
# running C:\Users\Phil\AppData\Local\Temp\w7BknqvMR0\pp000.exe with PAR_TMPDIR=C:\Users\Phil\AppData\Local\Temp\w7BknqvMR0\t m p ...
No such file or directory at ./t/utils.pl line 44.
# Looks like your test exited with 25 just after 1.
t/90-rt127064.t .......... Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 3/3 subtests
t/90-rt129312.t .......... Can't spawn "C:\Users\Phil\AppData\Local\Temp\parlqZ7mZuy.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/90-rt129312.t .......... 1/4
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\JoxT9tL3CW\pp000.exe"'
#   at ./t/utils.pl line 33.
Use of uninitialized value $exe_size in addition (+) at t/90-rt129312.t line 29.
No such file or directory at ./t/utils.pl line 44.
# Looks like your test exited with 25 just after 2.
t/90-rt129312.t .......... Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 3/4 subtests
t/90-rt130685.t .......... # found core module Carp in C:/Strawberry/perl/lib/Carp.pm
t/90-rt130685.t .......... 1/8 # found core module Exporter in C:/Strawberry/perl/lib/Exporter.pm
t/90-rt130685.t .......... 3/8 # found core module File::Glob in C:/Strawberry/perl/lib/File/Glob.pm
t/90-rt130685.t .......... 5/8 # found core module List::Util in C:/Strawberry/perl/lib/List/Util.pm
t/90-rt130685.t .......... ok
t/90-rt59710.t ........... # Use of runtime loader module Module::Runtime detected.  Results of static scanning may be incomplete.
Can't spawn "C:\Users\Phil\AppData\Local\Temp\parlIWviurk.exe": Inappropriate I/O control operation at C:\Strawberry\cpan\build\PAR-Packer-1.061-0\blib\lib/PAR/Packer.pm line 1387, <DATA> line 1.
t/90-rt59710.t ........... 1/3
#   Failed test 'successfully packed "C:\Users\Phil\AppData\Local\Temp\4_Yl8ap8ks\pp000.exe"'
#   at ./t/utils.pl line 33.
No such file or directory at ./t/utils.pl line 44.
# Looks like your test exited with 25 just after 1.
t/90-rt59710.t ........... Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 3/3 subtests

Test Summary Report
-------------------
t/20-pp.t              (Wstat: 5632 (exited 22) Tests: 34 Failed: 22)
  Failed tests:  1-3, 6-7, 11, 14-27, 33-34
  Non-zero exit status: 22
t/30-current_exec.t    (Wstat: 6400 (exited 25) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 5 tests but ran 1.
t/80-doublecolon.t     (Wstat: 512 (exited 2) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 8 tests but ran 1.
t/85-crt-glob.t        (Wstat: 6400 (exited 25) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 3 tests but ran 1.
t/85-myfile.t          (Wstat: 6400 (exited 25) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 6 tests but ran 1.
t/86-xs-exe.t          (Wstat: 6400 (exited 25) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 6 tests but ran 1.
t/90-exitcode.t        (Wstat: 512 (exited 2) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 6 tests but ran 1.
t/90-gh66.t            (Wstat: 6400 (exited 25) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 10 tests but ran 1.
t/90-rt101800.t        (Wstat: 6400 (exited 25) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 18 tests but ran 1.
t/90-rt103861.t        (Wstat: 6400 (exited 25) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 3 tests but ran 1.
t/90-rt104560.t        (Wstat: 512 (exited 2) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 3 tests but ran 1.
t/90-rt104635.t        (Wstat: 512 (exited 2) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 5 tests but ran 1.
t/90-rt122949.t        (Wstat: 6400 (exited 25) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 109 tests but ran 1.
t/90-rt127064.t        (Wstat: 6400 (exited 25) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 3 tests but ran 1.
t/90-rt129312.t        (Wstat: 6400 (exited 25) Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 4 tests but ran 2.
t/90-rt59710.t         (Wstat: 6400 (exited 25) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 3 tests but ran 1.
Files=22, Tests=94, 1274 wallclock secs ( 0.27 usr +  0.11 sys =  0.38 CPU)
Result: FAIL
Failed 16/22 test programs. 37/94 subtests failed.
gmake: *** [makefile:1037: test_dynamic] Error 25
  RSCHUPP/PAR-Packer-1.061.tar.gz
  C:\Strawberry\c\bin\gmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports RSCHUPP/PAR-Packer-1.061.tar.gz
Stopping: 'install' failed for 'PAR::Packer'.
rschupp commented 8 months ago

There's no trojan, virus etc in the PAR::Packer distribution. These malware "detections" come up sporadically (I've had them myself) as some packed executables match malware signatures by accident. There's nothing I can do about it.

PhilterPaper commented 8 months ago

There's nothing I can do about it.

I feared that might be the response. At least, you're aware of the issue. If I find myself needing to use PAR::Packer at some point, I'll have to find a way to tell my AV to calm down and accept this particular application. In the meantime, I'll just have to avoid trying to update it in the Strawberry Perl library.

You may not be able to do anything about accidentally matching malware signatures, but you still might be able to deal with the Windows errors about being 64-bit incompatible. Let me know if you need a list of those test modules that were thus flagged.

rschupp commented 8 months ago

you still might be able to deal with the Windows errors about being 64-bit incompatible. Let me know if you need a list of those test modules that were thus flagged

There are essentially 2 executables used by PAR::Packer, both compiled and linked by the Mingw64 toolchain included in Strawberry Perl

If the message is about these two, then that's on your toolchain.

Now a pp generated executable (esp. any executable generated in the tests) is just boot.exe with some "stuff" (incuding a zip file) tacked on at the end. This stuff is not registered as a section (or whatever it's called) in the PE structure of the executable, maybe that's what the warning is about. One could probably patch the PE info to make it a "proper" part of the executable. This is also required for signing the executable (and is done on macOS).

PhilterPaper commented 8 months ago

Let me know if you want me to try the reinstall and record the names of executables that Windows complains are not 64-bit compatible and send them to you. It's not clear to me if you're asking for that.

rschupp commented 8 months ago

Thanks, but no thanks. I only have scant knowledge about the structure of Windows executables. If someone else wants to an analysis, they are more than welcome.