emerge net-print/foo2zjs fails because it can't find foomatic-rip. In case of cups-filters, the latter file is in /usr/libexec... not /usr/lib. quick fix: in src_prepare add: sed -e "s~/usr/lib/cups/filter/foomatic-rip~/usr/libexec/cups/filter/foomatic-rip~g" -i Makefile or for backward compatibility, patch Makefile and add an if statement with the libexec path.
Please attach the entire build.log.
*** This bug has been marked as a duplicate of bug 503578 ***