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

Bug 305745

Summary: dev-php/PEAR-HTML_Common2-2.0.0_rc1 fails to install
Product: Gentoo Linux Reporter: Ivan Yarych <vanya>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: sebastian
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ivan Yarych 2010-02-18 14:44:23 UTC
When I try to upgrade PEAR to dev-php/PEAR-HTML_Common2-2.0.0_rc1 it fails saying 

/var/tmp/portage/dev-php/PEAR-HTML_Common2-2.0.0_rc1/temp/environment: line 838: cd: /var/tmp/portage/dev-php/PEAR-HTML_Common2-2.0.0_rc1/work/HTML_Common2-2.0.0rc1: No such file or directory


Reproducible: Always

Steps to Reproduce:
1. emerge -1 dev-php/PEAR-HTML_Common2 -v

Actual Results:  
>>> Install PEAR-HTML_Common2-2.0.0_rc1 into /var/tmp/portage/dev-php/PEAR-HTML_Common2-2.0.0_rc1/image/ category dev-php
/var/tmp/portage/dev-php/PEAR-HTML_Common2-2.0.0_rc1/temp/environment: line 838: cd: /var/tmp/portage/dev-php/PEAR-HTML_Common2-2.0.0_rc1/work/HTML_Common2-2.0.0rc1: No such file or directory
Cannot download non-local package "/var/tmp/portage/dev-php/PEAR-HTML_Common2-2.0.0_rc1/work/HTML_Common2-2.0.0rc1/package.xml"
Package "/var/tmp/portage/dev-php/PEAR-HTML_Common2-2.0.0_rc1/work/HTML_Common2-2.0.0rc1/package.xml" is not valid
install failed
 * ERROR: dev-php/PEAR-HTML_Common2-2.0.0_rc1 failed:
 *   Unable to install PEAR package
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_install
 *   environment, line 913:  Called php-pear-r1_src_install
 *   environment, line 853:  Called die
 * The specific snippet of code:
 *               pear -d php_bin="${PHP_BIN}" install --force --loose --nodeps --offline --packagingroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package";
 * 


Expected Results:  
PEAR upgrades fine

I have =dev-php/PEAR-HTML_Common2-2.0.0* in /etc/portage/package.keywords

The reason for error is that package actually extracts to /var/tmp/portage/dev-php/PEAR-HTML_Common2-2.0.0_rc1/work/HTML_Common2-2.0.0RC1 and not /var/tmp/portage/dev-php/PEAR-HTML_Common2-2.0.0_rc1/work/HTML_Common2-2.0.0rc1 (if I understand correctly)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-18 19:05:21 UTC
Should use capitals by the look of it:

${WORKDIR}/HTML_Common2-2.0.0RC1

instead of

${WORKDIR}/HTML_Common2-2.0.0rc1
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2010-04-13 19:03:55 UTC
This one is fixed, isn't it?
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2010-04-21 05:30:08 UTC
(In reply to comment #2)
> This one is fixed, isn't it?
> 

Yah, forgot to close it.