+ 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.19/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.19/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for lua52-language-server-3.6.19 => Patching paths in lua-language-server wrapper script ninja -C /home/pbulk/build/devel/lua-language-server/work/lua-language-server-3.6.19/3rd/luamake -f compile/ninja/netbsd.ninja ninja: Entering directory `/home/pbulk/build/devel/lua-language-server/work/lua-language-server-3.6.19/3rd/luamake' [1/30] Compile C build/netbsd/obj/source_lua/utf8_crt.obj [2/30] Compile C build/netbsd/obj/source_lua/linit.obj [3/30] Compile C++ build/netbsd/obj/source_bee/simplethread_posix.obj FAILED: build/netbsd/obj/source_bee/simplethread_posix.obj clang -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: warning: cast to pointer from integer of different size [-Wint-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; | ^~~~~~~~~~~~~~~~~ [4/30] Compile C++ build/netbsd/obj/source_bee/version.obj [5/30] Compile C++ build/netbsd/obj/source_bee/error.obj [6/30] Compile C build/netbsd/obj/source_bee/lua-seri.obj [7/30] Compile C++ build/netbsd/obj/source_bootstrap/main.obj [8/30] Compile C++ build/netbsd/obj/source_bee/file_handle.obj [9/30] Compile C++ build/netbsd/obj/source_bee/lua_time.obj [10/30] Compile C++ build/netbsd/obj/source_bee/socket.obj [11/30] Compile C++ build/netbsd/obj/source_bee/endpoint.obj [12/30] Compile C++ build/netbsd/obj/source_bee/lua_platform.obj [13/30] Compile C++ build/netbsd/obj/source_bootstrap/progdir.obj [14/30] Compile C++ build/netbsd/obj/source_bee/file_handle_posix.obj [15/30] Compile C++ build/netbsd/obj/source_bee/lua_serialization.obj [16/30] Compile C++ build/netbsd/obj/source_bee/filewatch_bsd.obj FAILED: build/netbsd/obj/source_bee/filewatch_bsd.obj clang -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:2, from bee.lua/bee/filewatch/filewatch_bsd.cpp:1: bee.lua/bee/filewatch/filewatch.h:17:6: 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:19:11: error: class 'bee::filewatch::watch' does not have any field named 'm_fd_path' 19 | , m_fd_path() | ^~~~~~~~~ bee.lua/bee/filewatch/filewatch_linux.cpp:20:11: error: class 'bee::filewatch::watch' does not have any field named 'm_inotify_fd' 20 | , 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:71:34: error: 'm_follow_symlinks' was not declared in this scope; did you mean 'set_follow_symlinks'? 71 | 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:82:9: error: 'm_follow_symlinks' was not declared in this scope; did you mean 'set_follow_symlinks'? 82 | 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:87:9: error: 'm_filter' was not declared in this scope; did you mean 'filter'? 87 | 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:92:13: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 92 | if (m_inotify_fd == -1) { | ^~~~~~~~~~~~ | m_notify bee.lua/bee/filewatch/filewatch_linux.cpp:97:27: error: 'm_inotify_fd' was not declared in this scope; did you mean 'm_notify'? 97 | pfd_read.fd = m_inotify_fd; | ^~~~~~~~~~~~ | m_notify bee.lua/bee/filewatch/filewatch_linux.cpp:110:13: error: 'event_update' was not declared in this scope 110 | event_update(event); | ^~~~~~~~~~~~ bee.lua/bee/filewatch/filewatch_linux.cpp: At global scope: bee.lua/bee/filewatch/filewatch_linux.cpp:115:10: error: no declaration matches 'void bee::filewatch::watch::event_update(void*)' 115 | void watch::event_update(void* e) { | ^~~~~ bee.lua/bee/filewatch/filewatch_linux.cpp:115:10: note: no functions named 'void bee::filewatch::watch::event_update(void*)' bee.lua/bee/filewatch/filewatch.h:37:11: note: 'class bee::filewatch::watch' defined here 37 | class watch { | ^~~~~ [17/30] Compile C++ build/netbsd/obj/source_bee/path_helper.obj [18/30] Compile C++ build/netbsd/obj/source_bee/lua_filewatch.obj FAILED: build/netbsd/obj/source_bee/lua_filewatch.obj clang -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 -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:6: error: #error unsupport platform 17 | # error unsupport platform | ^~~~~ [19/30] Compile C++ build/netbsd/obj/source_bee/lua_socket.obj [20/30] Compile C++ build/netbsd/obj/source_bee/file_handle_bsd.obj FAILED: build/netbsd/obj/source_bee/file_handle_bsd.obj clang -MMD -MT build/netbsd/obj/source_bee/file_handle_bsd.obj -MF build/netbsd/obj/source_bee/file_handle_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/file_handle_bsd.obj -c bee.lua/bee/utility/file_handle_bsd.cpp bee.lua/bee/utility/file_handle_bsd.cpp: In static member function 'static bee::file_handle bee::file_handle::lock(const std::filesystem::__cxx11::path&)': bee.lua/bee/utility/file_handle_bsd.cpp:8:20: error: '::open' has not been declared; did you mean 'popen'? 8 | int fd = ::open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0644); | ^~~~ | popen bee.lua/bee/utility/file_handle_bsd.cpp:8:43: error: 'O_WRONLY' was not declared in this scope 8 | int fd = ::open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0644); | ^~~~~~~~ bee.lua/bee/utility/file_handle_bsd.cpp:8:54: error: 'O_CREAT' was not declared in this scope; did you mean 'FCREAT'? 8 | int fd = ::open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0644); | ^~~~~~~ | FCREAT bee.lua/bee/utility/file_handle_bsd.cpp:8:64: error: 'O_TRUNC' was not declared in this scope; did you mean 'FTRUNC'? 8 | int fd = ::open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0644); | ^~~~~~~ | FTRUNC [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