=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for xm7-1020s --- debug.o --- --- disasm.o --- --- gui.o --- --- fdc.o --- --- keyboard.o --- --- kanji.o --- --- tapelp.o --- --- maincpu.o --- --- debug.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o debug.o -c debug.c --- disasm.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o disasm.o -c disasm.c --- keyboard.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o keyboard.o -c keyboard.c --- gui.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o gui.o -c gui.c --- fdc.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o fdc.o -c fdc.c --- tapelp.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o tapelp.o -c tapelp.c --- maincpu.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o maincpu.o -c maincpu.c --- kanji.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o kanji.o -c kanji.c --- mainmem.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o mainmem.o -c mainmem.c --- mainetc.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o mainetc.o -c mainetc.c --- system.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o system.o -c system.c --- multipag.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o multipag.o -c multipag.c --- subcpu.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o subcpu.o -c subcpu.c --- submem.o --- --- display.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o display.o -c display.c --- subctrl.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o subctrl.o -c subctrl.c --- submem.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o submem.o -c submem.c --- tools.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o tools.o -c tools.c --- ttlpalet.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o ttlpalet.o -c ttlpalet.c --- opn.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o opn.o -c opn.c --- opna.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o opna.o -c opna.cpp --- fmgen.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o fmgen.o -c fmgen.cpp --- psg.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o psg.o -c psg.cpp --- xw_disp.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o xw_disp.o -c xw_disp.c --- xw_key.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o xw_key.o -c xw_key.c --- xw_main.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o xw_main.o -c xw_main.c --- xw_file.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o xw_file.o -c xw_file.c --- xw_disp.o --- xw_disp.c: In function 'get_image': xw_disp.c:489:31: warning: 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_disp.c:489:31: note: include '' or provide a declaration of 'malloc' --- xw_key.o --- xw_key.c: In function 'key_down': xw_key.c:80:17: warning: 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: warning: implicit declaration of function 'keyboard_break' [-Wimplicit-function-declaration] 102 | keyboard_break( xwin_key_table[code] ); | ^~~~~~~~~~~~~~ --- xw_disp.o --- xw_disp.c: In function 'timer_event': xw_disp.c:597:17: warning: implicit declaration of function 'mainetc_timer' [-Wimplicit-function-declaration] 597 | mainetc_timer(); | ^~~~~~~~~~~~~ xw_disp.c: In function 'xwin_init': xw_disp.c:650:13: warning: 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_disp.c:678:50: warning: 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: /pbulk/work/emulators/xm7/work/.x11-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: 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: warning: 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: warning: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] 802 | usleep( 10000 ); | ^~~~~~ --- xw_main.o --- xw_main.c: In function 'catch_sigsegv': xw_main.c:35:5: warning: implicit declaration of function 'xwin_cleanup'; did you mean 'gui_cleanup'? [-Wimplicit-function-declaration] 35 | xwin_cleanup(); | ^~~~~~~~~~~~ | gui_cleanup xw_main.c:36:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 36 | exit(1); | ^~~~ xw_main.c:14:1: note: include '' or provide a declaration of 'exit' 13 | #include "gui.h" +++ |+#include 14 | xw_main.c:36:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 36 | exit(1); | ^~~~ xw_main.c:36:5: note: include '' or provide a declaration of 'exit' xw_main.c: In function 'catch_sigpipe': xw_main.c:42:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 42 | exit(1); | ^~~~ xw_main.c:42:5: note: include '' or provide a declaration of 'exit' xw_main.c: In function 'main': xw_main.c:63:29: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 63 | if( strcmp( argv[i], "-nofm" ) == 0 ){ | ^~~~~~ xw_main.c:14:1: note: include '' or provide a declaration of 'strcmp' 13 | #include "gui.h" +++ |+#include 14 | xw_main.c:76:9: warning: implicit declaration of function 'disp_init' [-Wimplicit-function-declaration] 76 | disp_init( &argc, argv ); /* modify argc,argv */ | ^~~~~~~~~ --- xw_file.o --- xw_file.c: In function 'file_load': xw_file.c:28:13: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 28 | if (read(handle, buf, size) != size) { | ^~~~ | fread --- xw_main.o --- xw_main.c:84:9: warning: implicit declaration of function 'timer_init' [-Wimplicit-function-declaration] 84 | timer_init(); | ^~~~~~~~~~ --- xw_file.o --- xw_file.c:29:17: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 29 | close(handle); | ^~~~~ | pclose --- xw_main.o --- xw_main.c:91:17: warning: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] 91 | usleep( 5000 ); | ^~~~~~ --- xw_file.o --- xw_file.c: In function 'file_write': xw_file.c:121:22: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 121 | cnt = (DWORD)write(handle, ptr, size); | ^~~~~ | fwrite --- xw_snd.o --- gcc -D_XWIN -DNDEBUG -O3 -I/usr/X11R7/include -I. -o xw_snd.o -c xw_snd.cpp xw_snd.cpp: In function 'BOOL snd_init()': xw_snd.cpp:78:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | snd_dev = "/dev/dsp"; | ^~~~~~~~~~ --- xw_main.o --- xw_main.c:93:9: warning: implicit declaration of function 'disp_cleanup'; did you mean 'gui_cleanup'? [-Wimplicit-function-declaration] 93 | disp_cleanup(); | ^~~~~~~~~~~~ | gui_cleanup --- xw_disp.o --- xw_disp.c: Assembler messages: xw_disp.c:137: Error: `%ax' not allowed with `movb' xw_disp.c:140: Error: `%ax' not allowed with `movb' xw_disp.c:143: Error: `%ax' not allowed with `movb' xw_disp.c:146: Error: `%ax' not allowed with `movb' xw_disp.c:149: Error: `%ax' not allowed with `movb' xw_disp.c:152: Error: `%ax' not allowed with `movb' xw_disp.c:155: Error: `%ax' not allowed with `movb' *** [xw_disp.o] Error code 1 make: stopped making "all" in /pbulk/work/emulators/xm7/work/vm make: 1 error make: stopped making "all" in /pbulk/work/emulators/xm7/work/vm *** Error code 2 Stop. make[1]: stopped making "all" in /usr/pkgsrc/emulators/xm7 *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/emulators/xm7