Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41299 - php-sapi.eclass adds virtual/jdk-1.4* DEPEND on PPC which doesn't have a 'stable' 1.4.x JDK
Summary: php-sapi.eclass adds virtual/jdk-1.4* DEPEND on PPC which doesn't have a 'sta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High minor
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 15:05 UTC by Francois Guimond
Modified: 2004-03-28 14:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Guimond 2004-02-11 15:05:59 UTC
Wasn't too sure if this was reported yet, or where it should go, but here goes.
When trying to emerge mod_php on PPC I got an error message saying there were no
unmasked packages satisfying the "virtual/jdk-1.4*" dependency.  I double checked,
and no 1.4.x JDK or JRE is marked 'stable' on PPC (with the 'ppc' keyword).  This
causes a bit of an issue since 'stable' PHP packages (in this case, mod_php)
depend on unstable packages.


Reproducible: Always
Steps to Reproduce:
1. Get a clean system without any "~ppc" Java packages installed.
2. Emerge mod_php

Actual Results:  
Emerge burped with the error:

!!! all ebuilds that could satisfy "=virtual/jdk-1.4*" have been masked.
!!! possible candidates are:
- dev-java/ibm-jdk-1.4.1 (masked by: ~keyword)
!!!    (dependency required by "dev-php/mod_php-4.3.4-r4" [ebuild])


Expected Results:  
Not too sure what should be done here.  I noticed in the php-sapi.eclass that this
depencendy is only enabled for non-alpha systems, maybe you could make it
non-alpha AND non-ppc.  Another possibility is getting one of the 1.4.x JDKs
approved as 'stable', PPC is seriously behind in this matter.

Also note that it's possible to get around it by enabling ~ppc and installing
ibm-jdk-1.4.1 (the only ~ppc 1.4.x JDK ebuild) prior to installing any ebuild that
uses the php-sapi.eclass, or by removing java from USE flags, but this will make
updating the system problematic (currently my situation).
Comment 1 Bartosch Pixa (RETIRED) gentoo-dev 2004-02-15 01:47:10 UTC
ibm-jdk 1.4.1 is now stable on ppc
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2004-03-28 14:58:43 UTC
Closing bug.