Skip Menu |
 

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

Report information
The Basics
Id: 130180
Status: rejected
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: noobposter123 [...] yandex.com
Cc:
AdminCc:

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



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.
 
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.
 
 
Download (untitled) / with headers
text/plain 322b
On 2019-07-25 23:49:10, noobposter123@yandex.com wrote: Show quoted text
> 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:
Don't do that then. I removed this suggestion from PAR::Tutorial. Cheers, Roderich
Subject: Re: [rt.cpan.org #130180] upx packed par pp exe does not work
Date: Mon, 29 Jul 2019 08:37:04 +0500
To: "bug-PAR-Packer [...] rt.cpan.org" <bug-par-packer [...] rt.cpan.org>
From: Noob Poster <noobposter123 [...] yandex.com>
Hi,
 
I wouldn't have been trying that if PAR-Packer packed better and upx generated exes weren't half the size of pp exes.
 
BTW upx -d on the upx compressed pp exe produces an exe that works so upx isn't throwing away data required to run.
 
Are the "magics" done by pp and upx incompatible in an unfixable way?
 
26.07.2019, 19:46, "Roderich Schupp via RT" <bug-par-packer@rt.cpan.org>:
Show quoted text

<URL: https://rt.cpan.org/Ticket/Display.html?id=130180 >

On 2019-07-25 23:49:10, noobposter123@yandex.com wrote:

 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:


Don't do that then.
I removed this suggestion from PAR::Tutorial.

Cheers, Roderich



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.