Skip Menu |
 

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

Report information
The Basics
Id: 61346
Status: open
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: PHILKIME [...] cpan.org
Cc:
AdminCc:

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



Subject: Cannot add object files to PAR tree
Download (untitled) / with headers
text/plain 766b
I have had no problems adding files (using -A) to an exe: c:/strawberry/perl/lib/Unicode/Collate/Locale;lib/Unicode/Collate/Locale c:/strawberry/perl/lib/Unicode/Collate/allkeys.txt;lib/Unicode/Collate/allkeys.txt c:/strawberry/perl/lib/Unicode/Collate/keys.txt;lib/Unicode/Collate/keys.txt c:/strawberry/perl/lib/auto/Unicode/Collate/Collate.dll;lib/auto/Unicode/Collate/Collate.dll However, this last line, to add the Unicode::Collate XS .dll to the right place in the exe doesnt' add the file. All of the other lines work fine. "pp -vv" says that the .dll is added but it isn't. I have the same issue on OSX trying to add the Collate.bundle. I can't add these with --link arguments as the modules expect the XS object files in specific places in the perl tree.
Download (untitled) / with headers
text/plain 334b
In fact, it seems that the file is included in the .exe (without the need to add it manuallY) but it is not unpacked. I have the same issue with the .dll for Unicode::Normalize and sometimes on Windows, the same problem with IPC::Run. Is there some general reason why things in the packed .exe would not be extracted into the cache?
Download (untitled) / with headers
text/plain 440b
Show quoted text
> Is there some general reason why things in the packed .exe would not be > extracted into the cache?
Ok, I think the IPC::Run thing is irrelevant - that was just stupidity on my part. I looked into the code and see that .dll/.so/.dylib/.bundle etc. are all ignored for extraction and are handled by the dynaloader. So, am I right in thinking that they are taken from the original .exe/.par at runtime but are never present in the cache?


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.