+ 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/xmeter-1.15nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xmeter-1.15nb4/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xmeter-1.15nb4 --- xmeter.o --- --- xmeter._man --- --- xmeter.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I./X11 -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -Dvfork=fork -I/opt/pkg/include -c xmeter.c --- xmeter._man --- rm -f xmeter._man if test -z "" ; then cd `dirname xmeter` && ln -s `basename xmeter.man` `basename xmeter._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" < xmeter.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/\@\@$/\\/' >xmeter._man; fi --- xmeter.o --- xmeter.c:36:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 36 | #endif lint | ^~~~ xmeter.c:563:1: error: return type defaults to 'int' [-Wimplicit-int] 563 | main(argc, argv) | ^~~~ xmeter.c: In function 'main': xmeter.c:592:7: error: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 592 | usage(); | ^~~~~ xmeter.c:602:8: error: implicit declaration of function 'printversion' [-Wimplicit-function-declaration] 602 | printversion(); | ^~~~~~~~~~~~ xmeter.c:603:3: error: implicit declaration of function 'init' [-Wimplicit-function-declaration] 603 | init(toplevel, &lw); | ^~~~ xmeter.c:604:3: error: implicit declaration of function 'createmenus' [-Wimplicit-function-declaration] 604 | createmenus(form); | ^~~~~~~~~~~ xmeter.c:667:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 667 | free(lw); | ^~~~ xmeter.c:176:1: note: include '' or provide a declaration of 'free' 175 | #include "patchlevel.h" +++ |+#include 176 | xmeter.c:667:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 667 | free(lw); | ^~~~ xmeter.c:667:3: note: include '' or provide a declaration of 'free' xmeter.c:678:3: error: implicit declaration of function 'setokbackgrounds'; did you mean 'XSetBackground'? [-Wimplicit-function-declaration] 678 | setokbackgrounds(XtDisplay(toplevel), XtScreen(toplevel)); | ^~~~~~~~~~~~~~~~ | XSetBackground xmeter.c: At top level: xmeter.c:683:1: error: return type defaults to 'int' [-Wimplicit-int] 683 | usage() | ^~~~~ xmeter.c: In function 'usage': xmeter.c:707:3: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 707 | exit(1); | ^~~~ xmeter.c:707:3: note: include '' or provide a declaration of 'exit' xmeter.c:707:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] xmeter.c:707:3: note: include '' or provide a declaration of 'exit' xmeter.c: At top level: xmeter.c:713:1: error: return type defaults to 'int' [-Wimplicit-int] 713 | printversion() | ^~~~~~~~~~~~ xmeter.c: In function 'printversion': xmeter.c:717:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 717 | exit(0); | ^~~~ xmeter.c:717:3: note: include '' or provide a declaration of 'exit' xmeter.c: At top level: xmeter.c:723:1: error: return type defaults to 'int' [-Wimplicit-int] 723 | init(toplevel, lw) | ^~~~ xmeter.c: In function 'init': xmeter.c:741:29: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 741 | if ((*lw = (Widget *) calloc(ar.columns, sizeof(Widget))) == NULL) | ^~~~~~ xmeter.c:741:29: note: include '' or provide a declaration of 'calloc' xmeter.c:741:29: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] xmeter.c:741:29: note: include '' or provide a declaration of 'calloc' xmeter.c:742:11: error: implicit declaration of function 'fatal' [-Wimplicit-function-declaration] 742 | fatal("lw"); | ^~~~~ xmeter.c:744:29: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 744 | if ((*lw = (Widget *) calloc(ar.rows, sizeof(Widget))) == NULL) | ^~~~~~ xmeter.c:744:29: note: include '' or provide a declaration of 'calloc' xmeter.c: At top level: xmeter.c:759:1: error: return type defaults to 'int' [-Wimplicit-int] 759 | createmenus(parent) | ^~~~~~~~~~~ xmeter.c: In function 'createmenus': xmeter.c:779:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 779 | (XtCallbackProc) changestat, (XtPointer) i); | ^ xmeter.c: In function 'popupscale': xmeter.c:810:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 810 | exit(1); | ^~~~ xmeter.c:810:7: note: include '' or provide a declaration of 'exit' xmeter.c: At top level: xmeter.c:855:1: error: return type defaults to 'int' [-Wimplicit-int] 855 | setokbackgrounds(d, s) | ^~~~~~~~~~~~~~~~ xmeter.c: In function 'freechild': xmeter.c:899:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 899 | #endif SYSV | ^~~~ xmeter.c: At top level: xmeter.c:913:1: error: return type defaults to 'int' [-Wimplicit-int] 913 | getstatus(w, h, data) | ^~~~~~~~~ xmeter.c: In function 'getstatus': xmeter.c:937:7: error: implicit declaration of function 'state'; did you mean 'stat'? [-Wimplicit-function-declaration] 937 | s = state(l = getmeter(h), h); | ^~~~~ | stat xmeter.c:937:17: error: implicit declaration of function 'getmeter'; did you mean 'initmeter'? [-Wimplicit-function-declaration] 937 | s = state(l = getmeter(h), h); | ^~~~~~~~ | initmeter xmeter.c:991:21: error: implicit declaration of function 'waitforhost' [-Wimplicit-function-declaration] 991 | sh->pid = waitforhost(h); | ^~~~~~~~~~~ xmeter.c: In function 'waitforhost': xmeter.c:1014:7: warning: extra tokens at end of #else directive [-Wendif-labels] 1014 | #else !SVR4 | ^ xmeter.c:1016:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 1016 | #endif !SVR4 | ^ xmeter.c:1019:11: error: implicit declaration of function 'getport'; did you mean 'getpgrp'? [-Wimplicit-function-declaration] 1019 | if (getport(h) > 0 || getppid() < 2) | ^~~~~~~ | getpgrp xmeter.c:1020:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1020 | exit(0); | ^~~~ xmeter.c:1020:11: note: include '' or provide a declaration of 'exit' xmeter.c: At top level: xmeter.c:1044:1: error: return type defaults to 'int' [-Wimplicit-int] 1044 | selecthost(w, h, data) | ^~~~~~~~~~ xmeter.c:1062:1: error: return type defaults to 'int' [-Wimplicit-int] 1062 | changestat(w, statidx, data) | ^~~~~~~~~~ xmeter.c: In function 'initmeter': xmeter.c:1416:23: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 1416 | if (!(h = (METER *) malloc(sizeof(METER)))) | ^~~~~~ xmeter.c:1416:23: note: include '' or provide a declaration of 'malloc' xmeter.c:1416:23: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] xmeter.c:1416:23: note: include '' or provide a declaration of 'malloc' xmeter.c:1432:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1432 | if (!(h->label = (char *) malloc(strlen(h->sh->label) + 2 + MAXSTATNAME + | ^~~~~~ xmeter.c:1432:29: note: include '' or provide a declaration of 'malloc' xmeter.c: In function 'newshmeter': xmeter.c:1468:26: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1468 | if (!(sh = (SHMETER *) malloc(sizeof(SHMETER)))) | ^~~~~~ xmeter.c:1468:26: note: include '' or provide a declaration of 'malloc' xmeter.c: In function 'mystrdup': xmeter.c:1501:20: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1501 | if (t = (char *) malloc(strlen(s) + 1)) | ^~~~~~ xmeter.c:1501:20: note: include '' or provide a declaration of 'malloc' xmeter.c: In function 'quit': xmeter.c:1514:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1514 | exit(0); | ^~~~ xmeter.c:1514:3: note: include '' or provide a declaration of 'exit' xmeter.c: At top level: xmeter.c:1517:1: error: return type defaults to 'int' [-Wimplicit-int] 1517 | fatal(m) | ^~~~~ xmeter.c: In function 'fatal': xmeter.c:1523:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1523 | exit(1); | ^~~~ xmeter.c:1523:3: note: include '' or provide a declaration of 'exit' *** [xmeter.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/xmeter/work bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/sysutils/xmeter/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/xmeter *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/xmeter