ok, lets check relevant parts of the mc-4.6.0-r14 ebuild: IUSE="7zip X gpm ncurses nls pam samba slang unicode" [..] DEPEND=" slang? ( >=sys-libs/slang-1.4.9-r1 ) unicode? ( >=sys-libs/slang-1.4.9-r1 ) " [..] if use unicode && use slang; then epatch ${FILESDIR}/${P}-utf8.patch.bz2 fi the 'unicode' USE-flag is only relevant if you also select 'slang'. Obviously the DEPEND clause is wrong then. It depends on slang w/o any reason to do so. Just remove the "unicode? ( >=sys-libs/slang-1.4.9-r1 )" line from DEPEND and everything compiles fine. Reproducible: Always Steps to Reproduce:
fixed it myself. ;-)