+ 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/assaultcube-1.3.0.2nb6/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/assaultcube-1.3.0.2nb6/work.log
===> Building for assaultcube-1.3.0.2nb6
cd ../enet; ./configure --enable-shared=no --enable-static=yes
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/SDL2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -Wall -fsigned-char -I. -Ibot -I../enet/include -I/usr/include `sdl2-config --cflags` -idirafter ../include -x c++-header -o cube.h.gch.tmp cube.h
g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/SDL2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -Wall -fsigned-char -DSTANDALONE -I. -Ibot -I../enet/include -c -o crypto-standalone.o crypto.cpp
checking for a BSD-compatible install... /home/pbulk/build/games/assaultcube/work/.tools/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... 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... In file included from cube.h:85:
protos.h:394:101: error: 'void quad(GLuint, float, float, float, float, float, float, float)' redeclared as different kind of entity
  394 | extern void quad(GLuint tex, float x, float y, float s, float tx, float ty, float tsx, float tsy = 0);
      |                                                                                                     ^
In file included from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:45,
                 from /opt/local/gcc13/include/c++/13.3.0/cstdlib:79,
                 from /opt/local/gcc13/include/c++/13.3.0/stdlib.h:36,
                 from platform.h:8,
                 from cube.h:4:
/usr/include/sys/types.h:633:25: note: previous declaration 'typedef quad_t quad'
  633 | typedef quad_t          quad;                   /* used by UFS */
      |                         ^~~~
protos.h:395:88: error: 'void quad(GLuint, vec&, vec&, float, float, float, float)' redeclared as different kind of entity
  395 | extern void quad(GLuint tex, vec &c1, vec &c2, float tx, float ty, float tsx, float tsy);
      |                                                                                        ^
/usr/include/sys/types.h:633:25: note: previous declaration 'typedef quad_t quad'
  633 | typedef quad_t          quad;                   /* used by UFS */
      |                         ^~~~
no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/SDL2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -Wall -fsigned-char -DSTANDALONE -I. -Ibot -I../enet/include -c -o log-standalone.o log.cpp
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking build system type... x86_64-pc-solaris2.11
checking host system type... x86_64-pc-solaris2.11
checking how to print strings... print -r
checking for a sed that does not truncate output... g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/SDL2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -Wall -fsigned-char -DSTANDALONE -I. -Ibot -I../enet/include -c -o protocol-standalone.o protocol.cpp
/home/pbulk/build/games/assaultcube/work/.tools/bin/sed
checking for grep that handles long lines and -e... /home/pbulk/build/games/assaultcube/work/.tools/bin/grep
checking for egrep... /home/pbulk/build/games/assaultcube/work/.tools/bin/grep -E
checking for fgrep... /home/pbulk/build/games/assaultcube/work/.tools/bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B
checking the name lister (/opt/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-solaris2.11 file names to x86_64-pc-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-pc-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /opt/local/bin/nm -B output from gcc object... gmake: *** [Makefile:152: cube.h.gch] Error 1
gmake: *** Waiting for unfinished jobs....
ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
checking for ANSI C header files... protocol.cpp: In function 'int gmode_parse(const char*)':
protocol.cpp:532:12: warning: 'void operator delete(void*, size_t)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  532 |     delete buf;
      |            ^~~
In file included from cube.h:5,
                 from protocol.cpp:3:
In function 'char* newstring(size_t)',
    inlined from 'char* newstring(const char*)' at tools.h:803:92,
    inlined from 'int gmode_parse(const char*)' at protocol.cpp:526:26:
tools.h:801:70: note: returned from 'void* operator new [](size_t)'
  801 | inline char *newstring(size_t l)                { return new char[l+1]; }
      |                                                                      ^
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gethostbyaddr_r... no
checking for gethostbyname_r... no
checking for poll... yes
checking for fcntl... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for struct msghdr.msg_flags... no
checking for socklen_t... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libenet.pc
config.status: executing depfiles commands
config.status: executing libtool commands
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/assaultcube
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/assaultcube