The compilation of the man-db package fails with the following error when the use flag "nls" is set. PERL5LIB=. po4a --variable srcdir=../../man --variable builddir=../../man --variable podir=./tmp-po --keep 0 ./po4a.cfg Error: 'msgmerge -U ./tmp-po/da.po ./tmp-po/man-db-manpages.pot --previous --backup=none' exited with value 127. Makefile:1538: recipe for target 'all-local' failed make[3]: *** [all-local] Error 255 make[3]: Leaving directory '/var/tmp/portage/sys-apps/man-db-2.7.5/work/man-db-2.7.5/man/po4a' Makefile:1790: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-apps/man-db-2.7.5/work/man-db-2.7.5/man' Makefile:1521: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/man-db-2.7.5/work/man-db-2.7.5' Makefile:1449: recipe for target 'all' failed make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge sys-apps/man-db 2. installation fails with above mentioned error 1. USE="-nls" emerge sys-apps/man-db 2. installation completes succesfully Actual Results: package cannot be compiled Expected Results: package should be installed
Created attachment 424126 [details] emerge --info
do you have gettext installed ? it provides `msgmerge`.
I have =sys-devel/gettext-0.19.4 installed and I had verified that it's available on the PATH. But now that you have asked the question I tried to execute it and I got a: msgmerge: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory So I checked and libgomp.so.1 belongs to gcc. I have recently done a binary installation of this package (which I have from another system). It's still weird to me as I thought I have checked that it's configured the same way (USE-flags) and the installation was for gcc-4.9.3 but as you can see in the emerge --info the compilation was still happening with gcc-4.8 Anyway I think the issue can be closed. I have to fix my system. Thanks for the response!