+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/flycast-2.2nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/flycast-2.2nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for flycast-2.2nb1
[  0%] Creating directories for 'breakpad'
[  1%] No download step for 'breakpad'
[  1%] No update step for 'breakpad'
[  2%] No patch step for 'breakpad'
[  2%] Performing configure step for 'breakpad'
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
checking for /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc option to enable C11 features... none needed
checking whether /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc understands -c and -o together... yes
checking dependency style of /home/pbulk/build/emulators/flycast/work/.cwrapper/bin/gcc... gcc3
checking for i386-linux-gnu-ar... /usr/bin/ar
checking the archiver (/usr/bin/ar) interface... ar
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
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
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
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
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
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
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
checking whether C++ compiler accepts -Wreorder... yes
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
checking whether C++ compiler accepts -Wvla... yes
checking for O_CLOEXEC defined in fcntl.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating breakpad.pc
config.status: creating breakpad-client.pc
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
[  2%] Performing build step for 'breakpad'
/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] Error code 1

make[3]: stopped in /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/breakpad-build
1 error

make[3]: stopped in /home/pbulk/build/emulators/flycast/work/flycast-2.2/core/deps/breakpad/src/breakpad-build
*** [core/deps/breakpad/src/breakpad-stamp/breakpad-build] Error code 2

bmake[2]: stopped in /home/pbulk/build/emulators/flycast/work/flycast-2.2
1 error

bmake[2]: stopped in /home/pbulk/build/emulators/flycast/work/flycast-2.2
*** [core/deps/breakpad/CMakeFiles/breakpad.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/emulators/flycast/work/flycast-2.2
1 error

bmake[1]: stopped in /home/pbulk/build/emulators/flycast/work/flycast-2.2
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/emulators/flycast/work/flycast-2.2
1 error

bmake: stopped in /home/pbulk/build/emulators/flycast/work/flycast-2.2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/emulators/flycast
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/emulators/flycast