+ 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
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
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
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
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 we are using the GNU C compiler... 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... 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 */
      |                         ^~~~
/home/pbulk/build/games/assaultcube/work/.tools/bin/sed
checking for grep that handles long lines and -e... 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 serverms-standalone.o serverms.cpp
/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... 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]; }
      |                                                                      ^
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 server-standalone.o server.cpp
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... In file included from cube.h:5,
                 from serverms.cpp:3:
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void servermsinit(bool)' at serverms.cpp:331:45:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
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 stream-standalone.o stream.cpp
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... server.cpp: In function 'void loggamestatus(const char*)':
server.cpp:4414:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
 4414 |     mlog(ACLOG_INFO, "");
      |                      ^~
server.cpp:4462:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
 4462 |     mlog(ACLOG_INFO, "");
      |                      ^~
yes
checking for sys/types.h... yes
checking for sys/stat.h... In file included from cube.h:5,
                 from stream.cpp:1:
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'char* makerelpath(const char*, const char*, const char*, const char*)' at stream.cpp:18:26:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'char* path(const char*, bool)' at stream.cpp:88:15:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
yes
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void sethomedir(const char*)' at stream.cpp:179:15:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void addpackagedir(const char*)' at stream.cpp:217:15:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'bool listsubdir(const char*, vector<char*>&)' at stream.cpp:311:15:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
checking for stdlib.h... In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'bool listdir(const char*, const char*, vector<char*>&)' at stream.cpp:379:15:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
yes
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void backup(char*, char*)' at stream.cpp:493:15:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
gmake: *** [Makefile:152: cube.h.gch] Error 1
gmake: *** Waiting for unfinished jobs....
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... In file included from cube.h:5,
                 from server.cpp:4:
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'virtual void serverpasswords::read()' at serverfiles.h:1547:27:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
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... In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void serverconfigfile::init(const char*, bool)' at serverfiles.h:682:15:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
no
checking for gethostbyname_r... no
checking for poll... yes
checking for fcntl... In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void vita_s::addname(const char*)' at serverfiles.h:2011:15:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 16 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
yes
checking for inet_pton... In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'int parsevitas(char*, int)' at serverfiles.h:2082:27:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 259 [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
yes
checking for inet_ntop... yes
checking for struct msghdr.msg_flags... no
checking for socklen_t... In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void enddemorecord()' at server.cpp:1020:19:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
yes
configure: creating ./config.status
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'bool spamdetect(client*, char*)' at server.cpp:1724:20,
    inlined from 'bool spamdetect(client*, char*)' at server.cpp:1709:6:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void resetserver(const char*, int, int)' at server.cpp:2328:15:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'virtual void mapaction::perform()' at serveractions.h:52:23:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'virtual void mapaction::perform()' at serveractions.h:46:23,
    inlined from 'virtual void mapaction::perform()' at serveractions.h:41:10:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
config.status: creating Makefile
config.status: creating libenet.pc
config.status: executing depfiles commands
config.status: executing libtool commands
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void process(ENetPacket*, int, int)' at server.cpp:3196:23:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 16 bytes from a string of length 4999 [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void process(ENetPacket*, int, int)' at server.cpp:3198:23:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 260 bytes from a string of length 4999 [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void process(ENetPacket*, int, int)' at server.cpp:3575:27:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 16 bytes from a string of length 4999 [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 16 bytes from a string of length 4999 [-Wstringop-truncation]
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void process(ENetPacket*, int, int)' at server.cpp:4083:35:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 128 bytes from a string of length 4999 [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void process(ENetPacket*, int, int)' at server.cpp:4073:35:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 128 bytes from a string of length 4999 [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void serverslice(uint)' at server.cpp:4666:27:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 260 bytes from a string of length 1023 [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void serverslice(uint)' at server.cpp:4670:27:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
In function 'char* copystring(char*, const char*, size_t)',
    inlined from 'void serverpasswords::init(const char*, const char*)' at serverfiles.h:1520:23,
    inlined from 'void initserver(bool)' at server.cpp:4949:23:
tools.h:123:82: warning: 'char* std::strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation]
  123 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; }
      |                                                                           ~~~~~~~^~~~~~~~~~~
*** Error code 2

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

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