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

Bug 50185

Summary: PEAR-DB-1.6.4 failed
Product: Gentoo Linux Reporter: Margus <margus.sipria>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: art, howard_b_golden
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Margus 2004-05-06 01:00:14 UTC
>>> emerge (5 of 7) dev-php/PEAR-DB-1.6.4 to /
>>> md5 src_uri ;-) DB-1.6.4.tgz
>>> Unpacking source...
>>> Unpacking DB-1.6.4.tgz to /var/tmp/portage/PEAR-DB-1.6.4/work
tar: A lone zero block at 1117
>>> Source unpacked.

>>> Install PEAR-DB-1.6.4 into /var/tmp/portage/PEAR-DB-1.6.4/image/ category dev-php
/usr/sbin/ebuild.sh: line 46: pear: command not found

!!! ERROR: dev-php/PEAR-DB-1.6.4 failed.
!!! Function php-pear_src_install, Line 46, Exitcode 127
!!! (no error message)
Comment 1 Tal Peer (RETIRED) gentoo-dev 2004-05-08 10:55:51 UTC
Seems to be derived from bug #49356. Robin?
Comment 2 Howard B. Golden 2004-05-09 20:56:06 UTC
I received the identical error. Then I re-emerged dev-php/php-4.3.6 which installed /usr/bin/pear. Then I emerged PEAR-DB successfully.

I don't know why /usr/bin/pear was not there from the previous emerge of dev-php/php-4.3.6. Either that emerge didn't install pear or something else deleted it.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-05-13 21:21:51 UTC
Tal: yeah, it's related to #49356.

unnoticed by many people, /usr/bin/pear was provided by all php SAPI packages, and since it was the same content, it would get removed sometimes if you unmerged one, and in the upgrade that fixed mod_php and php-cgi to NOT provide it, your emerge order matters (if you upgrade mod_php or php-cgi after php itself, you will be left without /usr/bin/pear).
Comment 4 Tal Peer (RETIRED) gentoo-dev 2004-05-16 07:38:05 UTC
*** Bug 51152 has been marked as a duplicate of this bug. ***