CC: | par [...] perl.org |
Subject: | upx packed par pp exe does not work |
Date: | Fri, 26 Jul 2019 08:41:24 +0500 |
To: | bug-par-packer [...] rt.cpan.org |
From: | Noob Poster <noobposter123 [...] yandex.com> |
Hi,
The PAR::Tutorial suggests using upx to reduce exe sizes however this no longer seems to work:
When I run the upx generated executable I get the following error messages:
IO error: reading header signature :
at -e line 603.
IO error: reading header signature :
at -e line 595.
...
mkdir C:\Users\ADMINI~1\AppData\Local\Temp\par-41646d696e6973747261746f72\cache-287b72321943f32b96f721e8c8356c9fd1949556\inc\script: File exists; Cannot create a file when that file already exists at C:/strawberry/perl/vendor/lib/Archive/Zip/Archive.pm line 196.
IO error: reading header signature :
at -e line 603.
IO error: reading header signature :
at -e line 595.
...
mkdir C:\Users\ADMINI~1\AppData\Local\Temp\par-41646d696e6973747261746f72\cache-287b72321943f32b96f721e8c8356c9fd1949556\inc\script: File exists; Cannot create a file when that file already exists at C:/strawberry/perl/vendor/lib/Archive/Zip/Archive.pm line 196.
Note I get similar errors with older versions of upx so if upx has worked before (as implied by PAR::Tutorial) the issue might be with "new magic" used by PAR.