Bug 213285 - perl INC path is missing locations on ppc64
perl INC path is missing locations on ppc64
Status: CLOSED DUPLICATE of bug 235553
Product: Fedora
Classification: Fedora
Component: perl (Show other bugs)
6
powerpc Linux
medium Severity medium
: ---
: ---
Assigned To: Robin Norwood
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-31 11:43 EST by Kumar Gala
Modified: 2008-02-21 10:09 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-21 10:09:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Kumar Gala 2006-10-31 11:43:50 EST
Description of problem:

the perl @INC path is missing the 'ppc' vendor path
(/usr/lib/perl5/vendor_perl/5.8.8/ppc-linux-thread-multi/)

Which is where certain perl modules are built and installed (perl-HTML-Parser)

Version-Release number of selected component (if applicable):

perl-5.8.8-10
perl-HTML-Parser-3.55-1.fc6

How reproducible:

A simple perl script which report the @INC path:

print " @INC ";


Steps to Reproduce:
1. perl test.pl
  
Actual results:


/usr/lib64/perl5/site_perl/5.8.8/ppc64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.7/ppc64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.6/ppc64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.5/ppc64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/ppc64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.7/ppc64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.6/ppc64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.5/ppc64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/ppc64-linux-thread-multi
/usr/lib/perl5/5.8.8 .

Expected results:

Should also have

/usr/lib/perl5/vendor_perl/5.8.8/ppc-linux-thread-multi/

Should have 

Additional info:
Comment 1 Kumar Gala 2006-10-31 11:56:44 EST
The other solution maybe that perl modules may also need ppc64 builds.

When I hacked in perl script to explicilty include
/usr/lib/perl5/vendor_perl/5.8.8/ppc-linux-thread-multi/ I got the following
message:

Can't load
'/usr/lib/perl5/vendor_perl/5.8.8/ppc-linux-thread-multi/auto/HTML/Parser/Parser.so'
for module HTML::Parser:
/usr/lib/perl5/vendor_perl/5.8.8/ppc-linux-thread-multi/auto/HTML/Parser/Parser.so:
wrong ELF class: ELFCLASS32
Comment 2 Kumar Gala 2006-10-31 11:59:25 EST
Doing a rebuild of perl-HTML-Parser-3.55-1.fc6.src.rpm on a ppc64 host ends up
generating perl-HTML-Parser-3.55-1.fc6.ppc64.rpm which when installed resolves
the issue with my specific script.
Comment 3 Marcela Mašláňová 2008-02-21 10:09:17 EST

*** This bug has been marked as a duplicate of 235553 ***

Note You need to log in before you can comment on or make changes to this bug.