head -1 and tail -1 no longer work with the latest coreutils with
glibc-2.3.2-r2
or above, but Apache depends on these. Emerging apache appears to be
successful, but after emerging /usr/sbin/apache does not exist.
The head/tail/uniq -1 deprecation only comes about with glibc-2.3.2-r2 or later
as it updates _POSIX2_VERSION in /usr/include/unistd.h - however, as this is
bound to change sooner or later for stable Gentoo systems, it's something that
needs to be addressed.
The fix is to change everything containing head -1 or tail -1 to head -n 1 or
tail -n 1, respectively.