schmusekater:~ # emerge -v world Calculating world dependencies ...done! >>> emerge (1 of 45) dev-php/php-4.3.4-r1 to / >>> md5 src_uri ;-) php-4.3.4.tar.bz2 >>> md5 src_uri ;-) php-4.3.2-fopen-url-secure.patch >>> Unpacking source... >>> Unpacking php-4.3.4.tar.bz2 to /var/tmp/portage/php-4.3.4-r1/work >>> Source unpacked. * JDK version: head: `-1' option is obsolete; use `-n 1' * Please ensure that you have a JDK with a version of at least * 1.4 selected using java-config -- i mean thats is a new head command but the checkscript from php-4.3.4-r1 in't updated !!! ERROR: dev-php/php-4.3.4-r1 failed. !!! Function php_check_java_config, Line 185, Exitcode 0 !!! (no error message) schmusekater:~ # Reproducible: Always Steps to Reproduce: 1. emerge world
Is your tree synced? looking at the eclass here the parameter passed to the head command is correct.
this is something out of date on your system. probably java-config...