+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/imv-4.4.0/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/imv-4.4.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for imv-4.4.0
cd /home/pbulk/build/graphics/imv/work/imv-v4.4.0 && cd . && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr CMAKE=false CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/local/include\ -I/opt/local/include/freetype2\ -I/opt/local/include/glib-2.0\ -I/opt/local/include/gio-unix-2.0\ -I/opt/local/lib/glib-2.0/include\ -I/usr/include\ -I/opt/local/include/harfbuzz\ -I/opt/local/include/libdrm CPPFLAGS=-I/opt/local/include\ -I/opt/local/include/freetype2\ -I/opt/local/include/glib-2.0\ -I/opt/local/include/gio-unix-2.0\ -I/opt/local/lib/glib-2.0/include\ -I/usr/include\ -I/opt/local/include/harfbuzz\ -I/opt/local/include/libdrm CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/local/include\ -I/opt/local/include/freetype2\ -I/opt/local/include/glib-2.0\ -I/opt/local/include/gio-unix-2.0\ -I/opt/local/lib/glib-2.0/include\ -I/usr/include\ -I/opt/local/include/harfbuzz\ -I/opt/local/include/libdrm 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/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0\ -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0\ -L/opt/local/lib\ -Wl,-R/opt/local/lib\ -lintl\ -liconv\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64 LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/graphics/imv/work/.cwrapper/bin:/home/pbulk/build/graphics/imv/work/.buildlink/bin:/home/pbulk/build/graphics/imv/work/.gcc/bin:/home/pbulk/build/graphics/imv/work/.tools/bin:/opt/local/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/local/bin:/opt/local/bin PREFIX=/opt/local MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/local/etc CXXCPP=cpp HOME=/home/pbulk/build/graphics/imv/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/graphics/imv/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/local X11BASE=/opt/local PKGMANDIR=man PKGINFODIR=info PKGGNUDIR= MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/local/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/local/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/local/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/graphics/imv/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/graphics/imv/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/graphics/imv/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/graphics/imv/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/graphics/imv/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/graphics/imv/work/.buildlink/lib/pkgconfig:/home/pbulk/build/graphics/imv/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/graphics/imv/work/.pkg-config.log PKG_CONFIG_PATH= DL_CFLAGS= DL_LDFLAGS= DL_LIBS= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/graphics/imv/work/.cwrapper/config ninja -j 1 -C output
ninja: Entering directory `output'
[1/45] Compiling C object imv-msg.p/src_binds.c.o
[2/45] Compiling C object imv-msg.p/src_bitmap.c.o
[3/45] Compiling C object imv-msg.p/src_canvas.c.o
[4/45] Compiling C object imv-msg.p/src_commands.c.o
[5/45] Compiling C object imv-msg.p/src_console.c.o
[6/45] Compiling C object imv-msg.p/src_image.c.o
[7/45] Compiling C object imv-msg.p/src_imv.c.o
In function 'read_from_stdin',
    inlined from 'imv_parse_args' at ../src/imv.c:907:37:
../src/imv.c:2037:5: warning: pointer may be used after 'realloc' [-Wuse-after-free]
 2037 |     free(p);
      |     ^~~~~~~
../src/imv.c:2024:35: note: call to 'realloc' here
 2024 |   for (*buffer = NULL; (*buffer = realloc((p = *buffer), len + step));
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[8/45] Compiling C object imv-msg.p/src_ipc.c.o
[9/45] Compiling C object imv-msg.p/src_ipc_common.c.o
[10/45] Compiling C object imv-msg.p/src_keyboard.c.o
[11/45] Compiling C object imv-msg.p/src_list.c.o
[12/45] Compiling C object imv-msg.p/src_log.c.o
[13/45] Compiling C object imv-msg.p/src_navigator.c.o
FAILED: imv-msg.p/src_navigator.c.o 
gcc -Iimv-msg.p -I. -I.. -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/harfbuzz -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2 -I/opt/local/include/pixman-1 -I/opt/local/include/fribidi -I/opt/local/include/libpng16 -I/opt/local/include/libdrm -I/opt/local/include/librsvg-2.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/gio-unix-2.0 -I/usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 '-DIMV_VERSION="4.4.0"' -D_XOPEN_SOURCE=700 -DRSVG_DISABLE_DEPRECATION_WARNINGS -DIMV_USE_ICU -DIMV_BACKEND_FREEIMAGE -DIMV_BACKEND_LIBTIFF -DIMV_BACKEND_LIBPNG -DIMV_BACKEND_LIBJPEG -DIMV_BACKEND_LIBRSVG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -MD -MQ imv-msg.p/src_navigator.c.o -MF imv-msg.p/src_navigator.c.o.d -o imv-msg.p/src_navigator.c.o -c ../src/navigator.c
../src/navigator.c: In function 'imv_navigator_add':
../src/navigator.c:81:22: warning: implicit declaration of function 'scandir' [-Wimplicit-function-declaration]
   81 |     int total_dirs = scandir(path, &dir_list, 0, alphasort);
      |                      ^~~~~~~
../src/navigator.c:81:50: error: 'alphasort' undeclared (first use in this function)
   81 |     int total_dirs = scandir(path, &dir_list, 0, alphasort);
      |                                                  ^~~~~~~~~
../src/navigator.c:81:50: note: each undeclared identifier is reported only once for each function it appears in
../src/navigator.c: In function 'imv_navigator_poll_changed':
../src/navigator.c:313:45: error: '_timestruc_t' {aka 'struct _timespec'} has no member named 'tv_sec'; did you mean '__tv_sec'?
  313 |     time_t file_changed = file_info.st_mtim.tv_sec;
      |                                             ^~~~~~
      |                                             __tv_sec
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/graphics/imv
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/graphics/imv