+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tanked-0.90nb3/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tanked-0.90nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for tanked-0.90nb3
cd server && /usr/pkg/bin/bmake
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -c main.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from main.c:11:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -c socket.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from socket.c:53:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
socket.c: In function 'checkSocket':
socket.c:201:63: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign]
     if (getpeername(playerSock[pl], (struct sockaddr *) &sin, &length) < 0) {
                                                               ^~~~~~~
In file included from socket.c:58:
/usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
 extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
            ^~~~~~~~~~~
socket.c: In function 'send_positions':
socket.c:606:17: warning: variable 'me' set but not used [-Wunused-but-set-variable]
     player *p, *me;
                 ^~
socket.c: In function 'NET_checkSockets':
socket.c:2047:66: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
         newsock = accept(listenSock, (struct sockaddr *) &naddr, &len);
                                                                  ^~~~
In file included from socket.c:58:
/usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
 extern int accept (int __fd, __SOCKADDR_ARG __addr,
            ^~~~~~
socket.c:2102:70: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
         newsock = accept(playerListSock, (struct sockaddr *) &naddr, &len);
                                                                      ^~~~
In file included from socket.c:58:
/usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
 extern int accept (int __fd, __SOCKADDR_ARG __addr,
            ^~~~~~
socket.c:1972:9: warning: variable 'st' set but not used [-Wunused-but-set-variable]
     int st, newsock, len, i;
         ^~
socket.c: In function 'connUdpConn':
socket.c:2214:57: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign]
     if (getsockname(udpSock, (struct sockaddr *) &addr, &len) < 0) {
                                                         ^~~~
In file included from socket.c:58:
/usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
 extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
            ^~~~~~~~~~~
socket.c:2238:57: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign]
     if (getsockname(udpSock, (struct sockaddr *) &addr, &len) < 0) {
                                                         ^~~~
In file included from socket.c:58:
/usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
 extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
            ^~~~~~~~~~~
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -c data.c
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -c map.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from map.c:5:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -c newplayer.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from newplayer.c:5:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
newplayer.c: In function 'newplayer_find_host':
newplayer.c:216:55: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign]
     if (!(getpeername(sock, (struct sockaddr *) &sin, &len))) {
                                                       ^~~~
In file included from newplayer.c:8:
/usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
 extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
            ^~~~~~~~~~~
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -c tick.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from tick.c:13:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -c sintab.c
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -c log.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from log.c:7:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -c motd.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from motd.c:11:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
motd.c: In function 'motd_read_motd':
motd.c:52:21: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
         GLO_motd[i][strlen(GLO_motd[i]) - 1] = 0;
                     ^~~~~~
motd.c:52:21: warning: incompatible implicit declaration of built-in function 'strlen'
motd.c:52:21: note: include '<string.h>' or provide a declaration of 'strlen'
motd.c:16:1:
+#include <string.h>
 
motd.c:52:21:
         GLO_motd[i][strlen(GLO_motd[i]) - 1] = 0;
                     ^~~~~~
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -c life.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from life.c:9:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -c commands.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from commands.c:12:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
commands.c: In function 'check_newmap':
commands.c:92:5: warning: implicit declaration of function 'database_save' [-Wimplicit-function-declaration]
     database_save(i);
     ^~~~~~~~~~~~~
commands.c:94:5: warning: implicit declaration of function 'database_load' [-Wimplicit-function-declaration]
     database_load(i);
     ^~~~~~~~~~~~~
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -c database.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from database.c:4:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cc   -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\"    -I../common -o tankedserv main.o socket.o data.o map.o newplayer.o tick.o sintab.o log.o motd.o life.o commands.o database.o  -lc -lm
cd client && xmkmf -a && /usr/pkg/bin/bmake
imake -DUseInstalled -I/usr/pkg/lib/X11/config
imake: executing: /usr/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -Dlinux -debuglog .imake.cpplog -DUseInstalled -I/usr/pkg/lib/X11/config -DBuildHtmlManPages=NO .imake.start.c
In file included from .imake.start.c:33:2:
In file included from /usr/pkg/lib/X11/config/Imake.tmpl:109:2:
/usr/pkg/lib/X11/config/linux.cf:204:10: Warning: non-identical redefinition of ProjectRoot
In file included from .imake.start.c:33:2:
In file included from /usr/pkg/lib/X11/config/Imake.tmpl:46:2:
In file included from /usr/pkg/lib/X11/config/site.def:44:2:
/usr/pkg/lib/X11/config/host.def:3:9: Previous definition was here
In file included from .imake.start.c:33:2:
In file included from /usr/pkg/lib/X11/config/Imake.tmpl:109:2:
/usr/pkg/lib/X11/config/linux.cf:205:10: Warning: non-identical redefinition of ManPath
In file included from .imake.start.c:33:2:
In file included from /usr/pkg/lib/X11/config/Imake.tmpl:46:2:
In file included from /usr/pkg/lib/X11/config/site.def:44:2:
/usr/pkg/lib/X11/config/host.def:4:9: Previous definition was here
make Makefiles
making Makefiles in libsprite...
imake: executing: /usr/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -Dlinux -debuglog .imake.cpplog -DUseInstalled -Wundef -DTOPDIR=.. -DCURDIR=libsprite -DBuildHtmlManPages=NO .imake.start.c
.imake.start.c:33:2: Include file Imake.tmpl not found
/usr/pkg/bin/imake: Exit code 1.
  Stop.
*** Error code 1

Stop.
bmake[2]: stopped making "libsprite/Makefile" in /home/pbulk/build/games/tanked/work/tanked-0.90/client
bmake[2]: don't know how to make Makefiles. Stop

bmake[2]: stopped making "Makefiles" in /home/pbulk/build/games/tanked/work/tanked-0.90/client/libsprite
make includes
make depend
makedepend  --   -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO   -I/usr/include/X11 -I./libsprite -I../common -Wall  -DUSE_MAKEDEPEND -- `echo main.o data.o images.o sintab.o socket.o message.o playerwin.o 	motd.o redraw.o input.o outfit.o dash.o option.o defaults.o  | sed -e 's/\.o/.c/g'`          
makedepend: warning:  main.c (reading /usr/include/features.h), line 184: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
makedepend: warning:  main.c (reading /usr/include/stdio.h, line 33): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  main.c (reading /usr/include/stdio.h, line 36): cannot find include file "stdarg.h"
	not in /usr/pkg/include/stdarg.h
	not in /usr/include/X11/stdarg.h
	not in ./libsprite/stdarg.h
	not in ../common/stdarg.h
	not in /usr/include/stdarg.h
makedepend: warning:  main.c (reading /usr/include/stdlib.h, line 31): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  main.c (reading /usr/include/sys/types.h, line 144): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  main.c (reading /usr/include/alloca.h, line 24): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  main.c (reading /usr/include/unistd.h, line 226): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  main.c (reading /usr/include/pwd.h, line 32): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  main.c (reading /usr/pkg/include/X11/Xlib.h, line 51): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  socket.c (reading /usr/include/bits/types/struct_iovec.h, line 23): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  socket.c (reading /usr/include/sys/socket.h, line 28): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  socket.c (reading /usr/include/bits/socket.h, line 27): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  socket.c (reading /usr/include/rpc/netdb.h, line 42): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  socket.c (reading /usr/include/signal.h, line 301): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  socket.c (reading /usr/include/bits/types/stack_t.h, line 23): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  socket.c (reading /usr/include/string.h, line 33): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  socket.c (reading /usr/include/strings.h, line 23): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  socket.c (reading /usr/include/time.h, line 29): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/X11/stddef.h
	not in ./libsprite/stddef.h
	not in ../common/stddef.h
	not in /usr/include/stddef.h
making all in ./libsprite...
bmake[2]: don't know how to make all. Stop

bmake[2]: stopped making "all" in /home/pbulk/build/games/tanked/work/tanked-0.90/client/libsprite
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /home/pbulk/build/games/tanked/work/tanked-0.90/client
*** Error code 1

Stop.
bmake: stopped making "all" in /home/pbulk/build/games/tanked/work/tanked-0.90
*** Error code 1

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

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