Thu Jun 25 14:30:52 2015: Request 104635 was acted upon.
Transaction: Correspondence added by MSCHILLI
       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: mschi...@cpan.org
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=104635 >


I've found a way to reproduce it, try this:

mkdir -p lib/Foo eg

cat >Foo.pm  <<EOT
package Foo;
use Foo::Bar;
sub foo {
    Foo::Bar->foo();
}
1;
EOT

cat >lib/Foo/Bar.pm <<EOT
package Foo::Bar;
sub foo { print "hello\n"; }
1;
EOT

cat >eg/foo <<EOT
#!/usr/bin/perl -w
use lib "lib";
use Foo;
Foo::foo();
EOT

chmod +x eg/foo
pp -o broken.exe eg/foo
./broken.exe

IO error: Can't open file 
/var/folders/_9/ts8bmfyd3wb7nq36_p2fs1p40000gn/T//par-6d736368696c6c69/cache-77a96ed9cc9da13b9f275d500f8ec0ed2e7e58a1/inc/lib/foo
 for write : Is a directory 
 at -e line 953.

Seems to be related to the fact that the osx FS won't distinguish between Foo 
and foo.

Reply via email to