Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52165 - dev-php/php won't compiled due to missed sun-jdk-1.4* dependency
Summary: dev-php/php won't compiled due to missed sun-jdk-1.4* dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-27 00:22 UTC by Garth
Modified: 2004-09-15 02:08 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 Garth 2004-05-27 00:22:29 UTC
The package dev-php/php will not compile on amd64 due to the missed =virtual/jdk-1.4* which looks for any dev-java/sun-jdk-1.4.* , the only sun-jdk support for amd64 is 1.5 (currently beta).

Reproducible: Always
Steps to Reproduce:
1. USE="java"
2. emerge "=dev-java/sun-jdk-1.5.0_beta1-r1"
3. emerge php
Actual Results:  
Calculating dependencies \
!!! all ebuilds that could satisfy "virtual/jdk-1.4*" have been masked.
!!! possible candidates are:
- dev-java/sun-jdk-1.4.2.04-r1 (masked by: missing keyword)
- dev-java/sun-jdk-1.4.1.06 (masked by: missing keyword)
- dev-java/sun-jdk-1.4.2.03 (masked by: missing keyword)
- dev-java/sun-jdk-1.4.2.04 (masked by: missing keyword)
!!!        (dependency required by "dev-php/php-4.3.4-r4" [ebuild])

Expected Results:  
compiled php
Comment 1 Garth 2004-05-28 09:18:34 UTC
compile fix:
modify in: php-2.eclass  php-sapi.eclass  php.eclass 
Line:
   !alpha? ( java? ( =virtual/jdk-1.4* dev-java/java-config ) )
to:
   !alpha? ( java? ( >=virtual/jdk-1.4* dev-java/java-config ) )
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2004-05-28 11:16:36 UTC
Nothing for amd64 team... That's work for php-bugs@g.o, so i'll reassign.
@php-bugs: Guys please apply this patch to php.eclass and friends ;-)
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-05-28 12:25:23 UTC
this is not a suitable change.
I'm told that jdk-1.5 presently breaks php on x86.
the depend used to be >=1.4, until somebody pointed out that it broke php, so i locked it down to 1.4.
Comment 4 Garth 2004-05-28 21:34:59 UTC
I'm guessing that the java use flag should be filtered for amd64 then. That way people trying to get php when they have it won't lose time over it.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-27 16:40:11 UTC
in cvs as 
!alpha? ( !amd64 ( java? ( =virtual/jdk-1.4* dev-java/java-config ) ) )
and another suitable line

given that i've got reports of java-1.5 breaking php, i've just disabled java for amd64.
Comment 6 Garth 2004-06-29 09:14:13 UTC
The correction:
!alpha? ( !amd64 ( java? ( =virtual/jdk-1.4* dev-java/java-config ) ) )
is wrong (still expect java 1.4 dependency).
It should have read:
!alpha? ( !amd64? ( java? ( =virtual/jdk-1.4* dev-java/java-config ) ) )
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-09-15 02:08:51 UTC
in cvs properly.