>>> Building on localhost under inputmethods/fcitx-lua BDEPENDS = [devel/iso-codes;devel/gettext,-tools;devel/ninja;archivers/zstd;lang/lua/5.3;inputmethods/fcitx;devel/cmake/core;devel/kf6/extra-cmake-modules] DIST = [inputmethods/fcitx-lua:fcitx5-lua-5.0.13.tar.zst] FULLPKGNAME = fcitx-lua-5.0.13p1 RDEPENDS = [misc/shared-mime-info;inputmethods/fcitx;devel/desktop-file-utils;lang/lua/5.3] (Junk lock failure for localhost at 1790904233.31407) Received IO (Junk lock obtained for localhost at 1790904237.97) Received IO Woken up inputmethods/fcitx-lua Woken up inputmethods/fcitx-lua Woken up inputmethods/fcitx-lua >>> Running depends in inputmethods/fcitx-lua at 1790904244.15 last junk was in print/texlive/base /usr/sbin/pkg_add -aI -Drepair fcitx-5.1.11p1 iso-codes-4.20.1 kf6-extra-cmake-modules-6.30.0 was: /usr/sbin/pkg_add -aI -Drepair cmake-core-4.3.5 fcitx-5.1.11p1 gettext-tools-1.0 iso-codes-4.20.1 kf6-extra-cmake-modules-6.30.0 lua-5.3.6p1 ninja-1.11.1p1v1 zstd-1.5.7p0 /usr/sbin/pkg_add -aI -Drepair fcitx-5.1.11p1 iso-codes-4.20.1 kf6-extra-cmake-modules-6.30.0 >>> Running show-prepare-results in inputmethods/fcitx-lua at 1790904250.09 ===> inputmethods/fcitx-lua ===> Building from scratch fcitx-lua-5.0.13p1 ===> fcitx-lua-5.0.13p1 depends on: kf6-extra-cmake-modules-* -> kf6-extra-cmake-modules-6.30.0 ===> fcitx-lua-5.0.13p1 depends on: gettext-tools-* -> gettext-tools-1.0 ===> fcitx-lua-5.0.13p1 depends on: lua->=5.3,<5.4 -> lua-5.3.6p1 ===> fcitx-lua-5.0.13p1 depends on: iso-codes-* -> iso-codes-4.20.1 ===> fcitx-lua-5.0.13p1 depends on: cmake-core->=4 -> cmake-core-4.3.5 ===> fcitx-lua-5.0.13p1 depends on: ninja-* -> ninja-1.11.1p1v1 ===> fcitx-lua-5.0.13p1 depends on: zstd-* -> zstd-1.5.7p0 ===> fcitx-lua-5.0.13p1 depends on: fcitx-* -> fcitx-5.1.11p1 ===> Verifying specs: c++ c++abi pthread Fcitx5Config Fcitx5Core Fcitx5Utils m ===> found c++.13.0 c++abi.10.0 pthread.28.1 Fcitx5Config.0.0 Fcitx5Core.1.1 Fcitx5Utils.1.1 m.10.1 cmake-core-4.3.5 fcitx-5.1.11p1 gettext-tools-1.0 iso-codes-4.20.1 kf6-extra-cmake-modules-6.30.0 lua-5.3.6p1 ninja-1.11.1p1v1 zstd-1.5.7p0 Don't run junk because nojunk in games/godotsteam-gdnative (Junk lock released for localhost at 1790904255.96) distfiles size=40578 >>> Running build in inputmethods/fcitx-lua at 1790904256.11 ===> inputmethods/fcitx-lua ===> Checking files for fcitx-lua-5.0.13p1 `/usr/ports/distfiles/fcitx5-lua-5.0.13.tar.zst' is up to date. >> (SHA256) all files: OK ===> Extracting for fcitx-lua-5.0.13p1 ===> Patching for fcitx-lua-5.0.13p1 ===> Applying OpenBSD patch patch-CMakeLists_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Dirty hack to resolve to the correct library path | |Index: CMakeLists.txt |--- CMakeLists.txt.orig |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 36. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for fcitx-lua-5.0.13p1 ===> Configuring for fcitx-lua-5.0.13p1 -- The C compiler identification is Clang 22.1.6 -- The CXX compiler identification is Clang 22.1.6 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/obj/ports/fcitx-lua-5.0.13/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/obj/ports/fcitx-lua-5.0.13/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Lua: /usr/local/lib/liblua5.5.so.5.5;/usr/lib/libm.so.10.1 (found suitable version "5.5.1", minimum required is "5.3") -- Installing in the same prefix as Fcitx, adopting their path scheme by default -- Found Gettext: /usr/local/bin/msgmerge (found version "1.0") -- Looking for pthread_create -- Looking for pthread_create - not found -- Found Pthread: /usr/include CMake Warning (dev) at test/addon/CMakeLists.txt:2 (add_custom_command): Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming POST_BUILD to preserve backward compatibility. Policy CMP0175 is not set: add_custom_command() rejects invalid arguments. Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at test/addon/CMakeLists.txt:3 (add_custom_command): Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming POST_BUILD to preserve backward compatibility. Policy CMP0175 is not set: add_custom_command() rejects invalid arguments. Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at test/addon/CMakeLists.txt:4 (add_custom_command): Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming POST_BUILD to preserve backward compatibility. Policy CMP0175 is not set: add_custom_command() rejects invalid arguments. Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- The following REQUIRED packages have been found: * ECM * Lua (required version >= 5.3) * Gettext * Pthread * Fcitx5Core (required version >= 5.1.11) * Fcitx5ModuleQuickPhrase * Fcitx5Module * Fcitx5ModuleTestFrontend * Fcitx5ModuleTestIM -- Configuring done (9.7s) -- Generating done (0.3s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_COMPILER_AR CMAKE_ASM_COMPILER_CLANG_SCAN_DEPS CMAKE_ASM_COMPILER_RANLIB CMAKE_Fortran_COMPILER_AR CMAKE_Fortran_COMPILER_CLANG_SCAN_DEPS CMAKE_Fortran_COMPILER_RANLIB CMAKE_OBJCXX_COMPILER_AR CMAKE_OBJCXX_COMPILER_CLANG_SCAN_DEPS CMAKE_OBJCXX_COMPILER_RANLIB CMAKE_OBJC_COMPILER_AR CMAKE_OBJC_COMPILER_CLANG_SCAN_DEPS CMAKE_OBJC_COMPILER_RANLIB -- Build files have been written to: /usr/obj/ports/fcitx-lua-5.0.13/build-powerpc64 ===> Building for fcitx-lua-5.0.13p1 Change Dir: '/usr/obj/ports/fcitx-lua-5.0.13/build-powerpc64' Run Build Command(s): /usr/local/bin/ninja -v -j 1 [1/19] cd /usr/obj/ports/fcitx-lua-5.0.13/build-powerpc64 && /usr/local/bin/msgfmt --xml -d /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/po --template /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/org.fcitx.Fcitx5.Addon.Lua.metainfo.xml.in -o /usr/obj/ports/fcitx-lua-5.0.13/build-powerpc64/org.fcitx.Fcitx5.Addon.Lua.metainfo.xml [2/19] /usr/obj/ports/fcitx-lua-5.0.13/bin/c++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-lua\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/local/share/locale\" -Dluaaddonloader_EXPORTS -I/usr/obj/ports/fcitx-lua-5.0.13/build-powerpc64 -I/usr/obj/ports/fcitx-lua-5.0.13/build-powerpc64/src/addonloader -I/usr/local/include/Fcitx5/Module/fcitx-module/quickphrase -isystem /usr/local/include/lua-5.5 -isystem /usr/local/include/Fcitx5/Core -isystem /usr/local/include/Fcitx5/Config -isystem /usr/local/include/Fcitx5/Utils -Wall -Wextra -O2 -pipe -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT src/addonloader/CMakeFiles/luaaddonloader.dir/luastate.cpp.o -MF src/addonloader/CMakeFiles/luaaddonloader.dir/luastate.cpp.o.d -o src/addonloader/CMakeFiles/luaaddonloader.dir/luastate.cpp.o -c /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.cpp FAILED: src/addonloader/CMakeFiles/luaaddonloader.dir/luastate.cpp.o /usr/obj/ports/fcitx-lua-5.0.13/bin/c++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-lua\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/local/share/locale\" -Dluaaddonloader_EXPORTS -I/usr/obj/ports/fcitx-lua-5.0.13/build-powerpc64 -I/usr/obj/ports/fcitx-lua-5.0.13/build-powerpc64/src/addonloader -I/usr/local/include/Fcitx5/Module/fcitx-module/quickphrase -isystem /usr/local/include/lua-5.5 -isystem /usr/local/include/Fcitx5/Core -isystem /usr/local/include/Fcitx5/Config -isystem /usr/local/include/Fcitx5/Utils -Wall -Wextra -O2 -pipe -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT src/addonloader/CMakeFiles/luaaddonloader.dir/luastate.cpp.o -MF src/addonloader/CMakeFiles/luaaddonloader.dir/luastate.cpp.o.d -o src/addonloader/CMakeFiles/luaaddonloader.dir/luastate.cpp.o -c /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.cpp In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.cpp:7: In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:22: /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luafunc.h:1:22: error: expected a class name after '~' to name a destructor 1 | FOREACH_LUA_FUNCTION(luaL_openlibs) | ^ /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:21:30: note: expanded from macro 'FOREACH_LUA_FUNCTION' 21 | #define FOREACH_LUA_FUNCTION DEFINE_LUA_API_FUNCTION | ^ In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.cpp:7: In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:22: /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luafunc.h:1:22: error: expected parameter declarator /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:21:30: note: expanded from macro 'FOREACH_LUA_FUNCTION' 21 | #define FOREACH_LUA_FUNCTION DEFINE_LUA_API_FUNCTION | ^ In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.cpp:7: In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:22: /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luafunc.h:1:22: error: expected ')' /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:21:30: note: expanded from macro 'FOREACH_LUA_FUNCTION' 21 | #define FOREACH_LUA_FUNCTION DEFINE_LUA_API_FUNCTION | ^ /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luafunc.h:1:22: note: to match this '(' /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:21:30: note: expanded from macro 'FOREACH_LUA_FUNCTION' 21 | #define FOREACH_LUA_FUNCTION DEFINE_LUA_API_FUNCTION | ^ In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.cpp:7: In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:34: /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luafunc.h:1:22: error: no member named 'luaL_openlibs' in the global namespace 1 | FOREACH_LUA_FUNCTION(luaL_openlibs) | ^~~~~~~~~~~~~ /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:33:30: note: expanded from macro 'FOREACH_LUA_FUNCTION' 33 | #define FOREACH_LUA_FUNCTION DECLARE_LUA_FUNCTION_PTR | ^ In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.cpp:7: In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:22: /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luafunc.h:1:1: error: use of undeclared identifier 'ArgType' 1 | FOREACH_LUA_FUNCTION(luaL_openlibs) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:21:30: note: expanded from macro 'FOREACH_LUA_FUNCTION' 21 | #define FOREACH_LUA_FUNCTION DEFINE_LUA_API_FUNCTION | ^ /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate_details.h:56:31: note: expanded from macro 'DEFINE_LUA_API_FUNCTION' 56 | return _##NAME##_impl( \ | ^~~~~~~ In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.cpp:7: In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:41: /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luafunc.h:1:1: error: too many arguments provided to function-like macro invocation 1 | FOREACH_LUA_FUNCTION(luaL_openlibs) | ^ /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:40:30: note: expanded from macro 'FOREACH_LUA_FUNCTION' 40 | #define FOREACH_LUA_FUNCTION DEFINE_BRIDGE_LUA_API_FUNCTION | ^ /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate_details.h:65:38: note: expanded from macro 'DEFINE_BRIDGE_LUA_API_FUNCTION' 65 | auto NAME(const StatePtr &state, Args &&...args) { \ | ^ /usr/local/include/lua-5.5/lualib.h:62:9: note: macro 'luaL_openlibs' defined here 62 | #define luaL_openlibs(L) luaL_openselectedlibs(L, ~0, 0) | ^ In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.cpp:7: In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:41: /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luafunc.h:1:1: error: expected expression 1 | FOREACH_LUA_FUNCTION(luaL_openlibs) | ^ /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:40:30: note: expanded from macro 'FOREACH_LUA_FUNCTION' 40 | #define FOREACH_LUA_FUNCTION DEFINE_BRIDGE_LUA_API_FUNCTION | ^ /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate_details.h:66:9: note: expanded from macro 'DEFINE_BRIDGE_LUA_API_FUNCTION' 66 | return state->NAME(std::forward(args)...); \ | ^ In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.cpp:7: In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:41: /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luafunc.h:1:36: error: expected ';' after top level declarator 1 | FOREACH_LUA_FUNCTION(luaL_openlibs) | ^ | ; In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.cpp:29: /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luafunc.h:1:22: error: no member named 'luaL_openlibs' in the global namespace 1 | FOREACH_LUA_FUNCTION(luaL_openlibs) | ^~~~~~~~~~~~~ In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.cpp:7: In file included from /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:34: /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luafunc.h:1:1: warning: private field 'luaL_openlibs_' is not used [-Wunused-private-field] 1 | FOREACH_LUA_FUNCTION(luaL_openlibs) | ^ /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate.h:33:30: note: expanded from macro 'FOREACH_LUA_FUNCTION' 33 | #define FOREACH_LUA_FUNCTION DECLARE_LUA_FUNCTION_PTR | ^ /usr/obj/ports/fcitx-lua-5.0.13/fcitx5-lua-5.0.13/src/addonloader/luastate_details.h:61:58: note: expanded from macro 'DECLARE_LUA_FUNCTION_PTR' 61 | #define DECLARE_LUA_FUNCTION_PTR(NAME) decltype(&::NAME) NAME##_ = nullptr; | ^ :197:1: note: expanded from here 197 | luaL_openlibs_ | ^ 1 warning and 9 errors generated. ninja: build stopped: subcommand failed. *** Error 1 in inputmethods/fcitx-lua (/usr/ports/devel/cmake/cmake.port.mk:40 'do-build': @cd /usr/obj/ports/fcitx-lua-5.0.13/build-powerpc...) *** Error 2 in inputmethods/fcitx-lua (/usr/ports/infrastructure/mk/bsd.port.mk:3084 '/usr/obj/ports/fcitx-lua-5.0.13/build-powerpc64/.build_done') *** Error 2 in inputmethods/fcitx-lua (/usr/ports/infrastructure/mk/bsd.port.mk:2723 'build': @lock=fcitx-lua-5.0.13p1; export _LOCKS_HELD=...) ===> Exiting inputmethods/fcitx-lua with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1790904272.66 max_stuck=0.00/waiting-for-lock #908=10.92/depends=5.95/show-prepare-results=5.95/build=16.69 Error: job failed with 512 on localhost at 1790904272