If given the ROOT= option in the command line php builds correctly but the binarys are missing in the target files system.
I didn't check what other files are missing
(Happens with or without -K option)
Steps to Reproduce:
1. ROOT=/mnt/othersystem emerge php
no php binaries in the target system (php, php-cli, php-cgi)
binaries in the target system (php, php-cli, php-cgi) :-)
CFLAGS="-Os -march=k6-2 -pipe -fomit-frame-pointer"
# This should not be changed unless you know exactly what you are doing. You
# should probably be using a different stage, instead.
USE="ipv6 -X php cgi fastcgi fam mysql webmail xmlrpc fastbuild inifile imap xml unicode sockets daemon samba"
FEATURES="noman nodoc noinfo unmerge-orphans parallelfetch"
The binaries are actually there (at least for me), the only problem is that no symlinks seem to be created. I'll look into fixing that.