+ 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=52 WRKLOG=/tmp/bulklog/lua52-language-server-3.6.18/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=52 WRKLOG=/tmp/bulklog/lua52-language-server-3.6.18/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for lua52-language-server-3.6.18 => Patching paths in lua-language-server wrapper script ninja -C /home/pbulk/build/devel/lua-language-server/work/lua-language-server-3.6.18/3rd/luamake -f compile/ninja/netbsd.ninja ninja: Entering directory `/home/pbulk/build/devel/lua-language-server/work/lua-language-server-3.6.18/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 -Ibee.lua -isystem /opt/pkg/include -DNDEBUG -o build/netbsd/obj/source_bee/simplethread_posix.obj -c bee.lua/bee/thread/simplethread_posix.cpp bee.lua/bee/thread/simplethread_posix.cpp: In function 'void* bee::thread_create(thread_func, void*)': bee.lua/bee/thread/simplethread_posix.cpp:32:16: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 32 | return (thread_handle)id; | ^~~~~~~~~~~~~~~~~ bee.lua/bee/thread/simplethread_posix.cpp: In function 'void bee::thread_wait(thread_handle)': bee.lua/bee/thread/simplethread_posix.cpp:36:25: error: cast from 'bee::thread_handle' {aka 'void*'} to 'pthread_t' {aka 'unsigned int'} loses precision [-fpermissive] 36 | 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/error.obj [5/30] Compile C++ build/netbsd/obj/source_bee/version.obj [6/30] Compile C build/netbsd/obj/source_bee/lua-seri.obj [7/30] Compile C++ build/netbsd/obj/source_bee/endpoint.obj FAILED: build/netbsd/obj/source_bee/endpoint.obj gcc -MMD -MT build/netbsd/obj/source_bee/endpoint.obj -MF build/netbsd/obj/source_bee/endpoint.obj.d -std=c++17 -fno-rtti -O2 -Wall -Werror -fvisibility=hidden -Ibee.lua -isystem /opt/pkg/include -DNDEBUG -o build/netbsd/obj/source_bee/endpoint.obj -c bee.lua/bee/net/endpoint.cpp bee.lua/bee/net/endpoint.cpp: In static member function 'static bee::net::endpoint bee::net::endpoint::from_unixpath(const std::string_view&)': bee.lua/bee/net/endpoint.cpp:91:9: error: 'memcpy' was not declared in this scope 91 | memcpy(&su->sun_path[0], path.data(), path.size()); | ^~~~~~ bee.lua/bee/net/endpoint.cpp:19:1: note: 'memcpy' is defined in header ''; did you forget to '#include '? 18 | #include +++ |+#include 19 | bee.lua/bee/net/endpoint.cpp: In static member function 'static bee::net::endpoint bee::net::endpoint::from_hostname(const std::string_view&, uint16_t)': bee.lua/bee/net/endpoint.cpp:137:9: error: 'memcpy' was not declared in this scope 137 | memcpy(ep.addr(), addrinfo.ai_addr, ep.addrlen()); | ^~~~~~ bee.lua/bee/net/endpoint.cpp:137:9: note: 'memcpy' is defined in header ''; did you forget to '#include '? [8/30] Compile C++ build/netbsd/obj/source_bee/socket.obj [9/30] Compile C++ build/netbsd/obj/source_bee/file_handle.obj [10/30] Compile C++ build/netbsd/obj/source_bee/lua_platform.obj [11/30] Compile C++ build/netbsd/obj/source_bootstrap/main.obj [12/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 -Ibee.lua/3rd/lua-seri -Ibee.lua -Itools/lua54 -DBEE_STATIC -DNDEBUG -o build/netbsd/obj/source_bee/lua_socket.obj -c 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 bee.lua/binding/binding.h:5, from bee.lua/binding/lua_socket.cpp:1: bee.lua/binding/lua_socket.cpp: In member function 'void bee::lua_socket::select_wrap::reset()': bee.lua/binding/lua_socket.cpp:379:24: error: 'memset' was not declared in this scope 379 | void reset() { FD_ZERO(&readfds); FD_ZERO(&writefds); maxfd = 0; } | ^~~~~~~ bee.lua/binding/lua_socket.cpp:12:1: note: 'memset' is defined in header ''; did you forget to '#include '? 11 | #include +++ |+#include 12 | [13/30] Compile C++ build/netbsd/obj/source_bee/lua_time.obj [14/30] Compile C++ build/netbsd/obj/source_bee/lua_serialization.obj [15/30] Compile C++ build/netbsd/obj/source_bee/file_handle_posix.obj [16/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 -Ibee.lua/3rd/lua-seri -Ibee.lua -Itools/lua54 -DBEE_STATIC -DNDEBUG -o build/netbsd/obj/source_bee/lua_filewatch.obj -c bee.lua/binding/lua_filewatch.cpp In file included from bee.lua/bee/filewatch.h:3, from bee.lua/binding/lua_filewatch.cpp:2: bee.lua/bee/filewatch/filewatch.h:17:5: error: #error unsupport platform 17 | # error unsupport platform | ^~~~~ [17/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 -Ibee.lua -isystem /opt/pkg/include -DNDEBUG -o build/netbsd/obj/source_bee/filewatch_bsd.obj -c bee.lua/bee/filewatch/filewatch_bsd.cpp In file included from bee.lua/bee/filewatch/filewatch_linux.cpp:1, from bee.lua/bee/filewatch/filewatch_bsd.cpp:1: bee.lua/bee/filewatch/filewatch.h:17:5: error: #error unsupport platform 17 | # error unsupport platform | ^~~~~ bee.lua/bee/filewatch/filewatch_linux.cpp: In constructor 'bee::filewatch::watch::watch()': bee.lua/bee/filewatch/filewatch_linux.cpp:18:11: error: class 'bee::filewatch::watch' does not have any field named 'm_fd_path' 18 | , m_fd_path() | ^~~~~~~~~ bee.lua/bee/filewatch/filewatch_linux.cpp:19:11: error: class 'bee::filewatch::watch' does not have any field named 'm_inotify_fd' 19 | , m_inotify_fd(inotify_init1(IN_NONBLOCK | IN_CLOEXEC)) | ^~~~~~~~~~~~ bee.lua/bee/filewatch/filewatch_linux.cpp: In member function 'void bee::filewatch::watch::stop()': bee.lua/bee/filewatch/filewatch_linux.cpp:29:13: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 29 | if (m_inotify_fd == -1) { | ^~~~~~~~~~~~ | m_notify bee.lua/bee/filewatch/filewatch_linux.cpp:32:32: error: 'm_fd_path' was not declared in this scope 32 | for (auto& [desc, _] : m_fd_path) { | ^~~~~~~~~ bee.lua/bee/filewatch/filewatch_linux.cpp:34:30: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 34 | inotify_rm_watch(m_inotify_fd, desc); | ^~~~~~~~~~~~ | m_notify bee.lua/bee/filewatch/filewatch_linux.cpp:36:9: error: 'm_fd_path' was not declared in this scope 36 | m_fd_path.clear(); | ^~~~~~~~~ bee.lua/bee/filewatch/filewatch_linux.cpp:37:15: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 37 | close(m_inotify_fd); | ^~~~~~~~~~~~ | m_notify bee.lua/bee/filewatch/filewatch_linux.cpp: In member function 'void bee::filewatch::watch::add(const string_type&)': bee.lua/bee/filewatch/filewatch_linux.cpp:42:13: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 42 | if (m_inotify_fd == -1) { | ^~~~~~~~~~~~ | m_notify bee.lua/bee/filewatch/filewatch_linux.cpp:45:14: error: 'm_filter' was not declared in this scope; did you mean 'filter'? 45 | if (!m_filter(str.c_str())) { | ^~~~~~~~ | filter bee.lua/bee/filewatch/filewatch_linux.cpp:49:13: error: 'm_follow_symlinks' was not declared in this scope; did you mean 'set_follow_symlinks'? 49 | if (m_follow_symlinks) { | ^~~~~~~~~~~~~~~~~ | set_follow_symlinks bee.lua/bee/filewatch/filewatch_linux.cpp:56:38: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 56 | int desc = inotify_add_watch(m_inotify_fd, path.c_str(), IN_ALL_EVENTS); | ^~~~~~~~~~~~ | m_notify bee.lua/bee/filewatch/filewatch_linux.cpp:58:42: error: 'm_fd_path' was not declared in this scope 58 | const auto &emplace_result = m_fd_path.emplace(std::make_pair(desc, path.string())); | ^~~~~~~~~ bee.lua/bee/filewatch/filewatch_linux.cpp:72:34: error: 'm_follow_symlinks' was not declared in this scope; did you mean 'set_follow_symlinks'? 72 | if (fs::is_directory(m_follow_symlinks? iter->status(file_status_ec): iter->symlink_status(file_status_ec))) { | ^~~~~~~~~~~~~~~~~ | set_follow_symlinks bee.lua/bee/filewatch/filewatch_linux.cpp: In member function 'bool bee::filewatch::watch::set_follow_symlinks(bool)': bee.lua/bee/filewatch/filewatch_linux.cpp:83:9: error: 'm_follow_symlinks' was not declared in this scope; did you mean 'set_follow_symlinks'? 83 | m_follow_symlinks = enable; | ^~~~~~~~~~~~~~~~~ | set_follow_symlinks bee.lua/bee/filewatch/filewatch_linux.cpp: In member function 'bool bee::filewatch::watch::set_filter(filter)': bee.lua/bee/filewatch/filewatch_linux.cpp:88:9: error: 'm_filter' was not declared in this scope; did you mean 'filter'? 88 | m_filter = f; | ^~~~~~~~ | filter bee.lua/bee/filewatch/filewatch_linux.cpp: In member function 'void bee::filewatch::watch::update()': bee.lua/bee/filewatch/filewatch_linux.cpp:93:13: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 93 | if (m_inotify_fd == -1) { | ^~~~~~~~~~~~ | m_notify bee.lua/bee/filewatch/filewatch_linux.cpp:98:23: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 98 | pfd_read.fd = m_inotify_fd; | ^~~~~~~~~~~~ | m_notify bee.lua/bee/filewatch/filewatch_linux.cpp:111:13: error: 'event_update' was not declared in this scope 111 | event_update(event); | ^~~~~~~~~~~~ bee.lua/bee/filewatch/filewatch_linux.cpp: At global scope: bee.lua/bee/filewatch/filewatch_linux.cpp:116:10: error: no declaration matches 'void bee::filewatch::watch::event_update(void*)' 116 | void watch::event_update(void* e) { | ^~~~~ bee.lua/bee/filewatch/filewatch_linux.cpp:116:10: note: no functions named 'void bee::filewatch::watch::event_update(void*)' bee.lua/bee/filewatch/filewatch.h:43:11: note: 'class bee::filewatch::watch' defined here 43 | class watch { | ^~~~~ [18/30] Compile C++ build/netbsd/obj/source_bootstrap/progdir.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