When building against current lua:
lib/evas/filters/evas_filter_parser.c: In function '_lua_backtrace': lib/evas/filters/evas_filter_parser.c:2434:20: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function) lua_getfield(L, LUA_GLOBALSINDEX, "debug");
That happens because from lua > 5.1, the variable LUA_GLOBALSINDEX doesn't exist anymore.
The fix is straightforward, replace the lua_getfield call with:
If you want to conditionalize it on the version of Lua, you can, but Fedora doesn't have old lua anymore, so I didn't do that in my patch.