+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=51 WRKLOG=/tmp/bulklog/lua51-language-server-3.6.9/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=51 WRKLOG=/tmp/bulklog/lua51-language-server-3.6.9/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for lua51-language-server-3.6.9 => Patching paths in lua-language-server wrapper script ninja -C /home/pbulk/build/devel/lua-language-server/work/lua-language-server-3.6.9/3rd/luamake -f compile/ninja/netbsd.ninja ninja: Entering directory `/home/pbulk/build/devel/lua-language-server/work/lua-language-server-3.6.9/3rd/luamake' [1/30] Compile C++ build/netbsd/obj/source_bee/simplethread_posix.obj FAILED: build/netbsd/obj/source_bee/simplethread_posix.obj gcc -MMD -MT build/netbsd/obj/source_bee/simplethread_posix.obj -MF build/netbsd/obj/source_bee/simplethread_posix.obj.d -std=c++17 -fno-rtti -O2 -Wall -Werror -fvisibility=hidden -I3rd/bee.lua -isystem /usr/pkg/include -DNDEBUG -o build/netbsd/obj/source_bee/simplethread_posix.obj -c 3rd/bee.lua/bee/thread/simplethread_posix.cpp 3rd/bee.lua/bee/thread/simplethread_posix.cpp: In function 'void* bee::thread_create(thread_func, void*)': 3rd/bee.lua/bee/thread/simplethread_posix.cpp:29:16: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 29 | return (thread_handle)id; | ^~~~~~~~~~~~~~~~~ 3rd/bee.lua/bee/thread/simplethread_posix.cpp: In function 'void bee::thread_wait(thread_handle)': 3rd/bee.lua/bee/thread/simplethread_posix.cpp:33:25: error: cast from 'bee::thread_handle' {aka 'void*'} to 'pthread_t' {aka 'unsigned int'} loses precision [-fpermissive] 33 | pthread_t pid = (pthread_t)handle; | ^~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors [2/30] Compile C build/netbsd/obj/source_lua/utf8_crt.obj [3/30] Compile C build/netbsd/obj/source_lua/linit.obj [4/30] Compile C build/netbsd/obj/source_bee/lua-seri.obj [5/30] Compile C++ build/netbsd/obj/source_bee/error.obj [6/30] Compile C++ build/netbsd/obj/source_bee/socket.obj [7/30] Compile C++ build/netbsd/obj/source_bee/lua_serialization.obj [8/30] Compile C++ build/netbsd/obj/source_bee/lua_platform.obj [9/30] Compile C++ build/netbsd/obj/source_bee/lua_socket.obj FAILED: build/netbsd/obj/source_bee/lua_socket.obj gcc -MMD -MT build/netbsd/obj/source_bee/lua_socket.obj -MF build/netbsd/obj/source_bee/lua_socket.obj.d -std=c++17 -fno-rtti -O2 -Wall -Werror -fvisibility=hidden -I3rd/bee.lua/3rd/lua-seri -I3rd/bee.lua -Itools/lua54 -DBEE_STATIC -DNDEBUG -o build/netbsd/obj/source_bee/lua_socket.obj -c 3rd/bee.lua/binding/lua_socket.cpp In file included from /usr/include/sys/types.h:662, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from /opt/tools/gcc12/include/c++/12.2.0/cstdlib:75, from /opt/tools/gcc12/include/c++/12.2.0/ext/string_conversions.h:41, from /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:3960, from /opt/tools/gcc12/include/c++/12.2.0/string:53, from 3rd/bee.lua/bee/lua/binding.h:5, from 3rd/bee.lua/binding/lua_socket.cpp:1: 3rd/bee.lua/binding/lua_socket.cpp: In function 'int bee::lua_socket::select(lua_State*)': 3rd/bee.lua/binding/lua_socket.cpp:472:13: error: 'memset' was not declared in this scope 472 | FD_ZERO(&readfds); | ^~~~~~~ 3rd/bee.lua/binding/lua_socket.cpp:13:1: note: 'memset' is defined in header ''; did you forget to '#include '? 12 | #include +++ |+#include 13 | [10/30] Compile C++ build/netbsd/obj/source_bootstrap/main.obj [11/30] Compile C++ build/netbsd/obj/source_bee/file_handle_posix.obj [12/30] Compile C++ build/netbsd/obj/source_bee/lua_time.obj [13/30] Compile C++ build/netbsd/obj/source_bee/os.obj [14/30] Compile C++ build/netbsd/obj/source_bee/file_handle.obj [15/30] Compile C++ build/netbsd/obj/source_bee/filewatch_bsd.obj FAILED: build/netbsd/obj/source_bee/filewatch_bsd.obj gcc -MMD -MT build/netbsd/obj/source_bee/filewatch_bsd.obj -MF build/netbsd/obj/source_bee/filewatch_bsd.obj.d -std=c++17 -fno-rtti -O2 -Wall -Werror -fvisibility=hidden -I3rd/bee.lua -isystem /usr/pkg/include -DNDEBUG -o build/netbsd/obj/source_bee/filewatch_bsd.obj -c 3rd/bee.lua/bee/filewatch/filewatch_bsd.cpp In file included from 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:1, from 3rd/bee.lua/bee/filewatch/filewatch_bsd.cpp:1: 3rd/bee.lua/bee/filewatch/filewatch.h:16:5: error: #error unsupport platform 16 | # error unsupport platform | ^~~~~ 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp: In constructor 'bee::filewatch::watch::watch()': 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:14:11: error: class 'bee::filewatch::watch' does not have any field named 'm_fd_path' 14 | , m_fd_path() | ^~~~~~~~~ 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:15:11: error: class 'bee::filewatch::watch' does not have any field named 'm_inotify_fd' 15 | , m_inotify_fd(inotify_init1(IN_NONBLOCK | IN_CLOEXEC)) | ^~~~~~~~~~~~ 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp: In member function 'void bee::filewatch::watch::stop()': 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:25:13: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 25 | if (m_inotify_fd == -1) { | ^~~~~~~~~~~~ | m_notify 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:28:32: error: 'm_fd_path' was not declared in this scope 28 | for (auto& [desc, _] : m_fd_path) { | ^~~~~~~~~ 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:30:30: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 30 | inotify_rm_watch(m_inotify_fd, desc); | ^~~~~~~~~~~~ | m_notify 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:32:9: error: 'm_fd_path' was not declared in this scope 32 | m_fd_path.clear(); | ^~~~~~~~~ 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:33:15: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 33 | close(m_inotify_fd); | ^~~~~~~~~~~~ | m_notify 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp: In member function 'void bee::filewatch::watch::add(const string_type&)': 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:38:13: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 38 | if (m_inotify_fd == -1) { | ^~~~~~~~~~~~ | m_notify 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:41:38: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 41 | int desc = inotify_add_watch(m_inotify_fd, path.c_str(), IN_ALL_EVENTS); | ^~~~~~~~~~~~ | m_notify 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:43:13: error: 'm_fd_path' was not declared in this scope 43 | m_fd_path.emplace(std::make_pair(desc, path)); | ^~~~~~~~~ 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp: In member function 'void bee::filewatch::watch::update()': 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:66:13: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 66 | if (m_inotify_fd == -1) { | ^~~~~~~~~~~~ | m_notify In file included from /usr/include/sys/types.h:662, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from /opt/tools/gcc12/include/c++/12.2.0/cstdlib:75, from /opt/tools/gcc12/include/c++/12.2.0/ext/string_conversions.h:41, from /opt/tools/gcc12/include/c++/12.2.0/bits/basic_string.h:3960, from /opt/tools/gcc12/include/c++/12.2.0/string:53, from 3rd/bee.lua/bee/filewatch/filewatch.h:5: 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:70:9: error: 'memset' was not declared in this scope 70 | FD_ZERO(&set); | ^~~~~~~ 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:10:1: note: 'memset' is defined in header ''; did you forget to '#include '? 9 | #include +++ |+#include 10 | 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:71:16: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 71 | FD_SET(m_inotify_fd, &set); | ^~~~~~~~~~~~ 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:84:13: error: 'event_update' was not declared in this scope 84 | event_update(event); | ^~~~~~~~~~~~ 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp: At global scope: 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:89:10: error: no declaration matches 'void bee::filewatch::watch::event_update(void*)' 89 | void watch::event_update(void* e) { | ^~~~~ 3rd/bee.lua/bee/filewatch/filewatch_linux.cpp:89:10: note: no functions named 'void bee::filewatch::watch::event_update(void*)' 3rd/bee.lua/bee/filewatch/filewatch.h:35:11: note: 'class bee::filewatch::watch' defined here 35 | class watch { | ^~~~~ [16/30] Compile C++ build/netbsd/obj/source_bootstrap/progdir.obj [17/30] Compile C++ build/netbsd/obj/source_bee/lua_filewatch.obj FAILED: build/netbsd/obj/source_bee/lua_filewatch.obj gcc -MMD -MT build/netbsd/obj/source_bee/lua_filewatch.obj -MF build/netbsd/obj/source_bee/lua_filewatch.obj.d -std=c++17 -fno-rtti -O2 -Wall -Werror -fvisibility=hidden -I3rd/bee.lua/3rd/lua-seri -I3rd/bee.lua -Itools/lua54 -DBEE_STATIC -DNDEBUG -o build/netbsd/obj/source_bee/lua_filewatch.obj -c 3rd/bee.lua/binding/lua_filewatch.cpp In file included from 3rd/bee.lua/bee/filewatch.h:3, from 3rd/bee.lua/binding/lua_filewatch.cpp:2: 3rd/bee.lua/bee/filewatch/filewatch.h:16:5: error: #error unsupport platform 16 | # error unsupport platform | ^~~~~ [18/30] Compile C++ build/netbsd/obj/source_bee/endpoint.obj [19/30] Compile C++ build/netbsd/obj/source_bee/path_helper.obj [20/30] Compile C++ build/netbsd/obj/source_bee/file_handle_bsd.obj [21/30] Compile C++ build/netbsd/obj/source_bee/lua_subprocess.obj [22/30] Compile C++ build/netbsd/obj/source_bee/subprocess_posix.obj [23/30] Compile C++ build/netbsd/obj/source_bee/lua_filesystem.obj [24/30] Compile C++ build/netbsd/obj/source_bee/lua_thread.obj [25/30] Compile C++ build/netbsd/obj/source_bee/format.obj [26/30] Compile C build/netbsd/obj/source_lua/onelua.obj ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/lua-language-server *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/lua-language-server