=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for 2bwm-0.3 => Fixing makefile clang -pipe -Os -I/opt/pkg/include -Os -s -I/opt/pkg/include -DTWOBWM_PATH=\"/opt/pkg/bin/2bwm\" -I/opt/pkg/include -c 2bwm.c In file included from 2bwm.c:30: ./list.h:32:41: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (NULL == (item = (struct item *) malloc(sizeof (struct item)))) return NULL; ^ ./list.h:32:41: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc' ./list.h:61:5: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free(item); ^ ./list.h:61:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'free' 2bwm.c:41:1: error: unknown type name 'xcb_ewmh_connection_t' xcb_ewmh_connection_t *ewmh = NULL; // Ewmh Connection. ^ 2bwm.c:219:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(EXIT_SUCCESS); ^ 2bwm.c:219:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' 2bwm.c:219:7: error: use of undeclared identifier 'EXIT_SUCCESS' exit(EXIT_SUCCESS); ^ 2bwm.c:334:6: warning: call to undeclared function 'xcb_ewmh_connection_wipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xcb_ewmh_connection_wipe(ewmh); ^ 2bwm.c:490:2: warning: call to undeclared function 'xcb_ewmh_set_current_desktop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xcb_ewmh_set_current_desktop(ewmh, 0, ws); ^ 2bwm.c:637:10: warning: call to undeclared library function 'strtol' with type 'long (const char *, char **, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rgb48 = strtol(strgroups, NULL, 16); ^ 2bwm.c:637:10: note: include the header <stdlib.h> or explicitly provide a declaration for 'strtol' 2bwm.c:908:2: error: use of undeclared identifier 'xcb_ewmh_get_atoms_reply_t' xcb_ewmh_get_atoms_reply_t win_type; ^ 2bwm.c:911:6: warning: call to undeclared function 'xcb_ewmh_get_wm_window_type_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (xcb_ewmh_get_wm_window_type_reply(ewmh, ^ 2bwm.c:912:17: warning: call to undeclared function 'xcb_ewmh_get_wm_window_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xcb_ewmh_get_wm_window_type(ewmh, win), &win_type, NULL) ^ 2bwm.c:912:58: error: use of undeclared identifier 'win_type' xcb_ewmh_get_wm_window_type(ewmh, win), &win_type, NULL) ^ 2bwm.c:915:19: error: use of undeclared identifier 'win_type' for (i = 0; i < win_type.atoms_len; i++) { ^ 2bwm.c:916:8: error: use of undeclared identifier 'win_type' a = win_type.atoms[i]; ^ 2bwm.c:924:9: warning: call to undeclared function 'xcb_ewmh_get_atoms_reply_wipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xcb_ewmh_get_atoms_reply_wipe(&win_type); ^ 2bwm.c:924:40: error: use of undeclared identifier 'win_type' xcb_ewmh_get_atoms_reply_wipe(&win_type); ^ 2bwm.c:1802:8: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (abs((win->x +win->width) - client->x ^ 2bwm.c:1802:8: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs' 2bwm.c:2106:43: warning: passing 'int16_t *' (aka 'short *') to parameter of type 'uint16_t *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] getmonsize(with_offsets, &mon_x, &mon_y, &mon_width, &mon_height, client); ^~~~~~~~~~ 2bwm.c:683:13: note: passing argument to parameter 'mon_width' here uint16_t *mon_width, uint16_t *mon_height, ^ 2bwm.c:2106:55: warning: passing 'int16_t *' (aka 'short *') to parameter of type 'uint16_t *' (aka 'unsigned short *') converts between pointers to integer types with different sign [-Wpointer-sign] getmonsize(with_offsets, &mon_x, &mon_y, &mon_width, &mon_height, client); ^~~~~~~~~~~ 2bwm.c:683:34: note: passing argument to parameter 'mon_height' here uint16_t *mon_width, uint16_t *mon_height, ^ 2bwm.c:2882:10: error: use of undeclared identifier 'XCB_EWMH_WM_STATE_REMOVE' case XCB_EWMH_WM_STATE_REMOVE: ^ 2bwm.c:2885:10: error: use of undeclared identifier 'XCB_EWMH_WM_STATE_ADD' case XCB_EWMH_WM_STATE_ADD: ^ 2bwm.c:2888:10: error: use of undeclared identifier 'XCB_EWMH_WM_STATE_TOGGLE' case XCB_EWMH_WM_STATE_TOGGLE: ^ 2bwm.c:3030:4: warning: call to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] abort(); ^ 2bwm.c:3030:4: note: include the header <stdlib.h> or explicitly provide a declaration for 'abort' 2bwm.c:3102:15: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!(ewmh = calloc(1, sizeof(xcb_ewmh_connection_t)))) ^ 2bwm.c:3102:15: note: include the header <stdlib.h> or explicitly provide a declaration for 'calloc' 2bwm.c:3102:32: error: use of undeclared identifier 'xcb_ewmh_connection_t' if (!(ewmh = calloc(1, sizeof(xcb_ewmh_connection_t)))) ^ 2bwm.c:3105:37: warning: call to undeclared function 'xcb_ewmh_init_atoms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xcb_intern_atom_cookie_t *cookie = xcb_ewmh_init_atoms(conn, ewmh); ^ 2bwm.c:3106:6: warning: call to undeclared function 'xcb_ewmh_init_atoms_replies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(!xcb_ewmh_init_atoms_replies(ewmh, cookie, (void *)0)){ ^ 2bwm.c:3131:2: warning: call to undeclared function 'xcb_ewmh_set_wm_pid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xcb_ewmh_set_wm_pid(ewmh, screen->root, getpid()); ^ 2bwm.c:3132:2: warning: call to undeclared function 'xcb_ewmh_set_wm_name'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xcb_ewmh_set_wm_name(ewmh, screen->root, 4, "2bwm"); ^ 2bwm.c:3149:2: warning: call to undeclared function 'xcb_ewmh_set_supported'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xcb_ewmh_set_supported(ewmh, scrno, LENGTH(net_atoms), net_atoms); ^ 2bwm.c:3171:23: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] conf.borderwidth = atoi(value); ^ 2bwm.c:3224:2: warning: call to undeclared function 'xcb_ewmh_set_current_desktop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xcb_ewmh_set_current_desktop(ewmh, scrno, curws); ^ 2bwm.c:3225:2: warning: call to undeclared function 'xcb_ewmh_set_number_of_desktops'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xcb_ewmh_set_number_of_desktops(ewmh, scrno, WORKSPACES); ^ 2bwm.c:3251:2: warning: call to undeclared function 'xcb_ewmh_connection_wipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] xcb_ewmh_connection_wipe(ewmh); ^ 2bwm.c:3290:2: warning: call to undeclared function 'atexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] atexit(cleanup); ^ 24 warnings and 11 errors generated. *** [2bwm.o] Error code 1 bmake: stopped in /Users/pbulk/build/wm/2bwm/work/2bwm-0.3 1 error bmake: stopped in /Users/pbulk/build/wm/2bwm/work/2bwm-0.3 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/wm/2bwm *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/wm/2bwm