+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/fcitx5-lua-5.0.3/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/fcitx5-lua-5.0.3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for fcitx5-lua-5.0.3 [ 5%] Generating org.fcitx.Fcitx5.Addon.Lua.metainfo.xml [ 5%] Built target org.fcitx.Fcitx5.Addon.Lua.metainfo.xml.in-fmt [ 10%] Building CXX object src/file2cstring/CMakeFiles/file2cstring.dir/file2cstring.cpp.o [ 15%] Linking CXX executable file2cstring [ 15%] Built target file2cstring [ 20%] Generating baselua.h [ 20%] Built target baselua [ 25%] Generating luaaddonloader.conf [ 25%] Built target luaaddonloader.conf.in-fmt [ 30%] Generating imeapi.conf [ 30%] Built target imeapi.conf.in-fmt [ 30%] Built target copy [ 35%] Generating fcitx5-lua-da.mo [ 40%] Generating fcitx5-lua-ja.mo [ 45%] Generating fcitx5-lua-ko.mo [ 50%] Generating fcitx5-lua-zh_CN.mo [ 55%] Generating fcitx5-lua-zh_TW.mo [ 55%] Built target fcitx5-lua-translation [ 60%] Building CXX object src/addonloader/CMakeFiles/luaaddonloader.dir/luastate.cpp.o [ 65%] Building CXX object src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddonstate.cpp.o /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp: In instantiation of 'std::unique_ptr > > fcitx::LuaAddonState::watchEvent(fcitx::EventType, int, std::function&, T&)>, std::function&, T&)>) [with T = fcitx::InputContextEvent]': /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp:176:48: required from here /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp:150:22: warning: passing NULL to non-pointer argument 6 of 'auto fcitx::lua_pcallk(const StatePtr&, Args&& ...) [with StatePtr = std::unique_ptr; Args = {int&, int, int, int, long int}]' [-Wconversion-null] 150 | int rv = lua_pcall(state_, argc, 1, 0); | ^~~~~~~~~ In file included from /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luastate.h:10, from /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luahelper.h:10, from /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.h:10, from /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp:7: /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luastate_details.h:65:45: note: declared here 65 | auto NAME(const StatePtr &state, Args &&...args) { \ | ~~~~~~~^~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luastate.h:40:30: note: in expansion of macro 'DEFINE_BRIDGE_LUA_API_FUNCTION' 40 | #define FOREACH_LUA_FUNCTION DEFINE_BRIDGE_LUA_API_FUNCTION | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luafunc.h:10:1: note: in expansion of macro 'FOREACH_LUA_FUNCTION' 10 | FOREACH_LUA_FUNCTION(lua_pcallk) | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp: In instantiation of 'std::unique_ptr > > fcitx::LuaAddonState::watchEvent(fcitx::EventType, int, std::function&, T&)>, std::function&, T&)>) [with T = fcitx::KeyEvent]': /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp:180:39: required from here /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp:150:22: warning: passing NULL to non-pointer argument 6 of 'auto fcitx::lua_pcallk(const StatePtr&, Args&& ...) [with StatePtr = std::unique_ptr; Args = {int&, int, int, int, long int}]' [-Wconversion-null] 150 | int rv = lua_pcall(state_, argc, 1, 0); | ^~~~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luastate_details.h:65:45: note: declared here 65 | auto NAME(const StatePtr &state, Args &&...args) { \ | ~~~~~~~^~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luastate.h:40:30: note: in expansion of macro 'DEFINE_BRIDGE_LUA_API_FUNCTION' 40 | #define FOREACH_LUA_FUNCTION DEFINE_BRIDGE_LUA_API_FUNCTION | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luafunc.h:10:1: note: in expansion of macro 'FOREACH_LUA_FUNCTION' 10 | FOREACH_LUA_FUNCTION(lua_pcallk) | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp: In instantiation of 'std::unique_ptr > > fcitx::LuaAddonState::watchEvent(fcitx::EventType, int, std::function&, T&)>, std::function&, T&)>) [with T = fcitx::CommitStringEvent]': /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp:196:48: required from here /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp:150:22: warning: passing NULL to non-pointer argument 6 of 'auto fcitx::lua_pcallk(const StatePtr&, Args&& ...) [with StatePtr = std::unique_ptr; Args = {int&, int, int, int, long int}]' [-Wconversion-null] 150 | int rv = lua_pcall(state_, argc, 1, 0); | ^~~~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luastate_details.h:65:45: note: declared here 65 | auto NAME(const StatePtr &state, Args &&...args) { \ | ~~~~~~~^~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luastate.h:40:30: note: in expansion of macro 'DEFINE_BRIDGE_LUA_API_FUNCTION' 40 | #define FOREACH_LUA_FUNCTION DEFINE_BRIDGE_LUA_API_FUNCTION | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luafunc.h:10:1: note: in expansion of macro 'FOREACH_LUA_FUNCTION' 10 | FOREACH_LUA_FUNCTION(lua_pcallk) | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp: In instantiation of 'std::unique_ptr > > fcitx::LuaAddonState::watchEvent(fcitx::EventType, int, std::function&, T&)>, std::function&, T&)>) [with T = fcitx::InputMethodNotificationEvent]': /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp:207:59: required from here /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luaaddonstate.cpp:150:22: warning: passing NULL to non-pointer argument 6 of 'auto fcitx::lua_pcallk(const StatePtr&, Args&& ...) [with StatePtr = std::unique_ptr; Args = {int&, int, int, int, long int}]' [-Wconversion-null] 150 | int rv = lua_pcall(state_, argc, 1, 0); | ^~~~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luastate_details.h:65:45: note: declared here 65 | auto NAME(const StatePtr &state, Args &&...args) { \ | ~~~~~~~^~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luastate.h:40:30: note: in expansion of macro 'DEFINE_BRIDGE_LUA_API_FUNCTION' 40 | #define FOREACH_LUA_FUNCTION DEFINE_BRIDGE_LUA_API_FUNCTION | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3/src/addonloader/luafunc.h:10:1: note: in expansion of macro 'FOREACH_LUA_FUNCTION' 10 | FOREACH_LUA_FUNCTION(lua_pcallk) | ^~~~~~~~~~~~~~~~~~~~ [ 70%] Building CXX object src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddonloader.cpp.o [ 75%] Building CXX object src/addonloader/CMakeFiles/luaaddonloader.dir/luaaddon.cpp.o [ 80%] Building CXX object src/addonloader/CMakeFiles/luaaddonloader.dir/luahelper.cpp.o [ 85%] Linking CXX shared module luaaddonloader.so ld: fatal: unrecognized option '--as-needed' ld: fatal: use the -z help option for usage information collect2: error: ld returned 1 exit status *** [src/addonloader/luaaddonloader.so] Error code 1 bmake[2]: stopped in /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3 1 error bmake[2]: stopped in /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3 *** [src/addonloader/CMakeFiles/luaaddonloader.dir/all] Error code 2 bmake[1]: stopped in /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3 1 error bmake[1]: stopped in /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3 1 error bmake: stopped in /home/pbulk/build/inputmethod/fcitx5-lua/work/fcitx5-lua-5.0.3 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/inputmethod/fcitx5-lua *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/inputmethod/fcitx5-lua