+ 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/stdio.h:27:0,
                 from main.c:11:
/usr/include/features.h:330: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/stdio.h:27:0,
                 from socket.c:53:
/usr/include/features.h:330: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:45: 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:0:
/usr/include/sys/socket.h:142:12: note: expected 'socklen_t * __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:46: 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:0:
/usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
 extern int accept (int __fd, __SOCKADDR_ARG __addr,
            ^
socket.c:2102:50: 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:0:
/usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __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:38: 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:0:
/usr/include/sys/socket.h:128:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
 extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
            ^
socket.c:2238:38: 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:0:
/usr/include/sys/socket.h:128:12: note: expected 'socklen_t * __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/stdio.h:27:0,
                 from map.c:5:
/usr/include/features.h:330: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/stdio.h:27:0,
                 from newplayer.c:5:
/usr/include/features.h:330: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:37: 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:0:
/usr/include/sys/socket.h:142:12: note: expected 'socklen_t * __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/stdio.h:27:0,
                 from tick.c:13:
/usr/include/features.h:330: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/stdio.h:27:0,
                 from log.c:7:
/usr/include/features.h:330: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/stdio.h:27:0,
                 from motd.c:11:
/usr/include/features.h:330: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:9: 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' [enabled by default]
         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/stdio.h:27:0,
                 from life.c:9:
/usr/include/features.h:330: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/stdio.h:27:0,
                 from commands.c:12:
/usr/include/features.h:330: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/stdio.h:27:0,
                 from database.c:4:
/usr/include/features.h:330: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 in /home/pbulk/build/games/tanked/work/tanked-0.90/client
bmake[2]: don't know how to make Makefiles. Stop

bmake[2]: stopped 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/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/_G_config.h, line 15): 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/wchar.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:  main.c (reading /usr/include/libio.h, line 50): 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 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/include/sys/types.h, line 146): 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 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/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/sys/socket.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
makedepend: warning:  socket.c (reading /usr/include/bits/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/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 350): 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 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
making all in ./libsprite...
bmake[2]: don't know how to make all. Stop

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

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

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

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/tanked