+ 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 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 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' *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/x11/xwit/work/xwit-3.4 *** Error code 1 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