strings command on build machine:
03d8f7c5/Exporter.pm
1c74f9e8/Carp.pm
c2f51d2d/AutoLoader.pm
3570db96/FileHandle.pm
86ec9a54/SelectSaver.pm
1b039a9e/Symbol.pm
9fd7d510/Time/Local.pm
6d3c9e11/UNIVERSAL.pm
e674cb0c/base.pm
e0538c1c/bytes.pm
98147bbe/constant.pm
d3c00672/Config.pm
8717b29c/Cwd.pm
b3fca99d/DynaLoader.pm
9233da78/Errno.pm
1fd44b12/Fcntl.pm
a7a6056b/File/Glob.pm
e11a117c/File/Spec.pm
74177ec7/File/Spec/Unix.pm
259fe138/IO.pm
23c12e3b/IO/File.pm
31873668/IO/Handle.pm
f53aacd6/IO/Seekable.pm
ca540280/List/Util.pm
436ecd1f/Scalar/Util.pm
fc15b4cb/XSLoader.pm
'6a20b3f2/auto/DynaLoader/dl_findfile.al
dd9545e2/lib.pm
1b4c7895/re.pm
0aae45a7/integer.pm
231913b0/Carp/Heavy.pm
68896727/Exporter/Heavy.pm
5a14da59/File/Basename.pm
48b2c871/File/Copy.pm
4b3ea1a6/File/Find.pm
3728f4b4/File/Path.pm
27550932/File/Temp.pm
3bdca465/overload.pm
b972fede/strict.pm
61e29c6d/utf8.pm
78e60a93/vars.pm
0339e1b1/warnings.pm
6c312870/warnings/register.pm
8d5edc6a/Archive/Zip.pm
48c4bc74/Archive/Zip/Archive.pm
'32a32d98/Archive/Zip/DirectoryMember.pm
"e0fedcf6/Archive/Zip/FileMember.pm
345bd819/Archive/Zip/Member.pm
%1d08e03e/Archive/Zip/NewFileMember.pm
$cbb40706/Archive/Zip/StringMember.pm
%d3d7bb12/Archive/Zip/ZipFileMember.pm
02d40819/Compress/Zlib.pm
292d1deb/File/GlobMapper.pm
5218b40e/IO/Compress/Base.pm
#f24a4166/IO/Compress/Base/Common.pm
a3c3b8d1/IO/Compress/Gzip.pm
&fa8176b8/IO/Compress/Gzip/Constants.pm
"c26de055/IO/Compress/RawDeflate.pm
"4e2d574f/IO/Compress/Zlib/Extra.pm
)83678516/IO/Uncompress/Adapter/Inflate.pm
3e95bca7/IO/Uncompress/Base.pm
778dece5/IO/Uncompress/Gunzip.pm
$072710b0/IO/Uncompress/RawInflate.pm
fbf8ea10/PAR.pm
4350ee2a/PAR/Dist.pm
09425a35/PAR/Filter.pm
9d79d56e/PAR/Filter/PodStrip.pm
525023dc/PAR/Heavy.pm
7dcb1833/PAR/SetupProgname.pm
54f4a8ea/PAR/SetupTemp.pm
 (890496a0/auto/Compress/Zlib/autosplit.ix
d0edbba2/Compress/Raw/Zlib.pm
,4d20c69f/auto/Compress/Raw/Zlib/autosplit.ix
0657f1d5/auto/File/Glob/Glob.so
35a2c629/auto/List/Util/Util.so
'3844d4eb/auto/Compress/Raw/Zlib/Zlib.so
627ac059/auto/IO/IO.so
66c91529/auto/Fcntl/Fcntl.so
7ccc3d23/auto/Cwd/Cwd.so


strace on build machine:
21309 stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21309 stat64("/usr/X11R6/lib/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21309 stat64("/usr/X11R6/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21309 open("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/libperl.so", 
O_RDONLY) = 4
21309 stat64("/usr/X11R6/lib/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21309 stat64("/usr/X11R6/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21309 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 4
21309 open("/usr/share/locale/locale.alias", O_RDONLY) = 6
21309 stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/IO", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21309 stat64("/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/IO", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21309 stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/Fcntl", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21309 stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/Cwd", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21309 
stat64("/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Compress/Raw/Zlib",
 {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21309 stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/List/Util", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21309 stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/File/Glob", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0


strace on client machine:
20882 stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
20882 open("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/libperl.so", 
O_RDONLY) = 4
20882 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 4
20882 open("/usr/share/locale/locale.alias", O_RDONLY) = 6
20882 stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/IO", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
20882 stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/Fcntl", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
20882 stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/Cwd", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
20882 stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/List/Util", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
20882 stat64("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/List/Util", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0


The packed stand-alone file is picking up modules on the client machine...


-----Original Message-----
From: Roderich Schupp [mailto:roderich.sch...@googlemail.com]
Sent: Saturday, September 19, 2009 11:00
To: Jonathan Robinson
Cc: par@perl.org
Subject: Re: pp problems with deep dependencies

On Fri, Sep 18, 2009 at 6:03 PM, Jonathan Robinson <jonarobin...@rim.com> wrote:
> After much investigation the problem appears to be with what is packaged with 
> pp itself.

I'd say, you're PAR::Packer is very broken :(

What do you get when you run

strings -a dummy.exe | grep -A1 '^FILE'

where dummy.exe was produced by (same as you're example)

echo " " > dummy.pl
pp -o dummy.exe dummy.pl

Also, can you run dummy.exe under strace on the client machine (the
one where it fails)

strace -f -o dummy.strace dummy.exe
egrep '(open|stat).*"/usr'  dummy.strace | grep -v ENOENT

Cheers, Roderich

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.

Reply via email to