It seems that the configure script for mplayer does not handle when LINGUAS have multiple similar languages set. E.g: LINGUAS="sv sv_SE". Configure contains some sed lines for excluding languages not supported, but those sed lines does not account for when LINGUAS is set as said above. Reproducible: Always Steps to Reproduce: 1. emerge mplayer Actual Results: Snipped output: ... Checking for i18n ... no Checking for setlocale() ... yes Checking for iconv ... yes Checking for langinfo ... yes Checking for language ... sv not found, sv_SE not found, using _SE (man pages: _SE en) Error: help/help_mp-_SE.h not found Check "configure.log" if you do not understand why it failed. !!! ERROR: media-video/mplayer-1.0_pre5-r1 failed. !!! Function src_compile, Line 286, Exitcode 1 !!! (no error message) Expected Results: MPlayer's configure script should account for LINGUAS being set with multiple similar lang-defs, and thus emerge cleanly. I've created a patch for the configure script which avoids this bug.
Created attachment 36016 [details, diff] Patch to configure
Turning this into a bug dependant on bug #58086, as I'm fixing all the issues (including this one) in it.
It's in cvs, clossing.