Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104187

Summary: dev-lang/perl ebuild does not convert headers if using ROOT=/path
Product: Gentoo Linux Reporter: Gabe <gwiebe>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gabe 2005-08-29 14:57:51 UTC
in the pkg_postinst() method of the dev-lang/perl-5.8.7.ebuild, it skips the
"Converting C headers to Perl" step if the ROOT var is != /.  As a result, if I
try to run:

ROOT="/image" emerge dev-lang/perl

The following path is empty instead of containing .ph files:

/image/usr/lib/perl5/site_perl/5.8.7/i686-linux/

Reproducible: Always
Steps to Reproduce:
1.ROOT="/image" emerge dev-lang/perl
2.
3.

Actual Results:  
The following path in not populated:

/image/usr/lib/perl5/site_perl/5.8.7/i686-linux/

Expected Results:  
The following path should be filled with the perl version of he /usr/src/linux
header files
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-04 04:12:36 UTC
Mass re-assign.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-11-09 09:11:11 UTC
Mass re-assign.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2006-01-18 15:12:25 UTC
Marking this wontfix - if ROOT != /, then its difficult to run this part since this takes place in POSTINST, ie after perl has been merged onto your shiny system.