The ebuild for sys-apps/help2man-1.37.1 is missing dependence on dev-perl/Locale-gettext. This prevents the configure script from completing without errors. Reproducible: Always Steps to Reproduce: 1.emerge --depclean dev-perl/Locale-gettext 2.emerge -1 =sys-apps/help2man-1.37.1 3. Actual Results: checking for perl... perl checking for module Locale::gettext... no checking for msgfmt... /usr/bin/msgfmt checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for library containing dlsym... -ldl checking for library containing bindtextdomain... none required configure: error: perl module Locale::gettext required !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-apps/help2man-1.37.1/work/help2man-1.37.1/config.log Expected Results: configure does not fail.
help2man has an nls useflag which adds a dependency to dev-perl/Locale-gettext. I'm not sure how you get to this error (I suppose you've used the ebuild command instead of emerge) but I am not able to reproduce it. Works as expected and both versions pull in dev-perl/Locale-gettext in case nls has been enabled and both are building fine in case nls has been disabled. Please append your emerge --info here.
I have the perl module and I still get the error.
re emerging dev-perl/locale-gettext has fixed the problem, I don't know why.