>>> 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)
Seems to be derived from bug #49356. Robin?
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.
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).
*** Bug 51152 has been marked as a duplicate of this bug. ***