+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xwit-3.4nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xwit-3.4nb3/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xwit-3.4nb3 --- xwit.o --- --- dsimple.o --- --- ClientWin.o --- --- xwit._man --- --- xwit.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c xwit.c --- dsimple.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c dsimple.c --- ClientWin.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c ClientWin.c --- xwit._man --- rm -f xwit._man if test -z "" ; then cd `dirname xwit` && ln -s `basename xwit.man` `basename xwit._man`; else cpp -undef -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xwit.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xwit._man; fi --- dsimple.o --- dsimple.c: In function 'Get_Display_Name': dsimple.c:95:30: error: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 95 | if (++i >= argc) usage (); | ^~~~~ dsimple.c: In function 'blip': dsimple.c:385:3: error: implicit declaration of function 'outl'; did you mean 'out'? [-Wimplicit-function-declaration] 385 | outl("blip!"); | ^~~~ | out dsimple.c: At top level: dsimple.c:477:1: error: return type defaults to 'int' [-Wimplicit-int] 477 | outl(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6) | ^~~~ *** [dsimple.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/xwit/work/xwit-3.4 --- xwit.o --- xwit.c:38:1: error: return type defaults to 'int' [-Wimplicit-int] 38 | usage() | ^~~~~ xwit.c: In function 'usage': xwit.c:71:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 71 | exit(2); | ^~~~ xwit.c:36:1: note: include '' or provide a declaration of 'exit' 35 | #include "dsimple.h" +++ |+#include 36 | xwit.c:71:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 71 | exit(2); | ^~~~ xwit.c:71:9: note: include '' or provide a declaration of 'exit' xwit.c: At top level: xwit.c:131:1: error: return type defaults to 'int' [-Wimplicit-int] 131 | mssleep(ms) | ^~~~~~~ xwit.c: In function 'mssleep': xwit.c:140:14: error: passing argument 2 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] 140 | select(0,(int*)0,(int*)0,(int*)0,&tv); | ^~~~~~~ | | | int * In file included from /usr/include/sys/types.h:687, from /home/pbulk/build/x11/xwit/work/.buildlink/include/X11/Xos.h:42, from xwit.c:29: /usr/include/sys/select.h:145:24: note: expected 'fd_set * restrict' but argument is of type 'int *' 145 | extern int select(int, fd_set *_RESTRICT_KYWD, fd_set *_RESTRICT_KYWD, | ^ xwit.c:140:22: error: passing argument 3 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] 140 | select(0,(int*)0,(int*)0,(int*)0,&tv); | ^~~~~~~ | | | int * /usr/include/sys/select.h:145:48: note: expected 'fd_set * restrict' but argument is of type 'int *' 145 | extern int select(int, fd_set *_RESTRICT_KYWD, fd_set *_RESTRICT_KYWD, | ^ xwit.c:140:30: error: passing argument 4 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] 140 | select(0,(int*)0,(int*)0,(int*)0,&tv); | ^~~~~~~ | | | int * /usr/include/sys/select.h:146:9: note: expected 'fd_set * restrict' but argument is of type 'int *' 146 | fd_set *_RESTRICT_KYWD, struct timeval *_RESTRICT_KYWD); | ^ xwit.c: At top level: xwit.c:148:1: error: return type defaults to 'int' [-Wimplicit-int] 148 | downtree(top) | ^~~~~~~~ xwit.c:172:1: error: return type defaults to 'int' [-Wimplicit-int] 172 | setrepeat() | ^~~~~~~~~ xwit.c:194:1: error: return type defaults to 'int' [-Wimplicit-int] 194 | getpos(window, xp, yp) | ^~~~~~ xwit.c:217:1: error: return type defaults to 'int' [-Wimplicit-int] 217 | getsize(window, wp, hp) | ^~~~~~~ xwit.c:234:1: error: return type defaults to 'int' [-Wimplicit-int] 234 | domove(window, x, y, right, bottom) | ^~~~~~ xwit.c:351:1: error: return type defaults to 'int' [-Wimplicit-int] 351 | rcresize(what, window) | ^~~~~~~~ xwit.c:383:1: error: return type defaults to 'int' [-Wimplicit-int] 383 | loadbitmap(window, file, pmp) | ^~~~~~~~~~ xwit.c:397:1: error: return type defaults to 'int' [-Wimplicit-int] 397 | setbitmap(window) | ^~~~~~~~~ xwit.c:437:1: error: return type defaults to 'int' [-Wimplicit-int] 437 | setwinattr(window) | ^~~~~~~~~~ xwit.c: In function 'xwit_select_window': xwit.c:623:34: error: implicit declaration of function 'XmuClientWindow'; did you mean 'XNClientWindow'? [-Wimplicit-function-declaration] 623 | window = XmuClientWindow(dpy, window); | ^~~~~~~~~~~~~~~ | XNClientWindow xwit.c: At top level: xwit.c:716:1: error: return type defaults to 'int' [-Wimplicit-int] 716 | main(argc, argv) | ^~~~ xwit.c: In function 'main': xwit.c:750:36: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 750 | ncolumns = atoi(*++argv); | ^~~~ xwit.c:963:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 963 | exit(!Gwinfound); | ^~~~ xwit.c:963:9: note: include '' or provide a declaration of 'exit' *** [xwit.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/xwit/work/xwit-3.4 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/x11/xwit/work/xwit-3.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xwit *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xwit