fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["make", "-j2"], "delta": "0:02:57.619479", "end": "2023-11-07 21:58:55.429315", "msg": "non-zero return code", "rc": 2, "start": "2023-11-07 21:55:57.809836", "stderr": "/usr/bin/ld: CMakeFiles/tfs.dir/src/combat.cpp.o: in function `ValueCallback::getMinMaxValues(Player*, CombatDamage&, bool) const':\ncombat.cpp:(.text+0x4cf): undefined reference to `lua_pcallk'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/combat.cpp.o: in function `TargetCallback::onTargetCombat(Creature*, Creature*) const':\ncombat.cpp:(.text+0x2d97): undefined reference to `lua_pcallk'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/configmanager.cpp.o: in function `ConfigManager::load()':\nconfigmanager.cpp:(.text+0xcb): undefined reference to `lua_pcallk'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/configmanager.cpp.o: in function `ConfigManager::getGlobalBoolean(lua_State*, char const*, bool)':\nconfigmanager.cpp:(.text+0xd23): undefined reference to `lua_getglobal'\n/usr/bin/ld: configmanager.cpp:(.text+0xd6f): undefined reference to `lua_rawlen'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/configmanager.cpp.o: in function `ConfigManager::getGlobalString[abi:cxx11](lua_State*, char const*, char const*)':\nconfigmanager.cpp:(.text+0xeaf): undefined reference to `lua_getglobal'\n/usr/bin/ld: configmanager.cpp:(.text+0xf33): undefined reference to `lua_rawlen'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/configmanager.cpp.o: in function `ConfigManager::getGlobalNumber(lua_State*, char const*, int)':\nconfigmanager.cpp:(.text+0x103c): undefined reference to `lua_getglobal'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::protectedCall(lua_State*, int, int)':\nluascript.cpp:(.text+0x1705): undefined reference to `lua_pcallk'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::getEvent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':\nluascript.cpp:(.text+0x1b31): undefined reference to `lua_getglobal'\n/usr/bin/ld: luascript.cpp:(.text+0x1bdd): undefined reference to `lua_setglobal'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::getMetaEvent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':\nluascript.cpp:(.text+0x1d57): undefined reference to `lua_getglobal'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::getStackTrace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':\nluascript.cpp:(.text+0x2183): undefined reference to `lua_getglobal'\n/usr/bin/ld: luascript.cpp:(.text+0x2256): undefined reference to `lua_callk'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerFunctions()':\nluascript.cpp:(.text+0x4ae5): undefined reference to `lua_setglobal'\n/usr/bin/ld: luascript.cpp:(.text+0x4b19): undefined reference to `lua_setglobal'\n/usr/bin/ld: luascript.cpp:(.text+0x4b4d): undefined reference to `lua_setglobal'\n/usr/bin/ld: luascript.cpp:(.text+0x4b81): undefined reference to `lua_setglobal'\n/usr/bin/ld: luascript.cpp:(.text+0x4bb5): undefined reference to `lua_setglobal'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o:luascript.cpp:(.text+0x4be9): more undefined references to `lua_setglobal' follow\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::luaIsInArray(lua_State*)':\nluascript.cpp:(.text+0x51bda): undefined reference to `lua_compare'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::luaAddEvent(lua_State*)':\nluascript.cpp:(.text+0x52382): undefined reference to `lua_getglobal'\n/usr/bin/ld: luascript.cpp:(.text+0x523b6): undefined reference to `lua_getglobal'\n/usr/bin/ld: luascript.cpp:(.text+0x5241e): undefined reference to `lua_callk'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerGlobalVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)':\nluascript.cpp:(.text+0x52de8): undefined reference to `lua_setglobal'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerGlobalBoolean(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':\nluascript.cpp:(.text+0x52e4d): undefined reference to `lua_setglobal'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerGlobalMethod(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int (*)(lua_State*))':\nluascript.cpp:(.text+0x52ea8): undefined reference to `lua_setglobal'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerTable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':\nluascript.cpp:(.text+0x530b2): undefined reference to `lua_setglobal'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)':\nluascript.cpp:(.text+0x530fa): undefined reference to `lua_getglobal'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerMethod(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int (*)(lua_State*))':\nluascript.cpp:(.text+0x53179): undefined reference to `lua_getglobal'\n/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerClass(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int (*)(lua_State*))':\nluascript.cpp:(.text+0x54bfc): undefined reference to `lua_setglobal'\n/usr/bin/ld: luascript.cpp:(.text+0x54c9d): undefined reference to `lua_getglobal'\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\nmake[2]: *** [CMakeFiles/tfs.dir/build.make:1239: tfs] Error 1\nmake[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/tfs.dir/all] Error 2\nmake: *** [Makefile:91: all] Error 2", "stderr_lines": ["/usr/bin/ld: CMakeFiles/tfs.dir/src/combat.cpp.o: in function `ValueCallback::getMinMaxValues(Player*, CombatDamage&, bool) const':", "combat.cpp:(.text+0x4cf): undefined reference to `lua_pcallk'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/combat.cpp.o: in function `TargetCallback::onTargetCombat(Creature*, Creature*) const':", "combat.cpp:(.text+0x2d97): undefined reference to `lua_pcallk'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/configmanager.cpp.o: in function `ConfigManager::load()':", "configmanager.cpp:(.text+0xcb): undefined reference to `lua_pcallk'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/configmanager.cpp.o: in function `ConfigManager::getGlobalBoolean(lua_State*, char const*, bool)':", "configmanager.cpp:(.text+0xd23): undefined reference to `lua_getglobal'", "/usr/bin/ld: configmanager.cpp:(.text+0xd6f): undefined reference to `lua_rawlen'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/configmanager.cpp.o: in function `ConfigManager::getGlobalString[abi:cxx11](lua_State*, char const*, char const*)':", "configmanager.cpp:(.text+0xeaf): undefined reference to `lua_getglobal'", "/usr/bin/ld: configmanager.cpp:(.text+0xf33): undefined reference to `lua_rawlen'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/configmanager.cpp.o: in function `ConfigManager::getGlobalNumber(lua_State*, char const*, int)':", "configmanager.cpp:(.text+0x103c): undefined reference to `lua_getglobal'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::protectedCall(lua_State*, int, int)':", "luascript.cpp:(.text+0x1705): undefined reference to `lua_pcallk'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::getEvent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':", "luascript.cpp:(.text+0x1b31): undefined reference to `lua_getglobal'", "/usr/bin/ld: luascript.cpp:(.text+0x1bdd): undefined reference to `lua_setglobal'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::getMetaEvent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':", "luascript.cpp:(.text+0x1d57): undefined reference to `lua_getglobal'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::getStackTrace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':", "luascript.cpp:(.text+0x2183): undefined reference to `lua_getglobal'", "/usr/bin/ld: luascript.cpp:(.text+0x2256): undefined reference to `lua_callk'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerFunctions()':", "luascript.cpp:(.text+0x4ae5): undefined reference to `lua_setglobal'", "/usr/bin/ld: luascript.cpp:(.text+0x4b19): undefined reference to `lua_setglobal'", "/usr/bin/ld: luascript.cpp:(.text+0x4b4d): undefined reference to `lua_setglobal'", "/usr/bin/ld: luascript.cpp:(.text+0x4b81): undefined reference to `lua_setglobal'", "/usr/bin/ld: luascript.cpp:(.text+0x4bb5): undefined reference to `lua_setglobal'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o:luascript.cpp:(.text+0x4be9): more undefined references to `lua_setglobal' follow", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::luaIsInArray(lua_State*)':", "luascript.cpp:(.text+0x51bda): undefined reference to `lua_compare'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::luaAddEvent(lua_State*)':", "luascript.cpp:(.text+0x52382): undefined reference to `lua_getglobal'", "/usr/bin/ld: luascript.cpp:(.text+0x523b6): undefined reference to `lua_getglobal'", "/usr/bin/ld: luascript.cpp:(.text+0x5241e): undefined reference to `lua_callk'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerGlobalVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)':", "luascript.cpp:(.text+0x52de8): undefined reference to `lua_setglobal'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerGlobalBoolean(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':", "luascript.cpp:(.text+0x52e4d): undefined reference to `lua_setglobal'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerGlobalMethod(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int (*)(lua_State*))':", "luascript.cpp:(.text+0x52ea8): undefined reference to `lua_setglobal'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerTable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':", "luascript.cpp:(.text+0x530b2): undefined reference to `lua_setglobal'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)':", "luascript.cpp:(.text+0x530fa): undefined reference to `lua_getglobal'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerMethod(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int (*)(lua_State*))':", "luascript.cpp:(.text+0x53179): undefined reference to `lua_getglobal'", "/usr/bin/ld: CMakeFiles/tfs.dir/src/luascript.cpp.o: in function `LuaScriptInterface::registerClass(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int (*)(lua_State*))':", "luascript.cpp:(.text+0x54bfc): undefined reference to `lua_setglobal'", "/usr/bin/ld: luascript.cpp:(.text+0x54c9d): undefined reference to `lua_getglobal'", "clang: error: linker command failed with exit code 1 (use -v to see invocation)", "make[2]: *** [CMakeFiles/tfs.dir/build.make:1239: tfs] Error 1", "make[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/tfs.dir/all] Error 2", "make: *** [Makefile:91: all] Error 2"]