Created attachment 424692 [details] Working version of Ebuild Tried to install tolua++-1.0.93 having lua5.2 installed and it seems that tolua++ uses some API that is removed from Lua 5.2. I'm not familiar with Lua or tolua++, and don't have much time to write a patch, so as a solution I can suggest changing dependency in tolua++ ebuild from ">=dev-lang/lua-5.1.1[deprecated]" to "dev-lang/lua:5.1" (and some minor other minor changes in ebuild). BTW, it's still required to switch Lua version to 5.1 with eselect before installation
*** This bug has been marked as a duplicate of bug 508222 ***