=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> 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 cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\" -I../common -c socket.c socket.c:201:63: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(playerSock[pl], (struct sockaddr *) &sin, &length) < 0) { ^~~~~~~ /usr/include/sys/socket.h:645:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ socket.c:2047:66: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] newsock = accept(listenSock, (struct sockaddr *) &naddr, &len); ^~~~ /usr/include/sys/socket.h:642:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ socket.c:2102:70: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] newsock = accept(playerListSock, (struct sockaddr *) &naddr, &len); ^~~~ /usr/include/sys/socket.h:642:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ socket.c:2214:57: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(udpSock, (struct sockaddr *) &addr, &len) < 0) { ^~~~ /usr/include/sys/socket.h:646:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ socket.c:2238:57: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(udpSock, (struct sockaddr *) &addr, &len) < 0) { ^~~~ /usr/include/sys/socket.h:646:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 5 warnings generated. 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 cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\" -I../common -c newplayer.c newplayer.c:216:55: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!(getpeername(sock, (struct sockaddr *) &sin, &len))) { ^~~~ /usr/include/sys/socket.h:645:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 1 warning generated. cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\" -I../common -c tick.c 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 cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\" -I../common -c motd.c motd.c:52:21: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' GLO_motd[i][strlen(GLO_motd[i]) - 1] = 0; ^ motd.c:52:21: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\" -I../common -c life.c cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\" -I../common -c commands.c commands.c:92:5: warning: implicit declaration of function 'database_save' is invalid in C99 [-Wimplicit-function-declaration] database_save(i); ^ commands.c:94:5: warning: implicit declaration of function 'database_load' is invalid in C99 [-Wimplicit-function-declaration] database_load(i); ^ 2 warnings generated. cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/usr/pkg/share/tanked\" -I../common -c database.c 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. -D__i386__ -D__i586__ -traditional -Di386 -debuglog .imake.cpplog -DBuildHtmlManPages=NO -DUseInstalled -I/usr/pkg/lib/X11/config .imake.start.c make Makefiles making Makefiles in libsprite... imake: executing: /usr/pkg/bin/tradcpp -I. -D__i386__ -D__i586__ -traditional -Di386 -debuglog .imake.cpplog -DBuildHtmlManPages=NO -DUseInstalled -I/usr/pkg/lib/X11/config -DTOPDIR=.. -DCURDIR=libsprite .imake.start.c make includes make depend makedepend -- -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -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/sys/types.h, line 386): cannot find include file "pthread_types.h" not in /usr/pkg/include/pthread_types.h not in /usr/X11R7/include/pthread_types.h not in /usr/include/X11/pthread_types.h not in ./libsprite/pthread_types.h not in ../common/pthread_types.h not in /usr/include/pthread_types.h making all in ./libsprite... rm -f border.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 border.c rm -f cursor.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 cursor.c rm -f init.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 init.c rm -f misc.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 misc.c rm -f sector.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 sector.c rm -f buffer.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 buffer.c rm -f data.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 data.c rm -f line.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 line.c line.c:40:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i; ~~~~~~~~ ^ 1 warning generated. rm -f mouse.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 mouse.c rm -f text.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 text.c rm -f circle.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 circle.c rm -f event.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 event.c rm -f makewindow.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 makewindow.c makewindow.c:155:30: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bomb_here = make_cursor(cross_bits, crossmask_bits, ^~~~~~~~~~ ./Wproto.h:5:26: note: passing argument to parameter 'bits' here Cursor make_cursor(char *bits, char *mask, unsigned int width, unsigned int height, unsigned int xhot, unsigned int yhot); ^ makewindow.c:155:42: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bomb_here = make_cursor(cross_bits, crossmask_bits, ^~~~~~~~~~~~~~ ./Wproto.h:5:38: note: passing argument to parameter 'mask' here Cursor make_cursor(char *bits, char *mask, unsigned int width, unsigned int height, unsigned int xhot, unsigned int yhot); ^ makewindow.c:163:25: warning: passing 'unsigned char [3]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] tiny = make_cursor(tiny_bits, tinymask_bits, ^~~~~~~~~ ./Wproto.h:5:26: note: passing argument to parameter 'bits' here Cursor make_cursor(char *bits, char *mask, unsigned int width, unsigned int height, unsigned int xhot, unsigned int yhot); ^ makewindow.c:163:36: warning: passing 'unsigned char [3]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] tiny = make_cursor(tiny_bits, tinymask_bits, ^~~~~~~~~~~~~ ./Wproto.h:5:38: note: passing argument to parameter 'mask' here Cursor make_cursor(char *bits, char *mask, unsigned int width, unsigned int height, unsigned int xhot, unsigned int yhot); ^ 4 warnings generated. rm -f point.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 point.c point.c:52:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i; ~~~~~~~~ ^ 1 warning generated. rm -f tile.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 tile.c rm -f cleararea.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 cleararea.c rm -f fill.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 fill.c fill.c:29:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] W_DrawPolygon(window, points, npoints, color) ^ fill.c:39:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 2 warnings generated. rm -f mapwindow.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 mapwindow.c rm -f scale.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 scale.c rm -f triangle.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 triangle.c rm -f color.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 color.c rm -f image.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 image.c image.c:213:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] image->xbmdata, image->width, image->height); ^~~~~~~~~~~~~~ /usr/pkgsrc/work/games/tanked/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ 1 warning generated. rm -f menu.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 menu.c rm -f scroll.o gcc -c -O -I/usr/include/X11 -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 scroll.c rm -f libXsprite.a ar clq libXsprite.a border.o cursor.o init.o misc.o sector.o buffer.o data.o line.o mouse.o text.o circle.o event.o makewindow.o point.o tile.o cleararea.o fill.o mapwindow.o scale.o triangle.o color.o image.o menu.o scroll.o ranlib libXsprite.a gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c main.c main.c:63:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' if(strcmp(argv[ac], "-display") == 0 && (ac+1 < argc)) { ^ main.c:63:7: note: include the header or explicitly provide a declaration for 'strcmp' main.c:96:5: warning: implicit declaration of function 'read_defaults' is invalid in C99 [-Wimplicit-function-declaration] read_defaults(deffile); ^ main.c:210:18: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] totalread, totalread/(time(0)-start), totalread/counter); ^~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c data.c gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c images.c images.c:3822:10: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' return strcmp((char*)left,((W_Image*)right)->filename); ^ images.c:3822:10: note: include the header or explicitly provide a declaration for 'strcmp' 1 warning generated. gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c sintab.c gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c socket.c socket.c:698:71: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (recvfrom(udpSock, buf, BUFSIZ, 0, (struct sockaddr *) & from, &fromlen) < 0) { ^~~~~~~~ /usr/include/sys/socket.h:653:58: note: passing argument to parameter here struct sockaddr * __restrict, socklen_t * __restrict); ^ 1 warning generated. gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c message.c gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c playerwin.c playerwin.c:27:45: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' W_WriteText(playerwin, 0, l+1, color, buf, strlen(buf), W_RegularFont); ^ playerwin.c:27:45: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c motd.c gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c redraw.c redraw.c:116:47: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' W_MaskText(cwin, dx + (myTankImg->width/2)-(strlen(buf)*W_Textwidth)/2, dy-W_Textheight, ^ redraw.c:116:47: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c input.c input.c:45:6: warning: implicit declaration of function 'message_event' is invalid in C99 [-Wimplicit-function-declaration] message_event(&ev); ^ input.c:47:6: warning: implicit declaration of function 'option_event' is invalid in C99 [-Wimplicit-function-declaration] option_event(&ev); ^ input.c:56:16: warning: implicit declaration of function 'do_keymap' is invalid in C99 [-Wimplicit-function-declaration] ev.key = do_keymap(ev.key); ^ 3 warnings generated. gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c outfit.c outfit.c:37:32: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' W_MaskText(teamwin[0], 50-(strlen(teamname[0])*W_Textwidth)/2, 0, W_White, ^ outfit.c:37:32: note: include the header or explicitly provide a declaration for 'strlen' outfit.c:76:3: warning: implicit declaration of function 'message_event' is invalid in C99 [-Wimplicit-function-declaration] message_event(&ev); ^ 2 warnings generated. gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c dash.c dash.c:46:46: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' W_WriteText(dashwin, x, y, W_White, buf, strlen(buf), W_RegularFont); ^ dash.c:46:46: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c option.c option.c:47:6: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' strcpy(buf, opts[i].text); ^ option.c:47:6: note: include the header or explicitly provide a declaration for 'strcpy' option.c:52:52: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' W_WriteText(optionwin, 0, i, *opts[i].color, buf, strlen(buf), W_RegularFont); ^ option.c:52:52: note: include the header or explicitly provide a declaration for 'strlen' option.c:111:6: warning: implicit declaration of function 'add_keymap' is invalid in C99 [-Wimplicit-function-declaration] add_keymap(newkeymap); ^ option.c:116:12: warning: implicit declaration of function 'expand_filename' is invalid in C99 [-Wimplicit-function-declaration] expname = expand_filename("~/.tankedrc"); ^ option.c:116:10: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] expname = expand_filename("~/.tankedrc"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ option.c:117:2: warning: implicit declaration of function 'write_defaults' is invalid in C99 [-Wimplicit-function-declaration] write_defaults(expname); ^ 6 warnings generated. gcc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/include/X11 -I./libsprite -I../common -I/usr/X11R7/include -c defaults.c bmake[1]: don't know how to make /usr/pkg/lib/libXext.a. Stop bmake[1]: stopped in /usr/pkgsrc/work/games/tanked/work/tanked-0.90/client *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/work/games/tanked/work/tanked-0.90 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/games/tanked *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/tanked