Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 174420
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Web Application Packages Maintainers <web-apps@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Łukasz Mierzwa <l.mierzwa@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
egroupware.patch patch for current ebuild patch Łukasz Mierzwa 2007-04-13 10:23 0000 411 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 174420 depends on: Show dependency tree
Bug 174420 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-13 10:21 0000
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 From Łukasz Mierzwa 2007-04-13 10:23:07 0000 -------
Created an attachment (id=116145) [details]
patch for current ebuild

------- Comment #2 From Renat Lumpau 2007-05-26 22:41:40 0000 -------
Done, thanks.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug