Created attachment 430288 [details] build.log [ebuild R ] media-libs/libcaca-0.99_beta18-r2 USE="doc* ncurses -X* -cxx* -imlib* (-java) (-mono) -opengl* -python* (-ruby) -slang* -static-libs* {-test} -truetype*" PYTHON_TARGETS="python2_7"
If you want emerge info just ask. I really don't think settings in /etc/portage/ has anything to do with this bug.
This seems to be a dublicate of bug #543870
*** This bug has been marked as a duplicate of bug 543870 ***