+ 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/i3-4.22nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/i3-4.22nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for i3-4.22nb1 ninja: Entering directory `output' [1/107] Generating config.h with a custom command [2/107] Compiling C object libi3.a.p/libi3_boolstr.c.o ../libi3/boolstr.c: In function 'boolstr': ../libi3/boolstr.c:19:13: warning: implicit declaration of function 'strcasecmp'; did you mean 'g_strcasecmp'? [-Wimplicit-function-declaration] 19 | return (strcasecmp(str, "1") == 0 || | ^~~~~~~~~~ | g_strcasecmp [3/107] Compiling C object libi3.a.p/libi3_create_socket.c.o [4/107] Compiling C object libi3.a.p/libi3_dpi.c.o [5/107] Compiling C object libi3.a.p/libi3_draw_util.c.o [6/107] Compiling C object libi3.a.p/libi3_fake_configure_notify.c.o [7/107] Compiling C object libi3.a.p/libi3_font.c.o [8/107] Compiling C object libi3.a.p/libi3_format_placeholders.c.o [9/107] Compiling C object libi3.a.p/libi3_get_colorpixel.c.o [10/107] Compiling C object libi3.a.p/libi3_get_config_path.c.o [11/107] Compiling C object libi3.a.p/libi3_get_exe_path.c.o ../libi3/get_exe_path.c: In function 'get_exe_path': ../libi3/get_exe_path.c:75:16: warning: implicit declaration of function 'confstr' [-Wimplicit-function-declaration] 75 | while (confstr(_CS_PATH, tmp, tmp_size) > tmp_size) { | ^~~~~~~ [12/107] Compiling C object libi3.a.p/libi3_get_mod_mask.c.o [13/107] Compiling C object libi3.a.p/libi3_get_process_filename.c.o ../libi3/get_process_filename.c: In function 'get_process_filename': ../libi3/get_process_filename.c:32:17: warning: implicit declaration of function 'mkdirp'; did you mean 'mkdir'? [-Wimplicit-function-declaration] 32 | if (mkdirp(dir, 0700) == -1) { | ^~~~~~ | mkdir ../libi3/get_process_filename.c:46:17: warning: implicit declaration of function 'mkdtemp'; did you mean 'mkstemp'? [-Wimplicit-function-declaration] 46 | if (mkdtemp(dir) == NULL) { | ^~~~~~~ | mkstemp ../libi3/get_process_filename.c:46:30: warning: comparison between pointer and integer 46 | if (mkdtemp(dir) == NULL) { | ^~ [14/107] Compiling C object libi3.a.p/libi3_get_visualtype.c.o [15/107] Compiling C object libi3.a.p/libi3_g_utf8_make_valid.c.o [16/107] Compiling C object libi3.a.p/libi3_ipc_connect.c.o [17/107] Compiling C object libi3.a.p/libi3_ipc_recv_message.c.o [18/107] Compiling C object libi3.a.p/libi3_ipc_send_message.c.o [19/107] Compiling C object libi3.a.p/libi3_is_debug_build.c.o [20/107] Compiling C object libi3.a.p/libi3_path_exists.c.o [21/107] Compiling C object libi3.a.p/libi3_resolve_tilde.c.o [22/107] Compiling C object libi3.a.p/libi3_root_atom_contents.c.o [23/107] Compiling C object libi3.a.p/libi3_safewrappers.c.o ../libi3/safewrappers.c: In function 'sstrdup': ../libi3/safewrappers.c:43:20: warning: implicit declaration of function 'strdup'; did you mean 'sstrdup'? [-Wimplicit-function-declaration] 43 | char *result = strdup(str); | ^~~~~~ | sstrdup ../libi3/safewrappers.c:43:20: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] ../libi3/safewrappers.c: In function 'sstrndup': ../libi3/safewrappers.c:50:20: warning: implicit declaration of function 'strndup'; did you mean 'sstrndup'? [-Wimplicit-function-declaration] 50 | char *result = strndup(str, size); | ^~~~~~~ | sstrndup ../libi3/safewrappers.c:50:20: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] ../libi3/safewrappers.c: In function 'sasprintf': ../libi3/safewrappers.c:61:19: warning: implicit declaration of function 'vasprintf'; did you mean 'sasprintf'? [-Wimplicit-function-declaration] 61 | if ((result = vasprintf(strp, fmt, args)) == -1) | ^~~~~~~~~ | sasprintf ../libi3/safewrappers.c: In function 'strcasecmp_nullable': ../libi3/safewrappers.c:126:12: warning: implicit declaration of function 'strcasecmp'; did you mean 'g_strcasecmp'? [-Wimplicit-function-declaration] 126 | return strcasecmp(a, b); | ^~~~~~~~~~ | g_strcasecmp [24/107] Compiling C object libi3.a.p/libi3_string.c.o [25/107] Compiling C object libi3.a.p/libi3_ucs2_conversion.c.o ../libi3/ucs2_conversion.c: In function 'convert_ucs2_to_utf8': ../libi3/ucs2_conversion.c:44:51: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 44 | size_t rc = iconv(utf8_conversion_descriptor, (char **)&text, | ^~~~~~~~~~~~~~ | | | char ** In file included from ../libi3/ucs2_conversion.c:11: /home/pbulk/build/wm/i3/work/.buildlink/include/iconv.h:82:48: note: expected 'const char **' but argument is of type 'char **' 82 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ ../libi3/ucs2_conversion.c: In function 'convert_utf8_to_ucs2': ../libi3/ucs2_conversion.c:91:51: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 91 | size_t rc = iconv(ucs2_conversion_descriptor, &input, &input_size, | ^~~~~~ | | | char ** /home/pbulk/build/wm/i3/work/.buildlink/include/iconv.h:82:48: note: expected 'const char **' but argument is of type 'char **' 82 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ [26/107] Compiling C object libi3.a.p/libi3_nonblock.c.o [27/107] Compiling C object libi3.a.p/libi3_screenshot_wallpaper.c.o [28/107] Compiling C object libi3.a.p/libi3_is_background_set.c.o [29/107] Linking static target libi3.a [30/107] Generating command_parser with a custom command [31/107] Generating config_parser with a custom command [32/107] Compiling C object i3.p/src_assignments.c.o [33/107] Compiling C object i3.p/src_bindings.c.o ../src/bindings.c: In function 'configure_binding': ../src/bindings.c:70:36: warning: implicit declaration of function 'strncasecmp'; did you mean 'g_strncasecmp'? [-Wimplicit-function-declaration] 70 | new_binding->input_type = (strncasecmp(input_code, "button", (sizeof("button") - 1)) == 0 | ^~~~~~~~~~~ | g_strncasecmp ../src/bindings.c: In function 'binding_same_key': ../src/bindings.c:739:9: warning: implicit declaration of function 'strcasecmp'; did you mean 'g_strcasecmp'? [-Wimplicit-function-declaration] 739 | strcasecmp(a->symbol, b->symbol) != 0) { | ^~~~~~~~~~ | g_strcasecmp ../src/bindings.c: In function 'fill_rmlvo_from_root': ../src/bindings.c:922:25: warning: implicit declaration of function 'strnlen'; did you mean 'strlen'? [-Wimplicit-function-declaration] 922 | const int len = strnlen(walk, remaining); | ^~~~~~~ | strlen [34/107] Compiling C object i3.p/src_click.c.o ../src/click.c: In function 'tiling_resize_for_border': ../src/click.c:44:16: warning: 'search_direction' may be used uninitialized [-Wmaybe-uninitialized] 44 | bool res = resize_find_tiling_participants(&first, &second, search_direction, false); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/click.c:28:17: note: 'search_direction' was declared here 28 | direction_t search_direction; | ^~~~~~~~~~~~~~~~ [35/107] Compiling C object i3.p/src_commands.c.o ../src/commands.c: In function 'cmd_move_con_to_workspace_name': ../src/commands.c:351:9: warning: implicit declaration of function 'strncasecmp'; did you mean 'g_strncasecmp'? [-Wimplicit-function-declaration] 351 | if (strncasecmp(name, "__", strlen("__")) == 0) { | ^~~~~~~~~~~ | g_strncasecmp ../src/commands.c: In function 'user_output_names_add': ../src/commands.c:1035:35: warning: implicit declaration of function 'strcasecmp'; did you mean 'g_strcasecmp'? [-Wimplicit-function-declaration] 1035 | const bool get_non_primary = (strcasecmp("nonprimary", name) == 0); | ^~~~~~~~~~ | g_strcasecmp ../src/commands.c: In function 'cmd_restart': ../src/commands.c:1738:9: warning: implicit declaration of function 'setenv'; did you mean 'getenv'? [-Wimplicit-function-declaration] 1738 | setenv("_I3_RESTART_FD", fdstr, 1); | ^~~~~~ | getenv ../src/commands.c: In function 'cmd_focus_direction': ../src/commands.c:1350:9: warning: 'direction' may be used uninitialized [-Wmaybe-uninitialized] 1350 | tree_next(current->con, direction); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/commands.c:1328:17: note: 'direction' was declared here 1328 | direction_t direction; | ^~~~~~~~~ [36/107] Compiling C object i3.p/src_commands_parser.c.o ../src/commands_parser.c: In function 'parse_command': ../src/commands_parser.c:280:21: warning: implicit declaration of function 'strncasecmp'; did you mean 'g_strncasecmp'? [-Wimplicit-function-declaration] 280 | if (strncasecmp(walk, token->name + 1, strlen(token->name) - 1) == 0) { | ^~~~~~~~~~~ | g_strncasecmp [37/107] Compiling C object i3.p/src_con.c.o ../src/con.c: In function 'con_toggle_layout': ../src/con.c:1979:9: warning: implicit declaration of function 'strcasecmp'; did you mean 'g_strcasecmp'? [-Wimplicit-function-declaration] 1979 | if (strcasecmp(toggle_mode, "split") == 0 || strstr(toggle_mode, delim)) { | ^~~~~~~~~~ | g_strcasecmp [38/107] Compiling C object i3.p/src_config.c.o FAILED: i3.p/src_config.c.o gcc -Ii3.p -I. -I.. -I../include -I/opt/pkg/include/startup-notification-1.0 -I/opt/pkg/include -I/opt/pkg/include/yajl -I/opt/pkg/include/cairo -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/fribidi -I/opt/pkg/include/ev -I/opt/pkg/include/gio-unix-2.0 -I/usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Wunused-value -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -MD -MQ i3.p/src_config.c.o -MF i3.p/src_config.c.o.d -o i3.p/src_config.c.o -c ../src/config.c ../src/config.c: In function 'load_configuration': ../src/config.c:251:24: error: 'PATH_MAX' undeclared (first use in this function) 251 | char resolved_path[PATH_MAX] = {'\0'}; | ^~~~~~~~ ../src/config.c:251:24: note: each undeclared identifier is reported only once for each function it appears in ../src/config.c:252:9: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration] 252 | if (realpath(current_configpath, resolved_path) == NULL) { | ^~~~~~~~ ../src/config.c:251:10: warning: unused variable 'resolved_path' [-Wunused-variable] 251 | char resolved_path[PATH_MAX] = {'\0'}; | ^~~~~~~~~~~~~ ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/wm/i3 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/wm/i3