+ 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/piewm-1.04/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/piewm-1.04/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for piewm-1.04 --- vdt.o --- --- add_window.o --- --- gc.o --- --- list.o --- --- vdt.o --- rm -f vdt.o gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DMITSHM -DBIGREQS -DXF86VIDMODE -DXF86MISC -DDBE -DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT -DGLX_USE_MESA -D__GLX_ALIGN64 -DRES -DSHAPE -DXLOADIMAGE=\"/opt/pkg/bin/xloadimage\" vdt.c --- add_window.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 -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DMITSHM -DBIGREQS -DXF86VIDMODE -DXF86MISC -DDBE -DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT -DGLX_USE_MESA -D__GLX_ALIGN64 -DRES -DSHAPE -I/opt/pkg/include -c add_window.c --- gc.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 -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DMITSHM -DBIGREQS -DXF86VIDMODE -DXF86MISC -DDBE -DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT -DGLX_USE_MESA -D__GLX_ALIGN64 -DRES -DSHAPE -I/opt/pkg/include -c gc.c --- list.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 -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DMITSHM -DBIGREQS -DXF86VIDMODE -DXF86MISC -DDBE -DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT -DGLX_USE_MESA -D__GLX_ALIGN64 -DRES -DSHAPE -I/opt/pkg/include -c list.c --- vdt.o --- vdt.c: In function 'MakeVirtualDesktop': vdt.c:513:24: error: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 513 | fres = fork(); | ^~~~ vdt.c:516:25: error: implicit declaration of function 'execlp' [-Wimplicit-function-declaration] 516 | execlp("xloadimage", "xsetbg", "-display", | ^~~~~~ vdt.c:516:25: warning: incompatible implicit declaration of built-in function 'execlp' [-Wbuiltin-declaration-mismatch] --- add_window.o --- add_window.c: In function 'AddWindow': add_window.c:164:28: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 164 | tmp_win = (TwmWindow *)calloc(1, sizeof(TwmWindow)); | ^~~~~~ add_window.c:58:1: note: include '' or provide a declaration of 'calloc' 57 | #include "move.h" +++ |+#include 58 | add_window.c:164:28: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 164 | tmp_win = (TwmWindow *)calloc(1, sizeof(TwmWindow)); | ^~~~~~ add_window.c:164:28: note: include '' or provide a declaration of 'calloc' --- twm.o --- --- vdt.o --- *** [vdt.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/wm/piewm/work/piewm-1.04 --- twm.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 -DMITMISC -DXTEST -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DMITSHM -DBIGREQS -DXF86VIDMODE -DXF86MISC -DDBE -DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT -DGLX_USE_MESA -D__GLX_ALIGN64 -DRES -DSHAPE -I/opt/pkg/include -c twm.c --- add_window.o --- add_window.c:201:26: error: implicit declaration of function 'Transient' [-Wimplicit-function-declaration] 201 | tmp_win->transient = Transient(tmp_win->w); | ^~~~~~~~~ add_window.c:342:44: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 342 | tmp_win->wmhints = (XWMHints *)malloc(sizeof(XWMHints)); | ^~~~~~ add_window.c:342:44: note: include '' or provide a declaration of 'malloc' add_window.c:342:44: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] add_window.c:342:44: note: include '' or provide a declaration of 'malloc' add_window.c:400:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 400 | free((char *)tmp_win); | ^~~~ add_window.c:400:9: note: include '' or provide a declaration of 'free' add_window.c:400:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] add_window.c:400:9: note: include '' or provide a declaration of 'free' add_window.c:436:9: error: implicit declaration of function 'GetColorFromList' [-Wimplicit-function-declaration] 436 | GetColorFromList(Scr->TitleForegroundL, tmp_win->full_name, &tmp_win->class, | ^~~~~~~~~~~~~~~~ add_window.c:486:34: error: implicit declaration of function 'MakeVirtual' [-Wimplicit-function-declaration] 486 | tmp_win->virtualWindow = MakeVirtual(tmp_win, | ^~~~~~~~~~~ add_window.c:842:5: error: implicit declaration of function 'SetSWM_ROOT'; did you mean 'TWM_ROOT'? [-Wimplicit-function-declaration] 842 | SetSWM_ROOT(tmp_win); | ^~~~~~~~~~~ | TWM_ROOT add_window.c: In function 'CreateWindowTitlebarButtons': add_window.c:1290:46: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1290 | tmp_win->titlebuttons = (TBWindow *) malloc (nb * sizeof(TBWindow)); | ^~~~~~ add_window.c:1290:46: note: include '' or provide a declaration of 'malloc' add_window.c: In function 'CreateTwmColormap': add_window.c:1355:28: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1355 | cmap = (TwmColormap *) malloc(sizeof(TwmColormap)); | ^~~~~~ add_window.c:1355:28: note: include '' or provide a declaration of 'malloc' add_window.c:1358:19: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1358 | if (cmap) free((char *) cmap); | ^~~~ add_window.c:1358:19: note: include '' or provide a declaration of 'free' add_window.c: In function 'CreateColormapWindow': add_window.c:1376:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1376 | cwin = (ColormapWindow *) malloc(sizeof(ColormapWindow)); | ^~~~~~ add_window.c:1376:31: note: include '' or provide a declaration of 'malloc' add_window.c:1380:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1380 | free((char *) cwin); | ^~~~ add_window.c:1380:13: note: include '' or provide a declaration of 'free' add_window.c:1389:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1389 | free((char *) cwin); | ^~~~ add_window.c:1389:17: note: include '' or provide a declaration of 'free' add_window.c: In function 'FetchWmColormapWindows': add_window.c:1457:26: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1457 | (Window *) malloc (sizeof(Window) * (number_cmap_windows + 1)); | ^~~~~~ add_window.c:1457:26: note: include '' or provide a declaration of 'malloc' add_window.c:1475:37: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1475 | cwins = (ColormapWindow **) malloc(sizeof(ColormapWindow *) * | ^~~~~~ add_window.c:1475:37: note: include '' or provide a declaration of 'malloc' add_window.c:1521:37: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1521 | cwins = (ColormapWindow **) malloc(sizeof(ColormapWindow *)); | ^~~~~~ add_window.c:1521:37: note: include '' or provide a declaration of 'malloc' add_window.c:1537:20: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 1537 | (char *) calloc(1, ColormapsScoreboardLength(&tmp->cmaps)); | ^~~~~~ add_window.c:1537:20: note: include '' or provide a declaration of 'calloc' add_window.c:1545:11: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1545 | free ((char *) cmap_windows); | ^~~~ add_window.c:1545:11: note: include '' or provide a declaration of 'free' --- list.o --- list.c: In function 'AddToList': list.c:82:9: error: implicit declaration of function 'twmrc_error_prefix' [-Wimplicit-function-declaration] 82 | twmrc_error_prefix(); | ^~~~~~~~~~~~~~~~~~ *** [list.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/wm/piewm/work/piewm-1.04 --- add_window.o --- *** [add_window.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/wm/piewm/work/piewm-1.04 --- twm.o --- twm.c: In function 'main': twm.c:236:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 236 | exit (1); | ^~~~ twm.c:115:1: note: include '' or provide a declaration of 'exit' 114 | #include +++ |+#include 115 | twm.c:236:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 236 | exit (1); | ^~~~ twm.c:236:9: note: include '' or provide a declaration of 'exit' twm.c:250:12: error: implicit declaration of function 'getenv' [-Wimplicit-function-declaration] 250 | Home = getenv("HOME"); | ^~~~~~ twm.c:250:12: note: 'getenv' is defined in header ''; this is probably fixable by adding '#include ' twm.c:250:10: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 250 | Home = getenv("HOME"); | ^ twm.c:262:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 262 | exit (1); | ^~~~ twm.c:262:9: note: include '' or provide a declaration of 'exit' twm.c:273:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 273 | exit (1); | ^~~~ twm.c:273:9: note: include '' or provide a declaration of 'exit' twm.c:306:34: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 306 | ScreenList = (ScreenInfo **) calloc (NumScreens, sizeof (ScreenInfo *)); | ^~~~~~ twm.c:306:34: note: include '' or provide a declaration of 'calloc' twm.c:306:34: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] twm.c:306:34: note: include '' or provide a declaration of 'calloc' twm.c:389:37: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 389 | (ColormapWindow **) malloc(sizeof(ColormapWindow *)); | ^~~~~~ twm.c:389:37: note: include '' or provide a declaration of 'malloc' twm.c:389:37: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] twm.c:389:37: note: include '' or provide a declaration of 'malloc' twm.c:599:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 599 | exit (1); | ^~~~ twm.c:599:9: note: include '' or provide a declaration of 'exit' twm.c: In function 'Done': twm.c:925:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 925 | exit(0); | ^~~~ twm.c:925:5: note: include '' or provide a declaration of 'exit' twm.c: In function 'TwmErrorHandler': twm.c:948:7: error: implicit declaration of function 'XmuPrintDefaultErrorMessage' [-Wimplicit-function-declaration] 948 | XmuPrintDefaultErrorMessage (dpy, event, stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [twm.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/wm/piewm/work/piewm-1.04 bmake: 4 errors bmake: stopped making "all" in /home/pbulk/build/wm/piewm/work/piewm-1.04 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/wm/piewm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/wm/piewm