Building net-misc/whois-5.0.16 with USE="-nls" and without having sys-devel/gettext installed fails with the following error: cd po && make make[1]: Entering directory `/var/tmp/portage/net-misc/whois-5.0.16/work/whois-5.0.16/po' xgettext --default-domain=whois \ --add-comments --keyword=_ --keyword=N_ ../whois.c ../mkpasswd.c make[1]: xgettext: Command not found make[1]: *** [whois.pot] Error 127 make[1]: Leaving directory `/var/tmp/portage/net-misc/whois-5.0.16/work/whois-5.0.16/po' make: *** [pos] Error 2 make: *** Waiting for unfinished jobs....
*** This bug has been marked as a duplicate of bug 417641 ***
Sorry, but I do not think that this bug has something to do with Gentoo Bug #417641 which was fixed but this issue still exists. Furthermore I think that it is not necessary to add a USE=-nls dependency against sys-devel/gettext as the change of the subject suggests. In that case we just could remove USE=nls and always depend on gettext. A better solution is to fix the build system to not walk into the po directory while building net-misc/whois with USE=-nls.
Fixed in 5.0.17 in CVS.