php5 is stable but when emerging www-apps/egroupware with USE="jpgraph" dev-php4/jpgraph is being installed, this is due to order of dependencies in ebuild, currently is says: RDEPEND=" ldap? ( net-nds/openldap ) gd? ( media-libs/gd ) jpgraph? ( || ( dev-php4/jpgraph dev-php5/jpgraph ) ) dev-php/PEAR-Log net-www/apache" dev-php4/jpgraph is the first one so portage tries to install it first, since it is stabe on x86 it is installed, dev-php5/jpgraph is also stable (so is php5) so portage should try to install it and if it can't due to keywords it should fallback to dev-php4/jpgraph. This can be achived by simply reordering jpgraph order to: RDEPEND=" ldap? ( net-nds/openldap ) gd? ( media-libs/gd ) jpgraph? ( || ( dev-php5/jpgraph dev-php4/jpgraph ) ) dev-php/PEAR-Log net-www/apache" Reproducible: Always Steps to Reproduce: 1. emerge current stabe php5 2. emerge egroupware with jpgraph USE flag Actual Results: jpgraph for php4 is installed along with php4 Expected Results: jpgraph for php5 is installed, or if user masked php5 jpgraph for php4 is installed along with php4
Created attachment 116145 [details, diff] patch for current ebuild
Done, thanks.