+ 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.20.1nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/i3-4.20.1nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for i3-4.20.1nb2
cd /home/pbulk/build/wm/i3/work/i3-4.20.1 && cd . && /usr/bin/env CMAKE=false USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr CC=gcc CFLAGS=-pipe\ -fno-aggressive-loop-optimizations\ -pipe\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include/ev\ -I/opt/pkg/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/usr/include\ -I/opt/pkg/include/harfbuzz CPPFLAGS=-I/opt/pkg/include/ev\ -I/opt/pkg/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/usr/include\ -I/opt/pkg/include/harfbuzz CXX=g++ CXXFLAGS=-pipe\ -fno-aggressive-loop-optimizations\ -pipe\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include/ev\ -I/opt/pkg/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/usr/include\ -I/opt/pkg/include/harfbuzz COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-lgen\ -liconv\ -lsocket\ -L/opt/pkg/lib/ev\ -Wl,-R/opt/pkg/lib/ev\ -L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64 LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/wm/i3/work/.cwrapper/bin:/home/pbulk/build/wm/i3/work/.buildlink/bin:/home/pbulk/build/wm/i3/work/.gcc/bin:/home/pbulk/build/wm/i3/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg CXXCPP=cpp HOME=/home/pbulk/build/wm/i3/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/wm/i3/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/wm/i3/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/wm/i3/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/wm/i3/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/wm/i3/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/wm/i3/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/wm/i3/work/.buildlink/lib/pkgconfig:/home/pbulk/build/wm/i3/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/wm/i3/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/wm/i3/work/.cwrapper/config ninja -j 1 -C output
ninja: Entering directory `output'
[1/105] Generating config.h with a custom command
[2/105] 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/105] Compiling C object libi3.a.p/libi3_create_socket.c.o
[4/105] Compiling C object libi3.a.p/libi3_dpi.c.o
[5/105] Compiling C object libi3.a.p/libi3_draw_util.c.o
[6/105] Compiling C object libi3.a.p/libi3_fake_configure_notify.c.o
[7/105] Compiling C object libi3.a.p/libi3_font.c.o
../libi3/font.c: In function 'predict_text_width':
../libi3/font.c:469:1: warning: control reaches end of non-void function [-Wreturn-type]
  469 | }
      | ^
[8/105] Compiling C object libi3.a.p/libi3_format_placeholders.c.o
[9/105] Compiling C object libi3.a.p/libi3_get_colorpixel.c.o
[10/105] Compiling C object libi3.a.p/libi3_get_config_path.c.o
[11/105] 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/105] Compiling C object libi3.a.p/libi3_get_mod_mask.c.o
[13/105] 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/105] Compiling C object libi3.a.p/libi3_get_visualtype.c.o
[15/105] Compiling C object libi3.a.p/libi3_g_utf8_make_valid.c.o
[16/105] Compiling C object libi3.a.p/libi3_ipc_connect.c.o
[17/105] Compiling C object libi3.a.p/libi3_ipc_recv_message.c.o
[18/105] Compiling C object libi3.a.p/libi3_ipc_send_message.c.o
[19/105] Compiling C object libi3.a.p/libi3_is_debug_build.c.o
[20/105] Compiling C object libi3.a.p/libi3_path_exists.c.o
[21/105] Compiling C object libi3.a.p/libi3_resolve_tilde.c.o
[22/105] Compiling C object libi3.a.p/libi3_root_atom_contents.c.o
[23/105] 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/105] Compiling C object libi3.a.p/libi3_string.c.o
[25/105] 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:83:48: note: expected 'const char **' but argument is of type 'char **'
   83 | 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 **
In file included from ../libi3/ucs2_conversion.c:11:
/home/pbulk/build/wm/i3/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **'
   83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
      |                                  ~~~~~~~~~~~~~~^~~~~
[26/105] Compiling C object libi3.a.p/libi3_nonblock.c.o
[27/105] Compiling C object libi3.a.p/libi3_screenshot_wallpaper.c.o
[28/105] Compiling C object libi3.a.p/libi3_is_background_set.c.o
[29/105] Linking static target libi3.a
[30/105] Generating command_parser with a custom command
[31/105] Generating config_parser with a custom command
[32/105] Compiling C object i3.p/src_assignments.c.o
[33/105] 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:918:25: warning: implicit declaration of function 'strnlen'; did you mean 'strlen'? [-Wimplicit-function-declaration]
  918 |         const int len = strnlen(walk, remaining);
      |                         ^~~~~~~
      |                         strlen
[34/105] Compiling C object i3.p/src_click.c.o
[35/105] 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 'cmd_move_con_to_output':
../src/commands.c:1079:17: warning: implicit declaration of function 'strcasecmp'; did you mean 'g_strcasecmp'? [-Wimplicit-function-declaration]
 1079 |             if (strcasecmp(output_primary_name(current_output), uo->name) == 0) {
      |                 ^~~~~~~~~~
      |                 g_strcasecmp
../src/commands.c: In function 'cmd_restart':
../src/commands.c:1720:9: warning: implicit declaration of function 'setenv'; did you mean 'getenv'? [-Wimplicit-function-declaration]
 1720 |         setenv("_I3_RESTART_FD", fdstr, 1);
      |         ^~~~~~
      |         getenv
../src/commands.c: In function 'parse_direction':
../src/commands.c:422:1: warning: control reaches end of non-void function [-Wreturn-type]
  422 | }
      | ^
[36/105] 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/105] Compiling C object i3.p/src_con.c.o
../src/con.c: In function 'con_toggle_layout':
../src/con.c:1898:9: warning: implicit declaration of function 'strcasecmp'; did you mean 'g_strcasecmp'? [-Wimplicit-function-declaration]
 1898 |     if (strcasecmp(toggle_mode, "split") == 0 || strstr(toggle_mode, delim)) {
      |         ^~~~~~~~~~
      |         g_strcasecmp
../src/con.c: In function 'con_orientation':
../src/con.c:1500:1: warning: control reaches end of non-void function [-Wreturn-type]
 1500 | }
      | ^
../src/con.c: In function 'con_minimum_size':
../src/con.c:2080:1: warning: control reaches end of non-void function [-Wreturn-type]
 2080 | }
      | ^
[38/105] 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/pixman-1 -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -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 -O0 -Wunused-value -D_GNU_SOURCE -pipe -fno-aggressive-loop-optimizations -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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:242:24: error: 'PATH_MAX' undeclared (first use in this function)
  242 |     char resolved_path[PATH_MAX] = {'\0'};
      |                        ^~~~~~~~
../src/config.c:242:24: note: each undeclared identifier is reported only once for each function it appears in
../src/config.c:243:9: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration]
  243 |     if (realpath(current_configpath, resolved_path) == NULL) {
      |         ^~~~~~~~
../src/config.c:242:10: warning: unused variable 'resolved_path' [-Wunused-variable]
  242 |     char resolved_path[PATH_MAX] = {'\0'};
      |          ^~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/wm/i3
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/wm/i3