+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/kitty-0.35.2nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/kitty-0.35.2nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for kitty-0.35.2nb1
cd /home/pbulk/build/x11/kitty/work/kitty-0.35.2 && USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr GO111MODULE=on GOPATH=/home/pbulk/build/x11/kitty/work/.gopath GOPROXY=file:///home/pbulk/build/x11/kitty/work/.goproxy GOCACHE=/home/pbulk/build/x11/kitty/work/.cache/go-build GOTOOLCHAIN=local DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PYTHON=/opt/pkg/bin/python3.12 CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include/harfbuzz\ -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/libdrm\ -I/opt/pkg/include/python3.12 CPPFLAGS=-I/opt/pkg/include/freetype2\ -I/opt/pkg/include\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include/harfbuzz\ -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/libdrm\ -I/opt/pkg/include/python3.12 CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include/harfbuzz\ -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/libdrm\ -I/opt/pkg/include/python3.12 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=-L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -lintl\ -liconv\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64 LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/x11/kitty/work/.cwrapper/bin:/home/pbulk/build/x11/kitty/work/.buildlink/bin:/home/pbulk/build/x11/kitty/work/.gcc/bin:/home/pbulk/build/x11/kitty/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= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/etc/opt/pkg CXXCPP=cpp HOME=/home/pbulk/build/x11/kitty/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/x11/kitty/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\ \ -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\ \ -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/x11/kitty/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/x11/kitty/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/x11/kitty/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/x11/kitty/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/x11/kitty/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/x11/kitty/work/.buildlink/lib/pkgconfig:/home/pbulk/build/x11/kitty/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/x11/kitty/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/x11/kitty/work/.cwrapper/config /opt/pkg/bin/python3.12 setup.py linux-package
Package wayland-protocols was not found in the pkg-config search path.
Perhaps you should add the directory containing `wayland-protocols.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wayland-protocols' not found
wayland-protocols >= 1.17 is required, found version: not found
Disabling building of wayland backend
[1/83] Compiling kitty/screen.c ...
[2/83] Compiling kitty/unicode-data.c ...
[3/83] Compiling [x11] glfw/x11_window.c ...
[4/83] Compiling kitty/glfw.c ...
[5/83] Compiling kitty/graphics.c ...
[6/83] Compiling kitty/child-monitor.c ...
[7/83] Compiling kitty/fonts.c ...
[8/83] Compiling kitty/shaders.c ...
[9/83] Compiling kitty/vt-parser.c ...
[10/83] Compiling kitty/vt-parser.c ...
[11/83] Compiling kitty/state.c ...
[12/83] Compiling [x11] glfw/input.c ...
[13/83] Compiling kitty/mouse.c ...
[14/83] Compiling [x11] glfw/xkb_glfw.c ...
[15/83] Compiling [x11] glfw/window.c ...
[16/83] Compiling kitty/line.c ...
[17/83] Compiling kitty/glfw-wrapper.c ...
[18/83] Compiling kittens/transfer/algorithm.c ...
[19/83] Compiling kitty/freetype.c ...
[20/83] Compiling [x11] glfw/x11_init.c ...
[21/83] Compiling kitty/freetype_render_ui_text.c ...
[22/83] Compiling [x11] glfw/egl_context.c ...
[23/83] Compiling kitty/disk-cache.c ...
[24/83] Compiling [x11] glfw/glx_context.c ...
[25/83] Compiling kitty/line-buf.c ...
[26/83] Compiling kitty/data-types.c ...
[27/83] Compiling kitty/colors.c ...
[28/83] Compiling kitty/history.c ...
[29/83] Compiling kitty/keys.c ...
[30/83] Compiling [x11] glfw/x11_monitor.c ...
[31/83] Compiling [x11] glfw/context.c ...
[32/83] Compiling kitty/crypto.c ...
[33/83] Compiling kitty/fontconfig.c ...
[34/83] Compiling [x11] glfw/ibus_glfw.c ...
[35/83] Compiling kitty/key_encoding.c ...
[36/83] Compiling [x11] glfw/monitor.c ...
[37/83] Compiling [x11] glfw/backend_utils.c ...
glfw/ibus_glfw.c: In function 'get_ibus_address_file_name':
glfw/ibus_glfw.c:285:21: error: 'PATH_MAX' undeclared (first use in this function)
  285 |     static char ans[PATH_MAX];
      |                     ^~~~~~~~
glfw/ibus_glfw.c:285:21: note: each undeclared identifier is reported only once for each function it appears in
glfw/ibus_glfw.c:285:17: warning: unused variable 'ans' [-Wunused-variable]
  285 |     static char ans[PATH_MAX];
      |                 ^~~
glfw/ibus_glfw.c: In function 'read_ibus_address':
glfw/ibus_glfw.c:344:29: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration]
  344 |     int stat_result = fstat(fileno(addr_file), &s);
      |                             ^~~~~~
glfw/ibus_glfw.c: In function 'get_ibus_address_file_name':
glfw/ibus_glfw.c:332:1: warning: control reaches end of non-void function [-Wreturn-type]
  332 | }
      | ^
 done
Compiling [x11] glfw/ibus_glfw.c ...
gcc -MMD -DNDEBUG -I/opt/pkg/include/freetype2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/harfbuzz -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/libdrm -I/opt/pkg/include/python3.12 -D_GLFW_X11 -D_GLFW_BUILD_DLL -Wextra -Wfloat-conversion -Wno-missing-field-initializers -Wall -Wstrict-prototypes -std=c11 -pedantic-errors -Werror -O3 -fwrapv -fstack-protector-strong -pipe -fvisibility=hidden -fno-plt -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/freetype2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/harfbuzz -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/libdrm -I/opt/pkg/include/python3.12 -D_FORTIFY_SOURCE=2 -flto -fcf-protection=full -fPIC -pthread -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -c glfw/ibus_glfw.c -o build/glfw-x11-glfw-ibus_glfw.c.o
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/kitty
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/kitty