Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 99229
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: RSCHUPP [...] cpan.org
Requestors: sergio.fanchiotti [...] standardandpoors.com
Cc:
AdminCc:

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



Subject: Problem with PAR::Packer 1.022 on Perl 5.20.1 and earlier.
Date: Tue, 30 Sep 2014 12:10:56 -0400
To: "bug-par [...] rt.cpan.org" <bug-par [...] rt.cpan.org>
From: "Fanchiotti, Sergio" <sergio.fanchiotti [...] standardandpoors.com>
Dear PAR::Packer Maintainers, I ran into an issue when trying to build an executable from a Perl script under Windows 7 (64 and 32 bits) using Strawberry Perl 5.20.1 (and 5.16 also) which seems to be caused by the use of an updated version of gcc in the MinGW package that is included in the distribution. When I wanted to run the par generated executable on a machine where strawberry perl was not installed it complained that libwinpthreads-1.dll was missing during the unpacking stage. After a bit of testing the source of the problem was that myldr was not including this library when building the executable. A change in the Makefile.PL file as shown below fixed the problem (not very elegantly). The missing dll breaks the portability of the executable and would ruin the purpose of building executable distributions. Thanks for the fantastic PAR mechanism! Regards, Sergio PS: The PAR::Packer does not pass all tests either under Windows 7 so I had to install it using the notest option. I wonder if this is related this problem also. Changes in myldr/Makefile.PL < my ($libgcc, $libstdcpp); --- Show quoted text
> my ($libgcc, $libstdcpp, $libwpt);
248a249 Show quoted text
> $libwpt = find_dll("libwinpthread*.$Config{so}");
261a263 Show quoted text
> $libwpt,
Show quoted text
________________________________ The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. McGraw Hill Financial reserves the right, subject to applicable local law, to monitor, review and process the content of any electronic message or information sent to or from McGraw Hill Financial e-mail addresses without informing the sender or recipient of the message. By sending electronic message or information to McGraw Hill Financial e-mail addresses you, as the sender, are consenting to McGraw Hill Financial processing any of your personal data therein.
CC: bug-PAR [...] rt.cpan.org
Subject: Re: [rt.cpan.org #99229] Problem with PAR::Packer 1.022 on Perl 5.20.1 and earlier.
Date: Tue, 30 Sep 2014 17:47:17 -0500
To: par [...] perl.org
From: Mike Flannigan <mikeflan [...] att.net>
It could be related to the problem I am having. I'd like to try it, but I couldn't figure out how to install with the no test option. Mike On 9/30/2014 11:11 AM, par-digest-help@perl.org wrote: Show quoted text
> Tue Sep 30 12:11:10 2014: Request 99229 was acted upon. > Transaction: Ticket created bysergio.fanchiotti@standardandpoors.com > Queue: PAR > Subject: Problem with PAR::Packer 1.022 on Perl 5.20.1 and earlier. > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors:sergio.fanchiotti@standardandpoors.com > Status: new > Ticket <URL:https://rt.cpan.org/Ticket/Display.html?id=99229 > > > > Dear PAR::Packer Maintainers, > > I ran into an issue when trying to build an executable from a Perl script under Windows 7 (64 and 32 bits) using Strawberry Perl 5.20.1 (and 5.16 also) which seems to be caused by the use of an updated version of gcc in the MinGW package that is included in the distribution. When I wanted to run the par generated executable on a machine where strawberry perl was not installed it complained that libwinpthreads-1.dll was missing during the unpacking stage. After a bit of testing the source of the problem was that myldr was not including this library when building the executable. A change in the Makefile.PL file as shown below fixed the problem (not very elegantly). The missing dll breaks the portability of the executable and would ruin the purpose of building executable distributions. > > Thanks for the fantastic PAR mechanism! > > Regards, > > Sergio
PS: The PAR::Packer does not pass all tests either under Windows 7 so I had to install it using the notest option. I wonder if this is related this problem also.
Subject: RE: [rt.cpan.org #99229] Problem with PAR::Packer 1.022 on Perl 5.20.1 and earlier.
Date: Tue, 30 Sep 2014 22:15:41 -0400
To: "bug-PAR [...] rt.cpan.org" <bug-PAR [...] rt.cpan.org>
From: "Fanchiotti, Sergio" <sergio.fanchiotti [...] standardandpoors.com>
Mike, Just run cpan and type notest install PAR::Packer Sergio Show quoted text
-----Original Message----- From: Mike Flannigan via RT [mailto:bug-PAR@rt.cpan.org] Sent: Tuesday, September 30, 2014 6:37 PM To: Fanchiotti, Sergio Subject: Re: [rt.cpan.org #99229] Problem with PAR::Packer 1.022 on Perl 5.20.1 and earlier. <URL: https://rt.cpan.org/Ticket/Display.html?id=99229 > It could be related to the problem I am having. I'd like to try it, but I couldn't figure out how to install with the no test option. Mike On 9/30/2014 11:11 AM, par-digest-help@perl.org wrote:
> Tue Sep 30 12:11:10 2014: Request 99229 was acted upon. > Transaction: Ticket created bysergio.fanchiotti@standardandpoors.com > Queue: PAR > Subject: Problem with PAR::Packer 1.022 on Perl 5.20.1 and earlier. > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors:sergio.fanchiotti@standardandpoors.com > Status: new > Ticket <URL:https://rt.cpan.org/Ticket/Display.html?id=99229 > > > > Dear PAR::Packer Maintainers, > > I ran into an issue when trying to build an executable from a Perl script under Windows 7 (64 and 32 bits) using Strawberry Perl 5.20.1 (and 5.16 also) which seems to be caused by the use of an updated version of gcc in the MinGW package that is included in the distribution. When I wanted to run the par generated executable on a machine where strawberry perl was not installed it complained that libwinpthreads-1.dll was missing during the unpacking stage. After a bit of testing the source of the problem was that myldr was not including this library when building the executable. A change in the Makefile.PL file as shown below fixed the problem (not very elegantly). The missing dll breaks the portability of the executable and would ruin the purpose of building executable distributions. > > Thanks for the fantastic PAR mechanism! > > Regards, > > Sergio
PS: The PAR::Packer does not pass all tests either under Windows 7 so I had to install it using the notest option. I wonder if this is related this problem also. The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. McGraw Hill Financial reserves the right, subject to applicable local law, to monitor, review and process the content of any electronic message or information sent to or from McGraw Hill Financial e-mail addresses without informing the sender or recipient of the message. By sending electronic message or information to McGraw Hill Financial e-mail addresses you, as the sender, are consenting to McGraw Hill Financial processing any of your personal data therein.
On 2014-09-30 12:11:10, sergio.fanchiotti@standardandpoors.com wrote: Show quoted text
> Changes in myldr/Makefile.PL > > < my ($libgcc, $libstdcpp); > ---
> > my ($libgcc, $libstdcpp, $libwpt);
> 248a249
> > $libwpt = find_dll("libwinpthread*.$Config{so}");
> 261a263
> > $libwpt,
Thanks, applied - will be in the next release of PAR::Packer. Cheers, Roderich
From: snaphat [...] gmail.com
On Tue Sep 30 12:11:10 2014, sergio.fanchiotti@standardandpoors.com wrote: Show quoted text
> Dear PAR::Packer Maintainers, > > I ran into an issue when trying to build an executable from a Perl > script under Windows 7 (64 and 32 bits) using Strawberry Perl 5.20.1 > (and 5.16 also) which seems to be caused by the use of an updated > version of gcc in the MinGW package that is included in the > distribution. When I wanted to run the par generated executable on a > machine where strawberry perl was not installed it complained that > libwinpthreads-1.dll was missing during the unpacking stage. After a > bit of testing the source of the problem was that myldr was not > including this library when building the executable. A change in the > Makefile.PL file as shown below fixed the problem (not very > elegantly). The missing dll breaks the portability of the executable > and would ruin the purpose of building executable distributions. > > Thanks for the fantastic PAR mechanism! > > Regards, > > Sergio > > PS: The PAR::Packer does not pass all tests either under Windows 7 so > I had to install it using the notest option. I wonder if this is > related this problem also. > > Changes in myldr/Makefile.PL > > < my ($libgcc, $libstdcpp); > ---
> > my ($libgcc, $libstdcpp, $libwpt);
> 248a249
> > $libwpt = find_dll("libwinpthread*.$Config{so}");
> 261a263
> > $libwpt,
> > > ________________________________ > The information contained in this message is intended only for the > recipient, and may be a confidential attorney-client communication or > may otherwise be privileged and confidential and protected from > disclosure. If the reader of this message is not the intended > recipient, or an employee or agent responsible for delivering this > message to the intended recipient, please be aware that any > dissemination or copying of this communication is strictly prohibited. > If you have received this communication in error, please immediately > notify us by replying to the message and deleting it from your > computer. McGraw Hill Financial reserves the right, subject to > applicable local law, to monitor, review and process the content of > any electronic message or information sent to or from McGraw Hill > Financial e-mail addresses without informing the sender or recipient > of the message. By sending electronic message or information to McGraw > Hill Financial e-mail addresses you, as the sender, are consenting to > McGraw Hill Financial processing any of your personal data therein.
In the patch for this bug in v1.023 you accidentally messed up the name of the lib so it doesn't match it: $libwinpthread = find_dll("libwinpthreads*.$Config{so}"); should be: $libwinpthread = find_dll("libwinpthread*.$Config{so}"); :-)
On 2014-11-02 17:12:25, snaphat@gmail.com wrote: Show quoted text
> In the patch for this bug in v1.023 you accidentally messed up the > name of the lib so it doesn't match it: > > $libwinpthread = find_dll("libwinpthreads*.$Config{so}"); > > should be: > > $libwinpthread = find_dll("libwinpthread*.$Config{so}");
Thanks for pointing out, fixed in 1.024. Cheers, Roderich