[rt.cpan.org #104635] IO error the first time an executable built by the packer is run on OSX

[email protected] ("Roderich Schupp via RT")
Newsgroups perl.par
Message-ID <[email protected]>
Sun May 24 06:36:50 2015: Request 104635 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: IO error the first time an executable built by the packer is run on OSX
   Broken in: 1.025
    Severity: (no value)
       Owner: RSCHUPP
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=104635 >


On 2015-05-22 21:41:20, MSCHILLI wrote:
> The packer produces binaries that cause the following error message
> the first time they're run:
> 
> IO error: Can't open file
> /var/folders/_9/ts8bmfyd3wb7nq36_p2fs1p40000gn/T/par-
> 6d736368696c6c69/cache-
> fd843f52293f9fd2e4c93823729966b52c2d26a6/inc/lib/script for write : Is
> a directory at -e line 621.
> 
> 
> Subsequent runs go through without error message. The binary has been
> both packed and run on OSX 10.8.

Sorry, I can't reproduce this on OSX 10.10.3 with system Perl (5.18.2) and latest PAR::Packer, PAR, Module::ScanDeps.
What versions are you using?

Does this also happen for a "hello world" example, e.g.

pp -o hello.exe -e 'print "hello\n"'

In any case, could you show the output of

unzip -l packed_executable

of a packed_executable showing the problem.
 
Cheers, Roderich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.