+ 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/xm7-1020s/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xm7-1020s/work.log ===> Building for xm7-1020s --- debug.o --- --- disasm.o --- --- gui.o --- --- fdc.o --- --- debug.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o debug.o -c debug.c --- disasm.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o disasm.o -c disasm.c --- gui.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o gui.o -c gui.c --- fdc.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o fdc.o -c fdc.c --- keyboard.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o keyboard.o -c keyboard.c --- kanji.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o kanji.o -c kanji.c --- tapelp.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o tapelp.o -c tapelp.c --- maincpu.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o maincpu.o -c maincpu.c --- mainmem.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o mainmem.o -c mainmem.c --- mainetc.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o mainetc.o -c mainetc.c --- system.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o system.o -c system.c --- multipag.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o multipag.o -c multipag.c --- subcpu.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o subcpu.o -c subcpu.c --- submem.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o submem.o -c submem.c --- display.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o display.o -c display.c --- subctrl.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o subctrl.o -c subctrl.c --- tools.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o tools.o -c tools.c --- ttlpalet.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o ttlpalet.o -c ttlpalet.c --- opn.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o opn.o -c opn.c --- opna.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o opna.o -c opna.cpp --- fmgen.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o fmgen.o -c fmgen.cpp --- psg.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o psg.o -c psg.cpp --- xw_disp.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o xw_disp.o -c xw_disp.c xw_disp.c: In function 'redraw_all': xw_disp.c:195:9: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 195 | bzero( lineflag, YSIZE ); // new! | ^~~~~ xw_disp.c:195:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] xw_disp.c: In function 'get_image': xw_disp.c:489:31: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 489 | buf = (char *)malloc( XSIZE * YSIZE * sizeof(long)); | ^~~~~~ xw_disp.c:47:1: note: include '' or provide a declaration of 'malloc' 46 | #include "subctrl.h" +++ |+#include 47 | xw_disp.c:489:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 489 | buf = (char *)malloc( XSIZE * YSIZE * sizeof(long)); | ^~~~~~ --- xw_key.o --- --- xw_disp.o --- xw_disp.c:489:31: note: include '' or provide a declaration of 'malloc' xw_disp.c:490:17: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 490 | bzero( buf, XSIZE * YSIZE * sizeof(long)); | ^~~~~ xw_disp.c: In function 'timer_event': xw_disp.c:597:17: error: implicit declaration of function 'mainetc_timer' [-Wimplicit-function-declaration] 597 | mainetc_timer(); | ^~~~~~~~~~~~~ xw_disp.c: In function 'xwin_init': xw_disp.c:650:13: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 650 | exit(1); | ^~~~ xw_disp.c:650:13: note: include '' or provide a declaration of 'exit' xw_disp.c:650:13: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] xw_disp.c:650:13: note: include '' or provide a declaration of 'exit' --- xw_key.o --- gcc -D_XWIN -DNDEBUG -O3 -I/opt/pkg/include -I. -o xw_key.o -c xw_key.c --- xw_disp.o --- xw_disp.c:678:50: error: passing argument 3 of 'XCreateGC' makes integer from pointer without a cast [-Wint-conversion] 678 | gc = XCreateGC( dpy, DefaultRootWindow(dpy), NULL, NULL ); | ^~~~ | | | void * In file included from xw_disp.c:20: /home/pbulk/build/emulators/xm7/work/.buildlink/include/X11/Xlib.h:1583:5: note: expected 'long unsigned int' but argument is of type 'void *' 1583 | unsigned long /* valuemask */, | ^~~~~~~~~~~~~ xw_disp.c:701:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 701 | bzero( lineflag, YSIZE ); // new! | ^~~~~ xw_disp.c: In function 'disp_init': xw_disp.c:724:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 724 | imgval = (char *)malloc(0x4000*8); | ^~~~~~ xw_disp.c:724:22: note: include '' or provide a declaration of 'malloc' xw_disp.c: In function 'disp_cleanup': xw_disp.c:737:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 737 | free( imgval ); | ^~~~ xw_disp.c:737:5: note: include '' or provide a declaration of 'free' xw_disp.c:737:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] xw_disp.c:737:5: note: include '' or provide a declaration of 'free' xw_disp.c: In function 'do_events': xw_disp.c:802:17: error: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] 802 | usleep( 10000 ); | ^~~~~~ *** [xw_disp.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/emulators/xm7/work/vm --- xw_key.o --- xw_key.c: In function 'key_down': xw_key.c:80:17: error: implicit declaration of function 'keyboard_make' [-Wimplicit-function-declaration] 80 | keyboard_make( xwin_key_table[code] ); | ^~~~~~~~~~~~~ xw_key.c: In function 'key_up': xw_key.c:102:17: error: implicit declaration of function 'keyboard_break' [-Wimplicit-function-declaration] 102 | keyboard_break( xwin_key_table[code] ); | ^~~~~~~~~~~~~~ *** [xw_key.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/emulators/xm7/work/vm bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/emulators/xm7/work/vm *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/xm7 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/xm7