Summary: | dev-php/PEAR-HTML_Common2-2.0.0_rc1 fails to install | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ivan Yarych <vanya> |
Component: | Current packages | Assignee: | 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: | --- |
Should use capitals by the look of it: ${WORKDIR}/HTML_Common2-2.0.0RC1 instead of ${WORKDIR}/HTML_Common2-2.0.0rc1 This one is fixed, isn't it? (In reply to comment #2) > This one is fixed, isn't it? > Yah, forgot to close it. |
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)