php-5.0.4 ebuild no longer installs pear. After emerging php-5.0.4 (upgrading from 5.0.2-r1), base pear installation is removed. A subsequent attempt at emerging the standalone dev-php/PEAR-PEAR fails because /usr/bin/pear (part of the base pear installation) is needed ! Reproducible: Always Steps to Reproduce: 1.emerge =dev-php/php-5.04 2.emerge =dev/PEAR-PEAR 3. Actual Results: Calculating dependencies ...done! >>> emerge (1 of 1) dev-php/PEAR-PEAR-1.3.5 to / >>> md5 files ;-) PEAR-PEAR-1.3.5-r1.ebuild >>> md5 files ;-) PEAR-PEAR-1.3.5.ebuild >>> md5 files ;-) files/digest-PEAR-PEAR-1.3.5 >>> md5 files ;-) files/digest-PEAR-PEAR-1.3.5-r1 >>> md5 src_uri ;-) PEAR-1.3.5.tgz >>> Unpacking source... >>> Unpacking PEAR-1.3.5.tgz to /var/tmp/portage/PEAR-PEAR-1.3.5/work tar: A lone zero block at 1088 >>> Source unpacked. >>> Test phase [not enabled]: dev-php/PEAR-PEAR-1.3.5 >>> Install PEAR-PEAR-1.3.5 into /var/tmp/portage/PEAR-PEAR-1.3.5/image/ category dev-php /usr/portage/eclass/php-pear.eclass: line 49: pear: command not found !!! ERROR: dev-php/PEAR-PEAR-1.3.5 failed. !!! Function php-pear_src_install, Line 49, Exitcode 127 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Existing pear installation should remain functional after php update.
Should be fixed, emerge sync and try again. *** This bug has been marked as a duplicate of 95431 ***
Sorry but php-5.0.4-r1 does not resolve this issue at all. From the last lines of php5-sapi-r2.eclass: .... # PEAR-Installer and phpconfig install the following, so we # don't have to rm -rf ${D}/usr/bin/{php,phpextdist,phpize,php-config,pear} rm -rf ${D}/usr/lib/php/build rm -rf ${D}/usr/include/php ... Once php5-5.0.4-r1 php5-5.0.4-r1 is emerged, /usr/bin/pear is gone. It cannot be rebuild by emerging the base PEAR package (PEAR-PEAR) because this package also depends on the presence of /usr/bin/pear It looks like the new PEAR-PEAR-1.3.5-r1.ebuild is ***required*** to restore pear, but at the moment this package is masked. php5-5.0.4-r1 cannot be unmasked if PEAR-PEAR-1.3.5-r1 is masked ! PEAR-PEAR
(In reply to comment #2) > Sorry but php-5.0.4-r1 does not resolve this issue at all. That
(In reply to comment #2) > Sorry but php-5.0.4-r1 does not resolve this issue at all. That´s another (already fixed) bug. See Bug 95575.