Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 213285

Summary: perl INC path is missing locations on ppc64
Product: [Fedora] Fedora Reporter: Kumar Gala <galak>
Component: perlAssignee: Robin Norwood <robin.norwood>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-21 15:09:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Kumar Gala 2006-10-31 16:43:50 UTC
Description of problem:

the perl @INC path is missing the 'ppc' vendor path

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

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


How reproducible:

A simple perl script which report the @INC path:

print " @INC ";

Steps to Reproduce:
1. perl
Actual results:

/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/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


Should have 

Additional info:

Comment 1 Kumar Gala 2006-10-31 16:56:44 UTC
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

Can't load
for module HTML::Parser:
wrong ELF class: ELFCLASS32

Comment 2 Kumar Gala 2006-10-31 16:59:25 UTC
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 15:09:17 UTC

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