Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174420 - www-apps/egroupware - change order of dependencies
Summary: www-apps/egroupware - change order of dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-13 10:21 UTC by Łukasz Mierzwa
Modified: 2007-05-26 22:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for current ebuild (egroupware.patch,411 bytes, patch)
2007-04-13 10:23 UTC, Łukasz Mierzwa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Mierzwa 2007-04-13 10:21:39 UTC
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
Comment 1 Łukasz Mierzwa 2007-04-13 10:23:07 UTC
Created attachment 116145 [details, diff]
patch for current ebuild
Comment 2 Renat Lumpau (RETIRED) gentoo-dev 2007-05-26 22:41:40 UTC
Done, thanks.