+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/flycast-2.2nb6/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/flycast-2.2nb6/work.log WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead. ===> Building for flycast-2.2nb6 [ 0%] Building C object core/deps/libchdr/deps/lzma-22.01/CMakeFiles/lzma.dir/src/Alloc.c.o [ 0%] Building C object core/deps/xxHash/cmake_unofficial/CMakeFiles/xxhash.dir/__/xxhash.c.o [ 0%] Creating directories for 'breakpad' [ 0%] Building C object core/deps/libchdr/deps/lzma-22.01/CMakeFiles/lzma.dir/src/Bra86.c.o [ 1%] No download step for 'breakpad' [ 2%] Building C object core/deps/libchdr/deps/lzma-22.01/CMakeFiles/lzma.dir/src/BraIA64.c.o [ 2%] No update step for 'breakpad' [ 3%] No patch step for 'breakpad' [ 3%] Building C object core/deps/libchdr/deps/lzma-22.01/CMakeFiles/lzma.dir/src/CpuArch.c.o [ 3%] Performing configure step for 'breakpad' [ 3%] Building C object core/deps/libchdr/deps/lzma-22.01/CMakeFiles/lzma.dir/src/Delta.c.o [ 3%] Building C object core/deps/libchdr/deps/lzma-22.01/CMakeFiles/lzma.dir/src/LzFind.c.o checking build system type... x86_64-pc-solaris2.11 checking host system type... i386-pc-linux-gnu checking for a BSD-compatible install... /home/pbulk/build/emulators/flycast/work/.tools/bin/install -c checking whether build environment is sane... yes checking for i386-linux-gnu-strip... no checking for strip... strip checking for a race-free mkdir -p... /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/autotools/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '500' is supported by ustar format... yes checking whether GID '500' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for i386-linux-gnu-gcc... /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc accepts -g... yes [ 4%] Linking C static library libxxhash.a checking for /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc option to enable C11 features... none needed [ 4%] Built target xxhash checking whether /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc understands -c and -o together... yes [ 4%] Building CXX object core/deps/nowide/CMakeFiles/nowide.dir/src/console_buffer.cpp.o checking dependency style of /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc... gcc3 checking for i386-linux-gnu-ar... /opt/local/bin/ar checking the archiver (/opt/local/bin/ar) interface... ar [ 5%] Building C object core/deps/libchdr/deps/lzma-22.01/CMakeFiles/lzma.dir/src/Lzma86Dec.c.o checking dependency style of /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc... gcc3 checking for i386-linux-gnu-gcc... (cached) /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc [ 5%] Building C object core/deps/libchdr/deps/lzma-22.01/CMakeFiles/lzma.dir/src/LzmaDec.c.o checking whether the compiler supports GNU C... (cached) yes checking whether /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc accepts -g... (cached) yes checking for /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc option to enable C11 features... (cached) none needed checking whether /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc understands -c and -o together... (cached) yes checking dependency style of /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc... (cached) gcc3 checking how to run the C preprocessor... cpp checking whether the compiler supports GNU C++... yes checking whether /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/g++ accepts -g... yes checking for /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/g++ option to enable C++11 features... none needed [ 5%] Building CXX object core/deps/nowide/CMakeFiles/nowide.dir/src/cstdio.cpp.o checking dependency style of /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/g++... gcc3 checking for i386-linux-gnu-ranlib... no checking for ranlib... ranlib checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes [ 5%] Building C object core/deps/libchdr/deps/lzma-22.01/CMakeFiles/lzma.dir/src/LzmaEnc.c.o checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes [ 6%] Building CXX object core/deps/nowide/CMakeFiles/nowide.dir/src/cstdlib.cpp.o [ 6%] Building CXX object core/deps/nowide/CMakeFiles/nowide.dir/src/filebuf.cpp.o checking for grep that handles long lines and -e... /home/pbulk/build/emulators/flycast/work/.tools/bin/grep checking for egrep... /home/pbulk/build/emulators/flycast/work/.tools/bin/grep -E checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for pthread_join in LIBS=-lpthread -lrt with CFLAGS= -pthread ... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for a.out.h... no checking for sys/mman.h... yes checking for sys/random.h... yes checking for arc4random... yes checking for getcontext... yes [ 6%] Building CXX object core/deps/nowide/CMakeFiles/nowide.dir/src/iostream.cpp.o checking for getrandom... yes checking for memfd_create... no checking whether /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/g++ supports C++11 features by default... yes checking for strtok_r... yes checking whether C++ compiler accepts -Werror=unknown-warning-option... no [ 7%] Building C object core/deps/libchdr/deps/lzma-22.01/CMakeFiles/lzma.dir/src/Sort.c.o checking whether C++ compiler accepts -Wmissing-braces... yes checking whether C++ compiler accepts -Wnon-virtual-dtor... yes checking whether C++ compiler accepts -Woverloaded-virtual... yes [ 8%] Building CXX object core/deps/nowide/CMakeFiles/nowide.dir/src/stat.cpp.o [ 8%] Linking C static library liblzma.a checking whether C++ compiler accepts -Wreorder... yes [ 8%] Linking CXX static library libnowide.a checking whether C++ compiler accepts -Wsign-compare... yes checking whether C++ compiler accepts -Wunused-local-typedefs... yes checking whether C++ compiler accepts -Wunused-variable... yes [ 8%] Built target lzma checking whether C++ compiler accepts -Wvla... yes [ 8%] Built target nowide checking for O_CLOEXEC defined in fcntl.h... yes [ 9%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/alienfnt.nvmem.zip [ 9%] Building C object core/deps/libelf/CMakeFiles/elf.dir/src/elf.c.o checking that generated files are newer than configure... done configure: creating ./config.status [ 10%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/dirtypig.nvmem.zip [ 10%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/dirtypig.nvmem2.zip config.status: creating breakpad.pc [ 11%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/f355.nvmem.zip config.status: creating breakpad-client.pc config.status: creating Makefile [ 12%] Building C object core/deps/libelf/CMakeFiles/elf.dir/src/elf32.c.o [ 12%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/f355twin.nvmem.zip [ 12%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/f355twn2.nvmem.zip [ 12%] Building C object core/deps/libelf/CMakeFiles/elf.dir/src/elf64.c.o [ 12%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/gunsur2.nvmem.zip [ 12%] Linking C static library libelf.a config.status: creating src/config.h [ 12%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/mazan.nvmem.zip config.status: executing depfiles commands [ 12%] Built target elf [ 13%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/otrigger.nvmem.zip [ 13%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/vf4.nvmem.zip [ 14%] Building C object core/deps/libchdr/CMakeFiles/chdr-static.dir/src/libchdr_bitstream.c.o [ 14%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/vf4evob.nvmem.zip [ 14%] Building C object core/deps/libchdr/CMakeFiles/chdr-static.dir/src/libchdr_cdrom.c.o [ 15%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/vf4tuned.nvmem.zip [ 15%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/wldkicks.nvmem.zip [ 15%] Building C object core/deps/libchdr/CMakeFiles/chdr-static.dir/src/libchdr_chd.c.o [ 15%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/wldkicksj.nvmem.zip [ 15%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/resources/flash/wldkicksu.nvmem.zip [ 15%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/fonts/biosfont.bin [ 16%] Building C object core/deps/libchdr/CMakeFiles/chdr-static.dir/src/libchdr_flac.c.o [ 16%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/fonts/printer_ascii12x24.bin [ 16%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/fonts/printer_ascii8x16.bin [ 17%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/fonts/printer_kanji16x16.bin [ 17%] Generating intermediate file for /home/pbulk/build/emulators/flycast/work/flycast-2.2/fonts/printer_kanji24x24.bin [ 17%] Generating flycast-resources resource loader [ 18%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/lib.cpp.o [ 18%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/alienfnt.nvmem.zip.cpp.o [ 18%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/gunsur2.nvmem.zip.cpp.o [ 18%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/mazan.nvmem.zip.cpp.o [ 19%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/otrigger.nvmem.zip.cpp.o [ 19%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/wldkicks.nvmem.zip.cpp.o [ 19%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/wldkicksj.nvmem.zip.cpp.o [ 19%] Building C object core/deps/libchdr/CMakeFiles/chdr-static.dir/src/libchdr_huffman.c.o [ 20%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/wldkicksu.nvmem.zip.cpp.o [ 20%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/f355.nvmem.zip.cpp.o [ 20%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/f355twin.nvmem.zip.cpp.o [ 20%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/f355twn2.nvmem.zip.cpp.o [ 20%] Linking C static library libchdr-static.a [ 21%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/dirtypig.nvmem.zip.cpp.o [ 21%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/dirtypig.nvmem2.zip.cpp.o [ 21%] Built target chdr-static [ 22%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/vf4evob.nvmem.zip.cpp.o [ 22%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/vf4.nvmem.zip.cpp.o [ 22%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/flash/vf4tuned.nvmem.zip.cpp.o [ 22%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/fonts/printer_ascii8x16.bin.cpp.o [ 22%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/fonts/printer_ascii12x24.bin.cpp.o [ 23%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/fonts/printer_kanji16x16.bin.cpp.o [ 23%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/fonts/printer_kanji24x24.bin.cpp.o [ 23%] Building CXX object CMakeFiles/flycast-resources.dir/__cmrc_flycast-resources/intermediate/fonts/biosfont.bin.cpp.o [ 23%] Performing build step for 'breakpad' [ 24%] Linking CXX static library libflycast-resources.a In file included from /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/minidump_writer/minidump_writer.h:42, from /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/handler/exception_handler.h:42, from /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/crash_generation/crash_generation_server.cc:46: /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/minidump_writer/linux_dumper.h:46:10: fatal error: linux/limits.h: No such file or directory 46 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. --- src/client/linux/crash_generation/crash_generation_server.o --- *** [src/client/linux/crash_generation/crash_generation_server.o] Error code 1 make[3]: stopped making "src/client/linux/libbreakpad_client.a" in /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/breakpad-build /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/crash_generation/crash_generation_client.cc: In member function 'virtual bool google_breakpad::{anonymous}::CrashGenerationClientImpl::RequestDump(const void*, std::size_t)': /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/crash_generation/crash_generation_client.cc:53:9: error: 'sys_pipe' was not declared in this scope 53 | if (sys_pipe(fds) < 0) | ^~~~~~~~ /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/crash_generation/crash_generation_client.cc:57:25: error: aggregate 'google_breakpad::{anonymous}::CrashGenerationClientImpl::RequestDump(const void*, std::size_t)::kernel_iovec iov' has incomplete type and cannot be defined 57 | struct kernel_iovec iov; | ^~~ /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/crash_generation/crash_generation_client.cc:61:26: error: variable 'google_breakpad::{anonymous}::CrashGenerationClientImpl::RequestDump(const void*, std::size_t)::kernel_msghdr msg' has initializer but incomplete type 61 | struct kernel_msghdr msg = { 0 }; | ^~~ In file included from /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/crash_generation/crash_generation_client.cc:38: /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/crash_generation/crash_generation_client.cc:75:32: error: 'sys_sendmsg' was not declared in this scope; did you mean 'sendmsg'? 75 | ssize_t ret = HANDLE_EINTR(sys_sendmsg(server_fd_, &msg, 0)); | ^~~~~~~~~~~ /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/common/linux/eintr_wrapper.h:40:14: note: in definition of macro 'HANDLE_EINTR' 40 | __typeof__(x) eintr_wrapper_result; \ | ^ /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/crash_generation/crash_generation_client.cc:76:5: error: 'sys_close' was not declared in this scope 76 | sys_close(fds[1]); | ^~~~~~~~~ In file included from /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/crash_generation/crash_generation_client.cc:39: /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/crash_generation/crash_generation_client.cc:84:29: error: 'sys_read' was not declared in this scope 84 | IGNORE_RET(HANDLE_EINTR(sys_read(fds[0], &b, 1))); | ^~~~~~~~ /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/common/linux/ignore_ret.h:38:32: note: in definition of macro 'IGNORE_RET' 38 | #define IGNORE_RET(x) do { if (x) {} } while (0) | ^ /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/client/linux/crash_generation/crash_generation_client.cc:84:16: note: in expansion of macro 'HANDLE_EINTR' 84 | IGNORE_RET(HANDLE_EINTR(sys_read(fds[0], &b, 1))); | ^~~~~~~~~~~~ --- src/client/linux/crash_generation/crash_generation_client.o --- *** [src/client/linux/crash_generation/crash_generation_client.o] Error code 1 make[3]: stopped making "src/client/linux/libbreakpad_client.a" in /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/breakpad-build make[3]: 2 errors make[3]: stopped making "src/client/linux/libbreakpad_client.a" in /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/breakpad-build --- core/deps/breakpad/src/breakpad-stamp/breakpad-build --- *** [core/deps/breakpad/src/breakpad-stamp/breakpad-build] Error code 2 bmake[2]: stopped making "core/deps/breakpad/CMakeFiles/breakpad.dir/build" in /home/pbulk/build/emulators/flycast/work/flycast-2.2 bmake[2]: 1 error bmake[2]: stopped making "core/deps/breakpad/CMakeFiles/breakpad.dir/build" in /home/pbulk/build/emulators/flycast/work/flycast-2.2 --- core/deps/breakpad/CMakeFiles/breakpad.dir/all --- *** [core/deps/breakpad/CMakeFiles/breakpad.dir/all] Error code 2 bmake[1]: stopped making "all" in /home/pbulk/build/emulators/flycast/work/flycast-2.2 --- CMakeFiles/flycast-resources.dir/all --- *** [CMakeFiles/flycast-resources.dir/all] Error code 6 bmake[1]: stopped making "all" in /home/pbulk/build/emulators/flycast/work/flycast-2.2 bmake[1]: 2 errors bmake[1]: stopped making "all" in /home/pbulk/build/emulators/flycast/work/flycast-2.2 *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/emulators/flycast/work/flycast-2.2 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/emulators/flycast/work/flycast-2.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/flycast *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/flycast