Subject: | PP in RPMs bug - stripped files |
Platform Red Hat Enterprise Workstation 4.0, x86_64, current patch level.
Perl version 5.8.5
PAR version 0.92
PP version 0.12
Test conditions:
I discovered this bug while creating RPMs of perl scripts packed with PP.
Test 1: Created hello world perl script. Tested script, result: PASS.
Packed with PP and tested, result: PASS. Created RPM with directive to
bypass prelink step ( %define __prelink_undo_cmd %{nil}) and
tested, result: PASS.
Test 2: Created complex perl script using multiple modules. Tested
script; PASS. Packed with PP and tested, result: PASS. Created RPM with
directive to bypass prelink step ( %define __prelink_undo_cmd
%{nil}) and tested, result: FAIL.
Error Message returned: No such file or directory at
/usr/lib/perl5/site_perl/5.8.5/PAR/Dist.pm line 144.
When the PP version of the program is run (PASS) an ls of PAR's
directory in /tmp shows a very large number of files including a large
number of files that are a random_hex_number.pm, serveral
random_hex_number.so, a directory called inc, libperl.so and a file with
the same name as the pp.
When the program is run after being installed from RPM it fails with the
error listed above. An ls of PAR's directory in /tmp shows only two
files libperl.so and a file with the same name as the program.
Sorry I can't include a working sample of the problem for IP reasons but
we are seeing this same behavior accross multiple perl scripts.