media-gfx/exiv2-0.25-r2[linguas_de] installs the translation files into the directory /de instead of /usr/share/locale/de I suppose that the same holds for other LINGUAS as well. I have not checked whether exiv2 looks for the translation files at the correct location.
media-gfx/exiv2 (0.25-r2@15.02.2016)(nls png -doc -examples -webready -xmp ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" LINGUAS="de -bs -es -fi -fr -gl -ms -pl -pt -ru -sk -sv -ug -uk -vi") $ qlist media-gfx/exiv2 | grep locale /usr/share/locale/de/LC_MESSAGES/exiv2.mo So at least for me it installed de-locale in the correct location.
Could you please attach the build log?
Created attachment 427626 [details] build log There is not much which can be seen be seen from the log except that the last "Installing: ..." goes obviously into the wrong directory.
Created attachment 427628 [details] emerge --info exiv2 Bugzilla complained that emerge --info is too long for a comment, so I add it as an attachment
(In reply to Martin Väth from comment #4) > Created attachment 427628 [details] > emerge --info exiv2 > Can't reproduce with 'de'. Could you please try with ccache off?
(In reply to Johannes Huber from comment #5) > Can't reproduce with 'de'. Could you please try with ccache off? This gives the same result, unsurprisingly. The same result also with CMAKE_MAKEFILE_GENERATOR="ninja" except that in this case the log file also contains a copy of de.po (i.e. for some reason ninja send de.po in addition to stdout or stderr during building).
*** Bug 604196 has been marked as a duplicate of this bug. ***
Issue occurs with USE=-nls, cmake was fixed upstream.
Added snapshot 0.26_p20171013 to tree to address this issue.
media-gfx/exiv2-0.26_p20171104 is now pending for stabilisation.