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
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 ) )
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 ;-)
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.
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.
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.
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 ) ) )
in cvs properly.