Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125160 - emerge PEAR-Translation2-2.0.0b9 fails
Summary: emerge PEAR-Translation2-2.0.0b9 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-05 18:51 UTC by Jean-Francois Ostiguy
Modified: 2006-03-07 03:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Francois Ostiguy 2006-03-05 18:51:43 UTC
emerge PEAR-Translation2-2.0.0b9 fails because of a problem on line 59 in
php-pear-r1.eclass. 
The package untars into the directory PEAR-Translation2-2.0.0beta9. The eclass
implictly assumes that the directory name is identical to the package name. It is not 
("b9" is replaced by "beta9"), so cd ${S} fails. Adding the following just before line 59

if [ "${S}" = "/var/tmp/portage/PEAR-Translation2-2.0.0_beta9/work/Translation2-2.0.0b9" ] ; then     S="/var/tmp/portage/PEAR-Translation2-2.0.0_beta9/work/Translation2-2.0.0beta9"
	fi

makes emerge succeed. Of course, this is a kludge, not a good general solution
for this type of issue.
Comment 1 Sebastian Bergmann (RETIRED) gentoo-dev 2006-03-07 03:44:35 UTC
Fixed in CVS.