With -j 4 in MAKEOPTS apcupsd fails to build. This seems to be a known issue upstream and fixed in cvs (see URL). A temporary fix until a later version is in portage may be to pass -j 1 to emake. Furthermore, when this problem occurs the ebuild does not return any errors and installs all documentation for the package, but no binaries. This seems to be similar to the problem reported in bug #151896
i've added a patch so that when subdirs fail, the whole build process fails
upstream took the lame way out and disabled parallel build ... i've added that to our 3.12.4 and i'll try to get it fixed properly upstream